Stored XSS and path traversal in LDAPAccountManager/lam
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
LDAP Account Manager (LAM) is an open source web frontend for managing entries stored in an LDAP directory. The profile editor tool has an edit profile functionality, the parameters on this page are not properly sanitized and hence leads to stored XSS attacks. An authenticated user can store XSS payloads in the profiles, which gets triggered when any other user try to access the edit profile page. The pdf editor tool has an edit pdf profile functionality, the logoFile parameter in it is not properly sanitized and an user can enter relative paths like ../../../../../../../../../../../../../usr/share/icons/hicolor/48x48/apps/gvim.png via tools like burpsuite. Later when a pdf is exported using the edited profile the pdf icon has the image on that path(if image is present). Both issues require an attacker to be able to login to LAM admin interface. The issue is fixed in version 7.9.1.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- 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 7.9.1 | 7.9.1 | Patch available | CNA |
- lam VendorLDAPAccountManager Affected before 7.9.1 Fixed in 7.9.1 Patch available CNA
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ldap-account-manager:ldap_account_manager:*:*:*:*:*:*:*:* | before 7.9.1 | 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 7.9.1 Vulnerable ·LDAPAccountManager
- cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Versions 11.0 Vulnerable ·Debian
Remediation
- Fix · CNA lam (LDAPAccountManager) Fixed in 7.9.1
Timeline
- 2026-10-02 Threatist record created from CVE-2022-24851
References
More LDAPAccountManager Ldap Account Manager vulnerabilities
- TI-2022-13128 Unauthenticated Remote Code Execution in ldap-account-manager 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
- 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