The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-24407

CVE-2022-24407: Cyrus-SASL SQL Injection Vulnerability

CVE-2022-24407 is a SQL injection vulnerability in Cyrus-SASL caused by improper password escaping in SQL statements. This flaw affects versions 2.1.17 through 2.1.27 and allows database manipulation attacks.

Published: February 17, 2026

CVE-2022-24407 Overview

CVE-2022-24407 is a SQL Injection vulnerability affecting Cyrus SASL versions 2.1.17 through 2.1.27. The vulnerability exists in the plugins/sql.c file, where the password parameter is not properly escaped before being used in SQL INSERT or UPDATE statements. This allows authenticated attackers to inject malicious SQL commands through specially crafted password values, potentially leading to unauthorized data access, modification, or deletion in backend databases.

Critical Impact

Authenticated attackers can exploit this SQL injection flaw to compromise database confidentiality, integrity, and availability through malicious SQL statements injected via password fields.

Affected Products

  • Cyrus IMAP Cyrus-SASL 2.1.17 through 2.1.27
  • Debian Linux 9.0, 10.0, 11.0
  • Fedora 34, 35, 36
  • NetApp Active IQ Unified Manager for VMware vSphere
  • NetApp ONTAP Select Deploy Administration Utility
  • Oracle Communications Cloud Native Core Console 22.2.0
  • Oracle Communications Cloud Native Core Network Function Cloud Native Environment 22.2.0
  • Oracle Communications Cloud Native Core Security Edge Protection Proxy 22.1.1

Discovery Timeline

  • February 24, 2022 - CVE-2022-24407 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2022-24407

Vulnerability Analysis

This vulnerability stems from improper input validation in the Cyrus SASL SQL auxiliary property plugin. The plugins/sql.c component constructs dynamic SQL queries using user-supplied password values without proper sanitization or parameterized queries. When SASL is configured to use a SQL backend for authentication data storage, password values are directly concatenated into INSERT or UPDATE SQL statements during authentication operations.

The lack of proper escaping allows an attacker with valid low-privilege credentials to craft password values containing SQL metacharacters that break out of the intended query context. This enables arbitrary SQL command execution against the backend database with the privileges of the SASL database user.

Root Cause

The root cause is a classic SQL injection vulnerability (CWE-89) where user-controlled input (the password field) is incorporated into SQL statements without adequate sanitization. The plugins/sql.c module fails to use prepared statements or proper escaping functions when building SQL queries, allowing SQL metacharacters in password values to alter the query's intended structure and logic.

Attack Vector

The attack requires network access and low-privilege authentication to the target system. An attacker can exploit this vulnerability by:

  1. Establishing a connection to a service using Cyrus SASL with SQL backend authentication
  2. Submitting an authentication request with a maliciously crafted password containing SQL injection payloads
  3. The unescaped password value is incorporated into SQL INSERT or UPDATE statements
  4. The injected SQL commands execute with database user privileges

The vulnerability is exploitable through any application or service that uses the affected Cyrus SASL SQL plugin for authentication, including mail servers, LDAP proxies, and other network services that rely on SASL authentication.

The SQL injection occurs in the password handling routines where dynamic SQL query construction takes place. When the SQL auxiliary property plugin processes authentication requests, it builds INSERT or UPDATE statements to manage user credentials in the database. Without proper escaping, a password value like password'; DROP TABLE users; -- would break out of the intended query context and execute arbitrary SQL commands. For detailed technical analysis, refer to the Cyrus SASL Release Notes.

Detection Methods for CVE-2022-24407

Indicators of Compromise

  • Unusual SQL error messages in application logs related to SASL authentication
  • Database audit logs showing unexpected INSERT, UPDATE, DELETE, or DROP statements during authentication events
  • Authentication failures with anomalous password field contents containing SQL metacharacters
  • Unexpected database modifications or data exfiltration patterns

Detection Strategies

  • Monitor database query logs for SQL syntax errors or anomalous query patterns during SASL authentication
  • Implement database activity monitoring to detect unauthorized data access or modifications
  • Review application logs for authentication attempts with suspicious password patterns containing characters like ', ;, --, or UNION
  • Deploy network intrusion detection rules to identify SQL injection payloads in SASL authentication traffic

Monitoring Recommendations

  • Enable verbose logging on SASL-enabled services and correlate with database audit logs
  • Configure database alerting for privilege escalation attempts or schema modifications
  • Implement file integrity monitoring on Cyrus SASL configuration files and plugin directories
  • Monitor for bulk data access patterns that may indicate successful exploitation and data exfiltration

How to Mitigate CVE-2022-24407

Immediate Actions Required

  • Upgrade Cyrus SASL to version 2.1.28 or later, which includes the security fix
  • If immediate patching is not possible, consider disabling the SQL auxiliary property plugin temporarily
  • Audit database user permissions used by SASL to ensure minimal required privileges
  • Review database logs for evidence of exploitation attempts

Patch Information

The vulnerability is addressed in Cyrus SASL version 2.1.28. Organizations should upgrade to this version or apply vendor-specific patches as available:

  • Cyrus IMAP: Upgrade to cyrus-sasl-2.1.28 from the official release
  • Debian: Apply updates per DSA-5087 and Debian LTS Announcement
  • Fedora: Apply updates from Fedora Package Announcements
  • NetApp: Refer to the NetApp Security Advisory
  • Oracle: Apply patches per Oracle July 2022 Security Alerts

Workarounds

  • Disable the SQL auxiliary property plugin if not required for operations
  • Restrict network access to services using Cyrus SASL SQL authentication to trusted sources only
  • Implement a web application firewall or network-level filtering to detect and block SQL injection patterns
  • Configure the database user account used by SASL with minimal privileges (read-only where possible)
bash
# Check installed Cyrus SASL version
saslpluginviewer -c

# For Debian/Ubuntu systems, update to patched version
sudo apt update && sudo apt upgrade libsasl2-2 libsasl2-modules-sql

# For RHEL/CentOS/Fedora systems
sudo dnf update cyrus-sasl cyrus-sasl-sql

# Verify the update
rpm -q cyrus-sasl || dpkg -l libsasl2-2

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechCyrus Sasl

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.85%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-89
  • Technical References
  • GitHub Cyrus SASL Release Notes

  • Debian LTS Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • NetApp Security Advisory

  • Debian Security Advisory DSA-5087
  • Vendor Resources
  • Openwall OSS Security List

  • Cyrus SASL Release Notes

  • Oracle July 2022 Security Alerts
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English