CVE-2024-23333LAM vulnerable to Authenticated Remote Code Execution
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | ldap-account-manager | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | ldap-account-manager | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | ldap-account-manager | Under investigation | UBUNTU-CVE-2024-23333 | |
| Ubuntu 22.04 | ldap-account-manager | Under investigation | UBUNTU-CVE-2024-23333 | |
| Ubuntu 20.04 | ldap-account-manager | Fix pending | UBUNTU-CVE-2024-23333 | |
| Ubuntu 18.04 | ldap-account-manager | Fix pending | UBUNTU-CVE-2024-23333 | |
| Ubuntu 16.04 | ldap-account-manager | Fix pending | UBUNTU-CVE-2024-23333 | |
| Debian 14 | ldap-account-manager | Fixed | 8.7-1 | DEBIAN-CVE-2024-23333 |
| Debian 13 | ldap-account-manager | Fixed | 8.7-1 | DEBIAN-CVE-2024-23333 |
| Debian 12 | ldap-account-manager | Fix pending | DEBIAN-CVE-2024-23333 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- LDAPAccountManager lam: affected: < 8.7
References
- https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-fm9w-7m7v-wxqv
- https://github.com/LDAPAccountManager/lam/releases/tag/8.7
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.