Security readout for executives and security teams
Plain-English summary
CVE-2022-31086 affects LDAP Account Manager before 8.0. A highly privileged user could upload PHP scripts into a PDF template directory because file validation used incorrect regular expressions. Remote code execution is only indicated if that directory is exposed to remote users, which the source says is not LAM’s default configuration.
Executive priority
Prioritize patching if LAM manages production identity data or is internet-facing. The issue is not broadly exploitable by default, but the impact can be severe where the risky directory exposure exists.
Technical view
LAM versions before 8.0 allowed PHP script uploads to config/templates/pdf through incorrect regular expressions. The CVSS vector shows network access, high attack complexity, high privileges required, no user interaction, and high confidentiality, integrity, and availability impact. The issue is fixed in 8.0 and tracked as CWE-74.
Likely exposure
Exposure is mainly LAM deployments below 8.0 where privileged administrative access exists and config/templates/pdf is remotely reachable. Default LAM configuration is less exposed because that directory is not normally accessible to remote users.
Exploitation context
The source bundle does not show CISA KEV listing or confirmed active exploitation. Practical abuse requires high privileges and a non-default web-accessible PDF template directory, but successful abuse could become server-side code execution.
Researcher notes
Focus validation on version, privilege model, and web exposure of config/templates/pdf. Avoid assuming exploitability from version alone; the advisory conditions remote code execution on remote access to that directory, which is not the default configuration.
Mitigation direction
- Upgrade LDAP Account Manager to version 8.0 or later.
- Apply Debian DSA-5177 updates where Debian packages are used.
- Confirm config/templates/pdf is not remotely accessible.
- Review vendor guidance; sources state no known workarounds.
Validation and detection
- Inventory all LDAP Account Manager instances and package versions.
- Flag any LAM deployment below version 8.0.
- Verify web server routing does not expose config/templates/pdf.
- Review the PDF template directory for unexpected PHP files.
- Check privileged LAM account activity around template uploads.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-74: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupExecution behavior lookup
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
Open ATT&CK lookupCVE-2022-31086 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Medium
- CVSS
- 6.6 (3.0)
- Known Exploited
- No
- Published
Vector: CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H0.75.9Primary CVE scoreVulnerability scoring details
Base CVSS 3.0 score
6.6MediumVector: CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/LDAPAccountManager/lam/commit/f1d5d04952f39a1b4ea203d3964fa88e1429dfd4CVE reference · x_refsource_MISC
- https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-q9pc-x84w-982xCVE reference · x_refsource_CONFIRM
- DSA-5177CVE reference · vendor-advisory, x_refsource_DEBIAN
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
