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.
Published · last modified .
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.
EPSS exploit prediction
EPSS 0.023, 83.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Ldap-Account-Manager Ldap Account Manager
- Ldapaccountmanager Lam — versions < 8.0
- Debian Linux — versions 11.0
Weakness classification (CWE)
References
- github.com/LDAPAccountManager/lam/commit/f1d5d04952f39a1b4ea203d3964fa88e1429df… (Patch, Third Party Advisory)
- github.com/LDAPAccountManager/lam/security/advisories/GHSA-q9pc-x84w-982x (Third Party Advisory)
- DSA-5177 (vendor-advisory, Third Party Advisory)