Security readout for executives and security teams
Plain-English summary
LDAP Account Manager before 8.0 could let an attacker who already has limited write capability on the server turn a temporary web directory into code execution. This is serious because LAM manages identity data, but the source data describes required prior privileges rather than unauthenticated remote compromise.
Executive priority
Treat this as high priority for identity administration systems, especially internet-facing or shared administrative hosts. Patch or enforce the documented PHP-execution restriction promptly, but prioritize based on whether vulnerable LAM instances exist and whether attackers could gain server-side file-write capability.
Technical view
LAM exposed its tmp directory at /lam/tmp/ and allowed PHP-family files there to be interpreted. With the ability to write files under www-data privileges, an attacker could cause code execution on the host. The issue is fixed in version 8.0 and addressed by Debian DSA-5177.
Likely exposure
Organizations running LDAP Account Manager versions earlier than 8.0 are affected. Debian systems using vulnerable ldap-account-manager packages were covered by DSA-5177. Practical exposure depends on whether an attacker can already write files with the web server user's privileges or chain another weakness to do so.
Exploitation context
The provided sources do not show known active exploitation, and the CVE is not marked KEV. The CVSS vector is local, low complexity, low privileges, and no user interaction, with high confidentiality, integrity, and availability impact once the prerequisite write capability exists.
Researcher notes
The key condition is not simply web access to LAM; sources require the ability to write files under www-data privileges. The vulnerability is best assessed as a post-compromise or chained code-execution risk. No public source in the bundle establishes exploitation in the wild.
Mitigation direction
- Upgrade LDAP Account Manager to version 8.0 or later.
- Apply Debian security updates referenced in DSA-5177 where applicable.
- Disable PHP execution in the LAM tmp directory.
- Review vendor guidance if upgrade timing or packaging differs.
Validation and detection
- Inventory all LAM deployments and record installed versions.
- Confirm no deployment runs a version earlier than 8.0.
- Verify web server configuration blocks PHP execution in the LAM tmp directory.
- Check Debian package status against DSA-5177 where relevant.
- Review local file-write risks involving the web server user.
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-31087 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
- High
- CVSS
- 7.8 (3.0)
- Known Exploited
- No
- Published
Vector: CVSS:3.0/AV:L/AC:L/PR:L/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:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H1.85.9Primary CVE scoreVulnerability scoring details
Base CVSS 3.0 score
7.8HighVector: CVSS:3.0/AV:L/AC:L/PR:L/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-q8g5-45m4-q95pCVE 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.
