Skip to content

CVE-2024-52792 Arbitrary config values override in lam

MediumCVSS 6.5 EPSS 0.71%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
PHPUbuntuDebian

Description

LDAP Account Manager (LAM) is a php webfrontend for managing entries (e.g. users, groups, DHCP settings) stored in an LDAP directory. In affected versions LAM does not properly sanitize configuration values, that are set via mainmanage.php and confmain.php. This allows setting arbitrary config values and thus effectively bypassing mitigation of CVE-2024-23333/GHSA-fm9w-7m7v-wxqv. Configuration values for the main config or server profiles are set via mainmanage.php and confmain.php.
The values are written to config.cfg or serverprofile.conf in the format of settingsName: settingsValue line-by-line.
An attacker can smuggle arbitrary config values in a config file, by inserting a newline into certain config fields, followed by the value. This vulnerability has been addressed in version 9.0. All users are advised to upgrade. There are no known workarounds for this vulnerability.

Upgrade path

7 packages: 2 fixed, 4 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 22.04) All versions No fix listed No fix yet
ubuntu/ldap-account-manager(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/ldap-account-manager(Ubuntu 26.04) All versions No fix listed No fix yet
debian/ldap-account-manager(Debian 13) < 9.0-1 9.0-1 Fixed
debian/ldap-account-manager(Debian 14) < 9.0-1 9.0-1 Fixed
LDAPAccountManager lam = < 9.0 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) < 9.0-1 9.0-1
debian/ldap-account-manager(Debian:14) < 9.0-1 9.0-1
ubuntu/ldap-account-manager(Ubuntu:22.04) All versions No fix listed
LDAPAccountManager lam = < 9.0 No fix listed
ubuntu/ldap-account-manager(Ubuntu:24.04) All versions No fix listed
ubuntu/ldap-account-manager(Ubuntu:26.04) All versions No fix listed

References