
CVE catalog
CVE-2022-31087
ldap-account-manager: CVE-2022-31087
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.44% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ldap-account-manager | sid | 9.7-1 | fixed |
| Debian | ldap-account-manager | forky | 9.7-1 | fixed |
| Debian | ldap-account-manager | trixie | 9.0-1 | fixed |
| Debian | ldap-account-manager | bookworm | 8.3-1 | fixed |
| Ubuntu | ldap-account-manager | 16.04 | 4.9-1 | vulnerable |
| Ubuntu | ldap-account-manager | 16.04 | 5.1-1 | vulnerable |
| Ubuntu | ldap-account-manager | 16.04 | 5.2-1 | vulnerable |
| Ubuntu | ldap-account-manager | 16.04 | 5.2-1ubuntu1 | vulnerable |
| Ubuntu | ldap-account-manager | 18.04 | 5.7-1 | vulnerable |
| Ubuntu | ldap-account-manager | 18.04 | 6.1-1 | vulnerable |
| Ubuntu | ldap-account-manager | 18.04 | 6.2-1 | vulnerable |
| Ubuntu | ldap-account-manager | 20.04 | 6.7-1 | vulnerable |
| Ubuntu | ldap-account-manager | 22.04 | 7.5-1 | vulnerable |
| Ubuntu | ldap-account-manager | 22.04 | 7.7-1 | vulnerable |
| Ubuntu | ldap-account-manager | 25.10 | 9.0-1 | vulnerable |
| Ubuntu | ldap-account-manager | 26.04 | 9.0-1 | vulnerable |
| Ubuntu | ldap-account-manager | 26.04 | 9.0-1build1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ldap-account-manager | source | sid | 8.0.1-1 | not yet assigned | Not reported | Not reported |
| Debian | ldap-account-manager | source | forky | 8.0.1-1 | not yet assigned | Not reported | Not reported |
| Debian | ldap-account-manager | source | trixie | 8.0.1-1 | not yet assigned | Not reported | Not reported |
| Debian | ldap-account-manager | source | bookworm | 8.0.1-1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [ldap-account-manager]Fixed
Details (2)
8.3-1· all · bookwormFixed · Fixed:
8.0.1-1dsa · ldap-account-manager · debian · bookworm
8.3-1· all · bookwormFixed · Fixed:
8.0.1-1dsa · ldap-account-manager · debian · bookworm
Source package: [ldap-account-manager]
Details (2)
8.3-1· all · bookwormFixed · Fixed:
8.0.1-1dsa · ldap-account-manager · debian · bookworm
8.3-1· all · bookwormFixed · Fixed:
8.0.1-1dsa · ldap-account-manager · debian · bookworm
Observed: