PT-2022-3281 · Unknown · Ldap Account Manager

Arseniy Sharoglazov

·

Published

2022-06-16

·

Updated

2023-07-24

·

CVE-2022-31087

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions LDAP Account Manager versions prior to 8.0
Description The issue allows an attacker to gain code execution on the host by writing a web-shell into the tmp directory, accessible via /lam/tmp/. This directory allows interpretation of .php files, and an attacker with www-data privileges can exploit this. The problem has been fixed in version 8.0.
Recommendations For versions prior to 8.0, disallow executing PHP scripts in the (/var/lib/ldap-account-manager/)tmp directory as a temporary workaround until the issue is resolved. As a permanent solution, upgrade to version 8.0 or later.

Exploit

Fix

Incorrect Authorization

Special Elements Injection

Weakness Enumeration

Related Identifiers

BDU:2022-04005
CVE-2022-31087
DSA-5177-1
GHSA-Q8G5-45M4-Q95P

Affected Products

Ldap Account Manager