Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2022-31087— Incorrect Default Permissions in ldap-account-manager

Quick assessment

Affected
LDAPAccountManager lam
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

LDAP Account Manager是一个 Web 前端,用于管理存储在 LDAP 目录中的条目(例如用户、组、DHCP 设置)。 LDAP Account Manager (LAM) 8.0之前版本存在注入漏洞。攻击者利用该漏洞将 web-shell 写入/lam/tmp/目录,并在主机上获得代码执行权限。

AI Predicted 9.8 Difficulty: Easy EPSS 0.43% · P36

Possible ATT&CK Techniques 1 AI

T1505.003 · Web Shell
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-31087

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Incorrect Default Permissions in ldap-account-manager
Source: CVE Program / CVE List V5
Vulnerability 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 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
输出中的特殊元素转义处理不恰当(注入)
Source: CVE Program / CVE List V5
Vulnerability Title
LDAP Account Manager 注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
LDAP Account Manager是一个 Web 前端,用于管理存储在 LDAP 目录中的条目(例如用户、组、DHCP 设置)。 LDAP Account Manager (LAM) 8.0之前版本存在注入漏洞。攻击者利用该漏洞将 web-shell 写入/lam/tmp/目录,并在主机上获得代码执行权限。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
LDAPAccountManager lam < 8.0 -

II. Public POCs for CVE-2022-31087

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-31087

登录查看更多情报信息。

Patches & Fixes for CVE-2022-31087 (1)

Vendor Advisories for CVE-2022-31087 (2)

Same Patch Batch · LDAPAccountManager · 2022-06-27 · 5 CVEs total

CVE-2022-31084 Unauthenticated Remote Code Execution in ldap-account-manager
CVE-2022-31085 Missing Encryption of Sensitive Data in ldap-account-manager
CVE-2022-31086 Incorrect Regular Expressions in ldap-account-manager
CVE-2022-31088 Unauthenticated LDAP Injection in ldap-account-manager

IV. Related Vulnerabilities

V. Comments for CVE-2022-31087

No comments yet


Leave a comment