LDAP Account Manager (LAM) is a webfrontend for managing entries stored in an LDAP directory. LAM\'s log configuration allows to specify arbitrary paths for log files. Prior to version 8.7, an attacker could exploit this by creating a PHP file and cause LAM to log some PHP code to this file. When the file is then accessed via web the code would be executed. The issue is mitigated by the following: An attacker needs to know LAM\'s master configuration password to be able to change the main settings; and the webserver needs write access to a directory that is accessible via web. LAM itself does not provide any such directories. The issue has been fixed in 8.7. As a workaround, limit access to LAM configuration pages to authorized users.
Metrics
CVSS Version: 3.1 |
Base Score: 7.9 HIGH Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:H
l➤ Exploitability Metrics: Attack Vector (AV)* NETWORK Attack Complexity (AC)* HIGH Privileges Required (PR)* HIGH User Interaction (UI)* NONE Scope (S)* CHANGED
l➤ Impact Metrics: Confidentiality Impact (C)* HIGH Integrity Impact (I)* LOW Availability Impact (A)* HIGH
Weakness Enumeration (CWE)
CWE-ID: CWE-74 CWE Name: CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component (
Injection
) Source: LDAPAccountManager
Common Attack Pattern Enumeration and Classification (CAPEC)