LDAPAccountManager LAM
LAM has Authenticated Local File Inclusion (LFI) in PDF export
LDAP Account Manager (LAM) is a webfrontend for managing entries (e.g. users, groups, DHCP settings) stored in an LDAP directory. Prior to version 9.5, a local file inclusion was detected in the PDF export that allows users to include local PHP files and this way execute code. In combination with GHSA-88hf-2cjm-m9g8 this allows to execute arbitrary code. Users need to login to LAM to exploit this vulnerability. Version 9.5 fixes the issue. Although upgrading is recommended, a workaround would be to make /var/lib/ldap-account-manager/config read-only for the web-server user and delete the PDF profile files (making PDF exports impossible).
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 9.5
Fixed in 9.5
Mitigation
Upgrade lam to 9.5 or later.
References
- Vendor advisory github.com/LDAPAccountManager/lam/security/adv…
- Vendor advisory github.com/LDAPAccountManager/lam/security/adv…
- Release notes github.com/LDAPAccountManager/lam/releases/tag…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.