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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ldap-account-manager | 8.7-1 | — |
| Debian 13 | ldap-account-manager | 8.7-1 | — |
| Debian 12 | ldap-account-manager | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |