# CVE-2024-23333: LAM vulnerable to Authenticated Remote Code Execution

- Severity: High 7.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 20.7%, higher than 97% of CVEs (2026-12-01)
- Published: 2024-03-18T21:07:09.513Z
- Modified: 2026-06-17T07:12:36.963Z
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- LDAPAccountManager lam: < 8.7
- ldap-account-manager ldap_account_manager: before 8.7

## Every score

- GitHub_M: CVSS:3.1 7.9 High `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:H`
- NVD: CVSS:3.1 6.6 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-fm9w-7m7v-wxqv> (vendor-advisory)
- <https://github.com/LDAPAccountManager/lam/releases/tag/8.7> (product, release-notes)

## Sources

- CVE List: [CVE-2024-23333](https://www.cve.org/CVERecord?id=CVE-2024-23333), CVE Terms of Use, modified 2024-08-21
- NVD: [CVE-2024-23333](https://nvd.nist.gov/vuln/detail/CVE-2024-23333), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-23333 · Whole record: https://cve.day/CVE-2024-23333.json · Rebuilt by cve.day 2026-11-25T22:58:37.687Z
