Incorrect Default Permissions in ldap-account-manager
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-863.
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 the tmp directory, which is accessible by /lam/tmp/, allows interpretation of .php (and .php5/.php4/.phpt/etc) files. An attacker capable of writing files under www-data privileges can write a web-shell into this directory, and gain a Code Execution on the host. This issue has been fixed in version 8.0. Users unable to upgrade should disallow executing PHP scripts in (/var/lib/ldap-account-manager/)tmp directory.
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-31087
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-2022-13130 Incorrect Regular Expressions in ldap-account-manager CVSS 3.1HIGH 8.8
- 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
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences