CVE-2022-31087
Fixed in a distro release EPSS <1%CVSS 7.8
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.
Products: LDAPAccountManager lam
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 11 | ldap-account-manager | 8.0.1-0+deb11u1 |
| Debian 12 | ldap-account-manager | 8.0.1-1 |
| Debian 13 | ldap-account-manager | 8.0.1-1 |
| Debian 14 | ldap-account-manager | 8.0.1-1 |
| Ubuntu 16.04 LTS | ldap-account-manager | no fix |
| Ubuntu 18.04 LTS | ldap-account-manager | no fix |
| Ubuntu 20.04 LTS | ldap-account-manager | no fix |
| Ubuntu 22.04 LTS | ldap-account-manager | no fix |
| Ubuntu 25.10 | ldap-account-manager | no fix |
| Ubuntu 26.04 LTS | ldap-account-manager | no fix |