Skip to content
OpenAdvisories
Medium · 6.6 CVE-2022-31086 EUVD-2022-52743

Incorrect Regular Expressions in ldap-account-manager

Published Jun 27, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
LDAPAccountManager lam < 8.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ldap-account-manager 8.0.1-1 —
Debian 13 ldap-account-manager 8.0.1-1 —
Debian 12 ldap-account-manager 8.0.1-1 —
Debian 11 ldap-account-manager 8.0.1-0+deb11u1 DSA-5177-1
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS ldap-account-manager No fix yet —
Ubuntu 25.10 ldap-account-manager No fix yet —
Ubuntu 22.04 LTS ldap-account-manager No fix yet —
Ubuntu 20.04 LTS ldap-account-manager No fix yet —
Ubuntu 18.04 LTS ldap-account-manager No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS ldap-account-manager No fix yet —

Advisories 1

References