Description
LDAP Account Manager (LAM) is a webfrontend for managing entries (e.g. users, groups, DHCP settings) stored in an LDAP directory. In versions prior to 8.0 the tmp directory, which is accessible by /lam/tmp/, allows interpretation of .php (and .php5/.php4/.phpt/etc) files. An attacker capable of writing files under www-data privileges can write a web-shell into this directory, and gain a Code Execution on the host. This issue has been fixed in version 8.0. Users unable to upgrade should disallow executing PHP scripts in (/var/lib/ldap-account-manager/)tmp directory.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| LDAPAccountManager | lam | < 8.0 | — |
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.0.1-1 | — |
| Debian 13 | ldap-account-manager | 8.0.1-1 | — |
| Debian 12 | ldap-account-manager | 8.0.1-1 | — |
| Debian 11 | ldap-account-manager | 8.0.1-0+deb11u1 | DSA-5177-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | ldap-account-manager | No fix yet | — |
| Ubuntu 25.10 | 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 | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | ldap-account-manager | No fix yet | — |
Advisories 1
- DSA-5177-1 ldap-account-manager - security update Debian Security (DSA / DLA) · Mar 9, 2026