CVE-2022-31087
LDAP Account Manager (LAM) Code Execution Vulnerability
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.
INFO
Published Date :
June 27, 2022, 9:15 p.m.
Last Modified :
July 24, 2023, 1:17 p.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
Affected Products
The following products are affected by CVE-2022-31087
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-31087
.
URL | Resource |
---|---|
https://github.com/LDAPAccountManager/lam/commit/f1d5d04952f39a1b4ea203d3964fa88e1429dfd4 | Patch Third Party Advisory |
https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-q8g5-45m4-q95p | Third Party Advisory |
https://www.debian.org/security/2022/dsa-5177 | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-31087
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-31087
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Reanalysis by [email protected]
Jul. 24, 2023
Action Type Old Value New Value Added CWE NIST CWE-863 -
Initial Analysis by [email protected]
Jul. 07, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:L/AC:L/Au:N/C:C/I:C/A:C) Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/LDAPAccountManager/lam/commit/f1d5d04952f39a1b4ea203d3964fa88e1429dfd4 No Types Assigned https://github.com/LDAPAccountManager/lam/commit/f1d5d04952f39a1b4ea203d3964fa88e1429dfd4 Patch, Third Party Advisory Changed Reference Type https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-q8g5-45m4-q95p No Types Assigned https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-q8g5-45m4-q95p Third Party Advisory Changed Reference Type https://www.debian.org/security/2022/dsa-5177 No Types Assigned https://www.debian.org/security/2022/dsa-5177 Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:ldap-account-manager:ldap_account_manager:*:*:*:*:*:*:*:* versions up to (excluding) 8.0 Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Jul. 06, 2022
Action Type Old Value New Value Added Reference https://www.debian.org/security/2022/dsa-5177 [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-31087
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-31087
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.05 }} 0.01%
score
0.19031
percentile