CVE-2022-31086
published medium CVSS 3.0 · 6.6Incorrect Regular Expressions 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 incorrect regular expressions allow to upload PHP scripts to config/templates/pdf. This vulnerability could lead to a Remote Code Execution if the /config/templates/pdf/ directory is accessible for remote users. This is not a default configuration of LAM. This issue has been fixed in version 8.0. There are no known workarounds for this issue.
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
- 6.6 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.0/AV:N/AC:H/PR:H/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-q9pc-x84w-982x
- DSA-5177 https://www.debian.org/security/2022/dsa-5177
Provider assertions
3GitHub_M · cna
Incorrect Regular Expressions in ldap-account-manager
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- cb84e0c1cd5060d2966d9aa956ed32a52c24262d459f0dae3e9a118f5f5d712d
- Ingested
- 23 Sep 2026, 08:00:25 UTC
- Source record
- Official CVE record