What’s Vulnerable › Vulnerabilities
CVE-2024-23333: LAM vulnerable to Authenticated Remote Code Execution
- Severity: medium (CVSS 6.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 17.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-03-18 · updated 2026-06-17
- Weakness: CWE-74
Description
LDAP Account Manager (LAM) is a webfrontend for managing entries stored in an LDAP directory. LAM's log configuration allows to specify arbitrary paths for log files. Prior to version 8.7, an attacker could exploit this by creating a PHP file and cause LAM to log some PHP code to this file. When the file is then accessed via web the code would be executed. The issue is mitigated by the following: An attacker needs to know LAM's master configuration password to be able to change the main settings; and the webserver needs write access to a directory that is accessible via web. LAM itself does not provide any such directories. The issue has been fixed in 8.7. As a workaround, limit access to LAM configuration pages to authorized users.
Affected products
- ldap-account-manager Ldap Account Manager: before 8.7 — fixed in 8.7
How to fix
Upgrade to a fixed version: ldap-account-manager Ldap Account Manager 8.7. Check the vendor advisory for mitigations.
References
- https://github.com/LDAPAccountManager/lam/releases/tag/8.7
- https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-fm9w-7m7v-wxqv
- https://github.com/LDAPAccountManager/lam/releases/tag/8.7
- https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-fm9w-7m7v-wxqv
Get alerted when CVE-2024-23333 or the next vulnerability affects your stack