CVE-2023-1055
Medium · 5.5CVSS
5.5
EPSS
0.2%
Published
Feb 27, 2023
CISA due date
—
Cloudanix analysis
A bug in directory server software can let someone already logged into the computer see other users' password hashes, which could help them try to break into accounts.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- Information Disclosure
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw causes LDAP in RHDS to incorrectly decode the userPassword attribute instead of userCertificate during entry browsing, exposing password hashes to local users inspecting cockpit-389-ds processes.
Why it matters to the business
Local attackers on affected hosts can obtain directory server password hashes, enabling offline cracking and potential compromise of user accounts and authentication data with low exploitation probability indicated by stable low EPSS over 1327 days since 2023-02-27 publication.
How an attack unfolds
An attacker with a local account on a host running RHDS and cockpit-389-ds lists processes to identify the directory server, then observes or triggers LDAP entry browsing operations that leak hashed passwords due to the attribute decoding error.
How to fix it
Apply patches for Red Hat Directory Server 11 and 12 when released by the vendor; no fixed versions currently available. Restrict unnecessary local access and monitor official Red Hat/Fedora advisories for updates.
How to confirm the fix worked
Confirm that LDAP entry browsing no longer mishandles userPassword decoding; test by inspecting processes and verifying absence of password hash leakage in cockpit-389-ds output on updated systems.
Typical attack path
- Gain local account access on the host running cockpit-389-ds
- Enumerate processes to locate 389-ds instances
- Trigger LDAP operations that browse entries
- Extract exposed userPassword hashes from process inspection or memory
How to detect it
Examine system and process logs for activity involving cockpit-389-ds or 389-ds instances; look for evidence of local enumeration or LDAP attribute access that could expose password data.
What your security team should do
- Prioritize monitoring for RHDS patches given the local information disclosure risk
- Limit local user access to directory server hosts
- Disable cockpit-389-ds interface if not essential
- Review process monitoring and memory protections on affected systems
The record
A flaw was found in RHDS 11 and RHDS 12. While browsing entries LDAP tries to decode the userPassword attribute instead of the userCertificate attribute which could lead into sensitive information leaked. An attacker with a local account where the cockpit-389-ds is running can list the processes and display the hashed passwords. The highest threat from this vulnerability is to data confidentiality.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | 389-ds-base | 0 | No fix |
| Debian:12 | 389-ds-base | 0 | No fix |
| Debian:13 | 389-ds-base | 0 | 2.3.4+dfsg1-1 |
| Red Hat:directory_server:11.6::el8 | 389-ds-base | 0 | 0:1.4.3.34-1.module+el8dsrv+18380+8350b80e |
| Red Hat:directory_server:11.6::el8 | 389-ds-base-debuginfo | 0 | 0:1.4.3.34-1.module+el8dsrv+18380+8350b80e |
| Red Hat:directory_server:11.6::el8 | 389-ds-base-debugsource | 0 | 0:1.4.3.34-1.module+el8dsrv+18380+8350b80e |
| Red Hat:directory_server:11.6::el8 | 389-ds-base-devel | 0 | 0:1.4.3.34-1.module+el8dsrv+18380+8350b80e |
| Red Hat:directory_server:11.6::el8 | 389-ds-base-legacy-tools | 0 | 0:1.4.3.34-1.module+el8dsrv+18380+8350b80e |
| Red Hat:directory_server:11.6::el8 | 389-ds-base-legacy-tools-debuginfo | 0 | 0:1.4.3.34-1.module+el8dsrv+18380+8350b80e |
| Red Hat:directory_server:11.6::el8 | 389-ds-base-libs | 0 | 0:1.4.3.34-1.module+el8dsrv+18380+8350b80e |
| Red Hat:directory_server:11.6::el8 | 389-ds-base-libs-debuginfo | 0 | 0:1.4.3.34-1.module+el8dsrv+18380+8350b80e |
| Red Hat:directory_server:11.6::el8 | 389-ds-base-snmp | 0 | 0:1.4.3.34-1.module+el8dsrv+18380+8350b80e |
| Red Hat:directory_server:11.6::el8 | 389-ds-base-snmp-debuginfo | 0 | 0:1.4.3.34-1.module+el8dsrv+18380+8350b80e |
| Red Hat:directory_server:11.6::el8 | cockpit-389-ds | 0 | 0:1.4.3.34-1.module+el8dsrv+18380+8350b80e |
| Red Hat:directory_server:11.6::el8 | python3-lib389 | 0 | 0:1.4.3.34-1.module+el8dsrv+18380+8350b80e |
| Red Hat:directory_server:12.1::el9 | 389-ds-base | 0 | 0:2.1.8-1.module+el9dsrv+18377+a10e6f72 |
| Red Hat:directory_server:12.1::el9 | 389-ds-base-debuginfo | 0 | 0:2.1.8-1.module+el9dsrv+18377+a10e6f72 |
| Red Hat:directory_server:12.1::el9 | 389-ds-base-debugsource | 0 | 0:2.1.8-1.module+el9dsrv+18377+a10e6f72 |
| Red Hat:directory_server:12.1::el9 | 389-ds-base-devel | 0 | 0:2.1.8-1.module+el9dsrv+18377+a10e6f72 |
| Red Hat:directory_server:12.1::el9 | 389-ds-base-libs | 0 | 0:2.1.8-1.module+el9dsrv+18377+a10e6f72 |
| Red Hat:directory_server:12.1::el9 | 389-ds-base-libs-debuginfo | 0 | 0:2.1.8-1.module+el9dsrv+18377+a10e6f72 |
| Red Hat:directory_server:12.1::el9 | 389-ds-base-snmp | 0 | 0:2.1.8-1.module+el9dsrv+18377+a10e6f72 |
| Red Hat:directory_server:12.1::el9 | 389-ds-base-snmp-debuginfo | 0 | 0:2.1.8-1.module+el9dsrv+18377+a10e6f72 |
| Red Hat:directory_server:12.1::el9 | cockpit-389-ds | 0 | 0:2.1.8-1.module+el9dsrv+18377+a10e6f72 |
| Red Hat:directory_server:12.1::el9 | python3-lib389 | 0 | 0:2.1.8-1.module+el9dsrv+18377+a10e6f72 |
| Ubuntu:20.04:LTS | 389-ds-base | 0 | No fix |
| Ubuntu:22.04:LTS | 389-ds-base | 0 | No fix |
| Ubuntu:24.04:LTS | 389-ds-base | 0 | No fix |
| Ubuntu:24.10 | 389-ds-base | 0 | No fix |
| Ubuntu:25.04 | 389-ds-base | 0 | No fix |
| Ubuntu:25.10 | 389-ds-base | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | 389-ds-base | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | 389-ds-base | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | 389-ds-base | 0 | No fix |
Related vulnerabilities
- CVE-2024-8445 The fix for CVE-2024-2199 in 389-ds-base was insufficient to cover all scenarios. Also affects 389-ds-base
- CVE-2024-6237 A flaw was found in the 389 Directory Server. Also affects 389-ds-base
- CVE-2024-5953 A denial of service vulnerability was found in the 389-ds-base LDAP server. Also affects 389-ds-base
- CVE-2024-3657 A flaw was found in 389-ds-base. Also affects 389-ds-base
- CVE-2024-2199 A denial of service vulnerability was found in 389-ds-base ldap server. Also affects 389-ds-base
- CVE-2024-1062 A heap overflow flaw was found in 389-ds-base. Also affects 389-ds-base
- CVE-2022-0996 A vulnerability was found in the 389 Directory Server that allows expired passwords to… Also affects 389-ds-base
- CVE-2021-4091 A double-free was found in the way 389-ds-base handles virtual attributes context in… Also affects 389-ds-base