PT-2022-3281
CVE-2022-31087
·
Published
2022-06-16
·
Updated
2023-07-24
Description by
CVSS 3.1
7.8
HighMetricsAV: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.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾