Skip to content
OpenAdvisories
High · 7.9 CVE-2024-23333 EUVD-2024-20845

LAM vulnerable to Authenticated Remote Code Execution

Published Mar 18, 2024 · Updated Aug 21, 2024 · 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.

Affected products

VendorProductAffectedFixed
LDAPAccountManager lam < 8.7 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ldap-account-manager 8.7-1 —
Debian 13 ldap-account-manager 8.7-1 —
Debian 12 ldap-account-manager No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS ldap-account-manager No fix yet —
Ubuntu 22.04 LTS ldap-account-manager No fix yet —
Ubuntu 20.04 LTS ldap-account-manager No fix yet —
Ubuntu 18.04 LTS ldap-account-manager No fix yet —
Ubuntu 16.04 LTS ldap-account-manager No fix yet —

References