---
cve: "CVE-2022-31086"
severity: "MEDIUM"
cvss: 6.6
epss: "2.2%"
vendor: "LDAPAccountManager"
kev: false
exploited: false
published: "2022-06-27 20:50:21"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-07T08:15:29+02:00"
---

# CVE-2022-31086

> 6.6 MEDIUM · 🧪 PoC

## Beschreibung

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.

## CVSS-Vektor

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

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Hoch | good |
| PR Privilegien | Hoch | good |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Hoch | bad |

## Patch verfügbar (OSV)

- cb97baae7b1aadffd1b54d0bbcb487a5ca769823 (Commit)
- f1d5d04952f39a1b4ea203d3964fa88e1429dfd4 (Commit)

## Referenzen

- <https://github.com/LDAPAccountManager/lam/commit/f1d5d04952f39a1b4ea203d3964fa88e1429dfd4>
- <https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-q9pc-x84w-982x>
- <https://www.debian.org/security/2022/dsa-5177>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2022-31086) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
