Domain takeover via unsanitized certificate mapping
Published Feb 1, 2023 · Updated Mar 27, 2025
LDAP injection in SSSD 1.15.3 through 2.3.0 allows remote authenticated users to influence certificate-to-account mapping. sss_certmap_get_search_filter inserts expanded certificate subject and issuer values into LDAP filters without escaping LDAP metacharacters. Exploitation requires a nondefault FreeIPA PKINIT certificate-mapping configuration; manipulated results can select an administrator account and enable domain takeover.
Summary
What happened
LDAP injection in SSSD 1.15.3 through 2.3.0 allows remote authenticated users to influence certificate-to-account mapping. sss_certmap_get_search_filter inserts expanded certificate subject and issuer values into LDAP filters without escaping LDAP metacharacters. Exploitation requires a nondefault FreeIPA PKINIT certificate-mapping configuration; manipulated results can select an administrator account and enable domain takeover.
The record
- CVE
- CVE-2022-4254
- Published
- Feb 1, 2023
- Updated
- Mar 27, 2025
- Vendor
- Fedora Project
- Product
- SSSD
- Classifications
- CWE-90, T1078
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 1, 2023CVE publishedPublication date reported by the CVE source.
- Mar 27, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=Affects SSSD 1.15.3, Fixed in SSSD 2.3.1
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- SSSD issue 5135 certificate-filter injection reproductionproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo