CVE-2022-31087
published high CVSS 3.0 · 7.8Incorrect Default Permissions in ldap-account-manager
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| LDAPAccountManager | — | lam< 8.0 | Affected | Not stated | GitHub_M |
| Debian | bullseye | ldap-account-manager | Advisory build | 8.0.1-0+deb11u1 | DSA-5177-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| LDAPAccountManager | lam | < 8.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-74 CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
References
3- https://github.com/LDAPAccountManager/lam/commit/f1d5d04952f39a1b4ea203d3964fa88e1429dfd4
- https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-q8g5-45m4-q95p
- DSA-5177 https://www.debian.org/security/2022/dsa-5177
Provider assertions
3GitHub_M · cna
Incorrect Default Permissions in ldap-account-manager
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 1e12f241d46a4bb5fa6809a4b1e736fcb5ab91338a3fecdfda0589f3176b21e6
- Ingested
- 23 Sep 2026, 08:00:25 UTC
- Source record
- Official CVE record