LiveActive security incident?Get immediate response
CVE Record

CVE-2022-31086: Incorrect Regular Expressions in ldap-account-manager

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.

MediumCVSS 6.6Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

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.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

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 · low confidence lookup

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 lookup
description · low confidence lookup

Execution 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 lookup
cve · low confidence lookup

CVE-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
Vulnerability profileCVE Program record
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

Official CVE source material

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.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We 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.

ScoreVersionSeverityVectorExploitImpactSource
6.6CVSS 3.0MediumCVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H0.75.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.0 score

6.6Medium
CVSS 3.0 vector shape for CVE-2022-31086Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LDAPAccountManagerlam< 8.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-74 · source CWE mapping

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.