Unrestricted Upload of File with Dangerous Type Affecting ldap-account-manager package, versions <8.0.1-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
2.21% (82nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-LDAPACCOUNTMANAGER-2936742
  • published29 Jun 2022
  • disclosed27 Jun 2022

Introduced: 27 Jun 2022

CVE-2022-31086  (opens in a new tab)
CWE-434  (opens in a new tab)

How to fix?

Upgrade Debian:unstable ldap-account-manager to version 8.0.1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ldap-account-manager package and not the ldap-account-manager package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1