Vulnerability · Published Jun 27, 2022 · Assigned by GitHub_M

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

Medium 6.6

In plain English

A medium-severity injection in lam from LDAPAccountManager. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.3% (higher than 83% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)6.6Medium
Exploit odds (30 days)2.3%top 16.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12ldap-account-manager8.0.1-1DEBIAN-CVE-2022-31086
Debian:13ldap-account-manager8.0.1-1DEBIAN-CVE-2022-31086
Debian:14ldap-account-manager8.0.1-1DEBIAN-CVE-2022-31086
Ubuntu:22.04:LTSldap-account-managerno fix listedUBUNTU-CVE-2022-31086
Ubuntu:25.10ldap-account-managerno fix listedUBUNTU-CVE-2022-31086
Ubuntu:26.04:LTSldap-account-managerno fix listedUBUNTU-CVE-2022-31086

Affected products (as reported)

VendorProductVersions
LDAPAccountManager lam < 8.0

Weakness: CWE-74 · Vector: CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

References