Arbitrary file upload in Ldap-Account-Manager Ldap Account Manager
CVE-2022-31086
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.
EPSS: 0.022 (80.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Ldap-account-manager Ldap_account_manager
- Ldapaccountmanager Lam — versions < 8.0
- Debian Debian_linux — versions 11.0
Weakness classification (CWE)
References
- security-advisories@github.com (Patch, Third Party Advisory, x_refsource_MISC)
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory)
- security-advisories@github.com (vendor-advisory, Third Party Advisory, x_refsource_DEBIAN)
Frequently asked questions
- What is CVE-2022-31086?
- CVE-2022-31086 is a high-severity vulnerability in Ldap-Account-Manager Ldap Account Manager, classified under Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection). CVSS score: 8.8/10. Published 2022-06-27.
- How severe is CVE-2022-31086?
- High severity. CVSS v3 base score is 8.8 out of 10.