CVE Vulnerabilities

CVE-2022-31086

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Published: Jun 27, 2022 | Modified: Nov 21, 2024
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
6 MEDIUM
AV:N/AC:M/Au:S/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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 incorrect regular expressions allow to upload PHP scripts to config/templates/pdf. This vulnerability could lead to a Remote Code Execution if the /config/templates/pdf/ directory is accessible for remote users. This is not a default configuration of LAM. This issue has been fixed in version 8.0. There are no known workarounds for this issue.

Weakness

The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

Affected Software

NameVendorStart VersionEnd Version
Ldap_account_managerLdap-account-manager*8.0 (excluding)
Ldap-account-managerUbuntubionic*
Ldap-account-managerUbuntufocal*
Ldap-account-managerUbuntuimpish*
Ldap-account-managerUbuntuplucky*
Ldap-account-managerUbuntutrusty*
Ldap-account-managerUbuntuupstream*
Ldap-account-managerUbuntuxenial*

Potential Mitigations

References