Incorrect Regular Expressions in ldap-account-manager
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-434.
Summary
LDAP Account Manager (LAM) is a webfrontend for managing entries (e.g. users, groups, DHCP settings) stored in an LDAP directory. In versions prior to 8.0 incorrect regular expressions allow to upload PHP scripts to config/templates/pdf. This vulnerability could lead to a Remote Code Execution if the /config/templates/pdf/ directory is accessible for remote users. This is not a default configuration of LAM. This issue has been fixed in version 8.0. There are no known workarounds for this issue.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| LDAPAccountManager | lam | before 8.0 | 8.0 | Patch available | CNA |
- lam VendorLDAPAccountManager Affected before 8.0 Fixed in 8.0 Patch available CNA
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ldap-account-manager:ldap_account_manager:*:*:*:*:*:*:*:* | before 8.0 | Vulnerable | LDAPAccountManager |
| cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* | 11.0 | Vulnerable | Debian |
- cpe:2.3:a:ldap-account-manager:ldap_account_manager:*:*:*:*:*:*:*:* Versions before 8.0 Vulnerable ·LDAPAccountManager
- cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Versions 11.0 Vulnerable ·Debian
Remediation
- Fix · CNA lam (LDAPAccountManager) Fixed in 8.0
Timeline
- 2026-10-02 Threatist record created from CVE-2022-31086
References
More LDAPAccountManager Ldap Account Manager vulnerabilities
- TI-2022-13128 Unauthenticated Remote Code Execution in ldap-account-manager CVSS 3.1HIGH 8.1
- TI-2022-08663 Stored XSS and path traversal in LDAPAccountManager/lam CVSS 3.1HIGH 8.1
- TI-2024-15435 LAM vulnerable to Authenticated Remote Code Execution CVSS 3.1HIGH 7.9
- TI-2018-06319 Roland Gruber Softwareentwicklung LDAP Account Manager before 6.3 places a CSRF token in… CVSS 3.0HIGH 8.8
- TI-2026-22238 LAM has Authenticated Local File Inclusion (LFI) in PDF export CVSS 3.1HIGH 8.8
- TI-2026-22239 LAM has incorrect regular expression in PDF export component that allows user to upload files of any type CVSS 3.1HIGH 8.8
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences