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.
Conclusion & alert: CVE-2022-31087 is rated Moderate Risk (45.7/100): CVSS High severity, with low exploitation likelihood (EPSS 0.19%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-11-21 | 0.14% | 0.19% | +0.05% |
| 2 | 2025-11-18 | 0.19% | 0.14% | -0.05% |
| 3 | 2025-07-15 | — | 0.19% | — |
Full EPSS history (12 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.8 | 3.1 | HIGH |
|
1.8 | 5.9 | [email protected] |
| 7.8 | 3.0 | HIGH |
|
1.8 | 5.9 | [email protected] |
| 7.2 | 2.0 | HIGH |
|
3.9 | 10.0 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2022-31087 not yet assigned priority: Debian including 1 source packages (ldap-account-manager), 4 status rows across 4 suites (bookworm, bullseye, sid, trixie): resolved 4. | https://security-tracker.debian.org/tracker/CVE-2022-31087 |
ubuntu
|
medium | CVE-2022-31087 medium priority: Ubuntu including 1 source packages (ldap-account-manager), 14 status rows across 14 suites (bionic, focal, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): needs-triage 5, not-affected 5, ignored 3, released 1. | https://ubuntu.com/security/CVE-2022-31087 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| ldap-account-manager | ldap_account_manager | < 8.0 | cpe:2.3:a:ldap-account-manager:ldap_account_manager:*:*:*:*:*:*:*:* |
| debian | debian_linux | 11.0 | cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/LDAPAccountManager/lam/commit/f1d5d04952f39a1b4ea203d3964fa88e1429dfd4 | Patch Third Party Advisory |
| https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-q8g5-45m4-q95p | Third Party Advisory |
| https://www.debian.org/security/2022/dsa-5177 | Third Party Advisory |