Arbitrary config values override in lam
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
LDAP Account Manager (LAM) is a php webfrontend for managing entries (e.g. users, groups, DHCP settings) stored in an LDAP directory. In affected versions LAM does not properly sanitize configuration values, that are set via `mainmanage.php` and `confmain.php`. This allows setting arbitrary config values and thus effectively bypassing `mitigation` of CVE-2024-23333/GHSA-fm9w-7m7v-wxqv. Configuration values for the main config or server profiles are set via `mainmanage.php` and `confmain.php`. The values are written to `config.cfg` or `serverprofile.conf` in the format of `settingsName: settingsValue` line-by-line. An attacker can smuggle arbitrary config values in a config file, by inserting a newline into certain config fields, followed by the value. This vulnerability has been addressed in version 9.0. All users are advised to upgrade. There are no known workarounds for this vulnerability.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
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 9.0 | 9.0 | Patch available | CNA |
- lam VendorLDAPAccountManager Affected before 9.0 Fixed in 9.0 Patch available CNA
Remediation
- Fix · CNA lam (LDAPAccountManager) Fixed in 9.0
Timeline
- 2026-10-02 Threatist record created from CVE-2024-52792
References
Other 4
- https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-6cp9-j5r7-xhcc
- https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-fm9w-7m7v-wxqv
- https://github.com/LDAPAccountManager/lam/blob/fd665fef3b222bf8205154b14f676815d2d6ae20/lam/templates/config/mainmanage.php#L263
- https://github.com/LDAPAccountManager/lam/releases/tag/9.0
More LDAPAccountManager 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