CVE-2022-31087

HIGH

LDAP Account Manager <8.0 - Code Injection

Title source: llm
STIX 2.1

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 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.

References (3)

Core 3
Core References
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2022/dsa-5177

Scores

CVSS v3 7.8
EPSS 0.0019
EPSS Percentile 40.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-74 CWE-863
Status published
Products (2)
debian/debian_linux 11.0
ldap-account-manager/ldap_account_manager < 8.0
Published Jun 27, 2022
Tracked Since Feb 18, 2026