Patchwire CVEs, their patch status, and feeds to follow them

CVE-2022-31087

Fixed in a distro release EPSS <1%CVSS 7.8

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 the tmp directory, which is accessible by /lam/tmp/, allows interpretation of .php (and .php5/.php4/.phpt/etc) files. An attacker capable of writing files under www-data privileges can write a web-shell into this directory, and gain a Code Execution on the host. This issue has been fixed in version 8.0. Users unable to upgrade should disallow executing PHP scripts in (/var/lib/ldap-account-manager/)tmp directory.

Published 2022-06-27 · CVE record · OSV

Products: LDAPAccountManager lam

Distro releases

ReleasePackageFixed in
Debian 11ldap-account-manager8.0.1-0+deb11u1
Debian 12ldap-account-manager8.0.1-1
Debian 13ldap-account-manager8.0.1-1
Debian 14ldap-account-manager8.0.1-1
Ubuntu 16.04 LTSldap-account-managerno fix
Ubuntu 18.04 LTSldap-account-managerno fix
Ubuntu 20.04 LTSldap-account-managerno fix
Ubuntu 22.04 LTSldap-account-managerno fix
Ubuntu 25.10ldap-account-managerno fix
Ubuntu 26.04 LTSldap-account-managerno fix