Vulnerability · Published Mar 18, 2024 · Assigned by GitHub_M

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

High 7.9

In plain English

A high-severity injection in lam from LDAPAccountManager. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 17.8% (higher than 97% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.9High
Exploit odds (30 days)17.8%top 2.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12ldap-account-managerno fix listedDEBIAN-CVE-2024-23333
Debian:13ldap-account-manager8.7-1DEBIAN-CVE-2024-23333
Debian:14ldap-account-manager8.7-1DEBIAN-CVE-2024-23333
Ubuntu:22.04:LTSldap-account-managerno fix listedUBUNTU-CVE-2024-23333
Ubuntu:24.04:LTSldap-account-managerno fix listedUBUNTU-CVE-2024-23333

Affected products (as reported)

VendorProductVersions
LDAPAccountManager lam < 8.7

Weakness: CWE-74 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:H

References