CVE-2022-31087
highpriority · track · 31OT risk · elevatedEPSS 0.004 · 38 %ileEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
- ldap-account-manager ldap account manager< 8.0nvdUScpe:2.3:a:ldap-account-manager:ldap_account_manager:*:*:*:*:*:*:*:*
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (15)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-31087/cnnvd
- https://github.com/LDAPAccountManager/lam/commit/f1d5d04952f39a1b4ea203d3964fa88e1429dfd4cnnvd
- https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-q8g5-45m4-q95pcnnvd
- https://packetstormsecurity.com/files/169377/Debian-Security-Advisory-5177-1.htmlcnnvd
- https://vigilance.fr/vulnerability/LDAP-Account-Manager-five-vulnerabilities-38734cnnvd
- https://www.auscert.org.au/bulletins/ESB-2022.3283cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2022070745cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2022070746cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan