CVE-2022-23942
High · 7.5CVSS
7.5
EPSS
3.4%
Published
Apr 26, 2022
CISA due date
—
Cloudanix analysis
A flaw in Apache Doris could let attackers uncover stored passwords for directory services, risking unauthorized access to user accounts and systems.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- Credential Exposure
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The vulnerability stems from a hardcoded cryptographic key and initialization vector used to encrypt LDAP passwords in Apache Doris versions prior to 1.0.0, enabling unauthorized decryption and exposure of sensitive credentials.
Why it matters to the business
This flaw allows potential exposure of LDAP credentials, which could facilitate unauthorized access to authentication systems and increase risk of data breaches or lateral movement within affected environments.
How an attack unfolds
An attacker with access to the Doris application binaries or configuration files extracts the embedded key and IV, identifies encrypted LDAP password entries, and decrypts them to obtain plaintext credentials for subsequent attacks.
How to fix it
Upgrade Apache Doris to version 1.0.0 or later to eliminate the hardcoded cryptographic material. Additionally, rotate any LDAP credentials that may have been stored under the vulnerable encryption scheme.
How to confirm the fix worked
Verify the deployed version is 1.0.0 or higher. Review configuration and source code to confirm absence of hardcoded key and IV values. Test LDAP integration with new credentials.
Typical attack path
- Access Doris deployment artifacts or source
- Locate and extract hardcoded key/IV
- Identify encrypted LDAP password storage
- Decrypt passwords using extracted key
- Leverage obtained credentials for unauthorized access
How to detect it
Examine application logs for unexpected LDAP queries or authentication events. Review system access logs for unauthorized reads of configuration files containing encrypted passwords. No specific post-exploitation IOCs due to the nature of static credential exposure.
What your security team should do
- Prioritize upgrade to fixed version
- Audit and rotate exposed LDAP passwords
- Monitor for anomalous LDAP authentication attempts
- Implement secrets management best practices
The record
Apache Doris, prior to 1.0.0, used a hardcoded key and IV to initialize the cipher used for ldap password, which may lead to information disclosure.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| PyPI | pydoris | 0 | 1.0.0 |
| Ubuntu:16.04:LTS | doris | 0 | No fix |
| Ubuntu:18.04:LTS | doris | 0 | No fix |
| Ubuntu:20.04:LTS | doris | 0 | No fix |
| Ubuntu:22.04:LTS | doris | 0 | No fix |
| Ubuntu:24.04:LTS | doris | 0 | No fix |
| Ubuntu:24.10 | doris | 0 | No fix |
| Ubuntu:25.04 | doris | 0 | No fix |
| Ubuntu:25.10 | doris | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | doris | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | doris | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | doris | 0 | No fix |
Related vulnerabilities
- CVE-2026-87950 Use of Hard-coded Credentials vulnerability in Drupal SAML SSO - Service Provider allows… CWE-798
- CVE-2026-75940 A vulnerability was reported in Lenovo Health Android Application, distributed… CWE-798
- CVE-2026-17038 DrEryk Gabinet before 11.5.0 uses hard-coded API credentials in its ticket reporting… CWE-798
- CVE-2026-81640 An attacker could derive the camera's Wi-Fi password and connect to its wireless network. CWE-798
- CVE-2026-79740 Dell SCG 5.0 Appliance versions prior to 5.36.00.16 and Dell SCG 5.0 Application versions… CWE-798
- CVE-2026-79950 Dell SCG 5.0 Appliance versions prior to 5.36.00.16 and Dell SCG 5.0 Application versions… CWE-798
- CVE-2026-79738 Dell SCG 5.0 Appliance versions prior to 5.36.00.16 and Dell SCG 5.0 Application versions… CWE-798
- CVE-2026-86464 In the current development version of Eclipse aeriOS, for which no official release has… CWE-798