CVE-2022-31087CWE-74

Incorrect Default Permissions in ldap-account-manager

High · published June 27, 2022

CVSS v3.0
7.8
EPSS
0%
Percentile
37.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.0
7.8 · HIGH
Vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00439 · 37.2th percentile
Weakness
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Published
2022-06-27T20:50Z
EPSS history
Timeline
  • 27 JUN 20:50Z
    Incorrect Default Permissions in ldap-account-manager
    cvelistv5