Skip to content

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

MediumCVSS 6.6 EPSS 20.7%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
PHPUbuntuDebian

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.

Upgrade path

10 packages: 3 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
debian/ldap-account-manager(Debian 12) = 8.3-1; = 8.5-1; = 8.6-1; = 8.7-1 +5 more No fix listed No fix yet
ubuntu/ldap-account-manager(Ubuntu 16.04) = 4.9-1; = 5.1-1; = 5.2-1; = 5.2-1ubuntu1 +1 more No fix listed No fix yet
ubuntu/ldap-account-manager(Ubuntu 18.04) = 5.7-1; = 6.1-1; = 6.2-1; All versions No fix listed No fix yet
ubuntu/ldap-account-manager(Ubuntu 20.04) = 6.7-1; All versions No fix listed No fix yet
ubuntu/ldap-account-manager(Ubuntu 22.04) = 7.5-1; = 7.7-1; All versions No fix listed No fix yet
ubuntu/ldap-account-manager(Ubuntu 24.04) = 8.3-1; = 8.5-1; All versions No fix listed No fix yet
debian/ldap-account-manager(Debian 13) < 8.7-1 8.7-1 Fixed
debian/ldap-account-manager(Debian 14) < 8.7-1 8.7-1 Fixed
ldap-account-manager ldap account manager < 8.7 8.7 Fixed
LDAPAccountManager lam = < 8.7 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/ldap-account-manager(Debian:12) All versions No fix listed
debian/ldap-account-manager(Debian:12) = 8.3-1 No fix listed
debian/ldap-account-manager(Debian:12) = 8.5-1 No fix listed
debian/ldap-account-manager(Debian:12) = 8.6-1 No fix listed
debian/ldap-account-manager(Debian:12) = 8.7-1 No fix listed
debian/ldap-account-manager(Debian:12) = 9.0-1 No fix listed
debian/ldap-account-manager(Debian:12) = 9.5.1-1 No fix listed
debian/ldap-account-manager(Debian:12) = 9.6-1 No fix listed
debian/ldap-account-manager(Debian:12) = 9.7-1 No fix listed
debian/ldap-account-manager(Debian:13) < 8.7-1 8.7-1
debian/ldap-account-manager(Debian:14) < 8.7-1 8.7-1
ubuntu/ldap-account-manager(Ubuntu:22.04) All versions No fix listed
LDAPAccountManager lam = < 8.7 No fix listed
ubuntu/ldap-account-manager(Ubuntu:24.04) All versions No fix listed
ldap-account-manager ldap account manager < 8.7 8.7
ubuntu/ldap-account-manager(Ubuntu:16.04) All versions No fix listed
ubuntu/ldap-account-manager(Ubuntu:16.04) = 4.9-1 No fix listed
ubuntu/ldap-account-manager(Ubuntu:16.04) = 5.1-1 No fix listed
ubuntu/ldap-account-manager(Ubuntu:16.04) = 5.2-1 No fix listed
ubuntu/ldap-account-manager(Ubuntu:16.04) = 5.2-1ubuntu1 No fix listed
ubuntu/ldap-account-manager(Ubuntu:18.04) All versions No fix listed
ubuntu/ldap-account-manager(Ubuntu:18.04) = 5.7-1 No fix listed
ubuntu/ldap-account-manager(Ubuntu:18.04) = 6.1-1 No fix listed
ubuntu/ldap-account-manager(Ubuntu:18.04) = 6.2-1 No fix listed
ubuntu/ldap-account-manager(Ubuntu:20.04) All versions No fix listed
Show 5 more
ProductAffected versionsFixed in
ubuntu/ldap-account-manager(Ubuntu:20.04) = 6.7-1 No fix listed
ubuntu/ldap-account-manager(Ubuntu:22.04) = 7.5-1 No fix listed
ubuntu/ldap-account-manager(Ubuntu:22.04) = 7.7-1 No fix listed
ubuntu/ldap-account-manager(Ubuntu:24.04) = 8.3-1 No fix listed
ubuntu/ldap-account-manager(Ubuntu:24.04) = 8.5-1 No fix listed

References