Auth bypass in Prosody Mod Auth Ldap
CVE-2020-8086
The mod_auth_ldap and mod_auth_ldap2 Community Modules through 2020-01-27 for Prosody incompletely verify the XMPP address passed to the is_admin() function. This grants remote entities admin-only functionality if their username matches the username of a local admin.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.016, 75.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Prosody Mod Auth Ldap
- Prosody Mod Auth Ldap2
- Debian Linux — versions 9.0, 10.0
Weakness classification (CWE)
References
- hg.prosody.im/prosody-modules/log/tip/mod_auth_ldap/mod_auth_ldap.lua (Third Party Advisory)
- hg.prosody.im/prosody-modules/log/tip/mod_auth_ldap2/mod_auth_ldap2.lua (Third Party Advisory)
- prosody.im/security/advisory_20200128/ (Vendor Advisory)
- DSA-4612 (vendor-advisory, Third Party Advisory)
- 20200203 [SECURITY] [DSA 4612-1] prosody-modules security update (mailing-list, Mailing List, Third Party Advisory)