CVE-2022-31086 Incorrect Regular Expressions in ldap-account-manager
Attackers can upload PHP scripts to a specific directory if non-default configurations are enabled, leading to remote code execution.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-31086?
CVE-2022-31086 is a medium-severity vulnerability in Debian Debian Linux, published on 27 Jun 2022. An attacker needs administrator access to exploit it, with no action from the victim.
Official 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 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.
Which versions are affected by CVE-2022-31086?
It affects 2 products.
Products include Debian Debian Linux, Ldap-Account-Manager Ldap Account Manager.
How do I fix CVE-2022-31086?
Upgrade to a fixed version.
Is CVE-2022-31086 being exploited?
There is no known exploitation of CVE-2022-31086 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2022-31086, GHSA-q9pc-x84w-982x, UBUNTU-CVE-2022-31086.