Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | prosody-modules | 0.0~hg20200128.09e7e880e056+dfsg-1 | — |
| Debian 13 | prosody-modules | 0.0~hg20200128.09e7e880e056+dfsg-1 | — |
| Debian 12 | prosody-modules | 0.0~hg20200128.09e7e880e056+dfsg-1 | — |
| Debian 10 | prosody-modules | 0.0~hg20190203.b54e98d5c4a1+dfsg-1+deb10u1 | DSA-4612-1 |
| Debian 9 | prosody-modules | 0.0~hg20170123.3ed504b944e5+dfsg-1+deb9u1 | DSA-4612-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | prosody-modules | 0.0~hg20170929.c53cc1ae4788+dfsg-3ubuntu0.1~esm1 | USN-9056-1 |
| Ubuntu Pro 16.04 LTS | prosody-modules | 0.0~hg20150813.12ac88940fe3-2ubuntu0.1~esm1 | USN-9056-1 |
Advisories 2
- USN-9056-1 prosody-modules vulnerability Ubuntu Security Notices (USN) · Nov 12, 2026
- DSA-4612-1 prosody-modules - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://hg.prosody.im/prosody-modules/log/tip/mod_auth_ldap/mod_auth_ldap.lua
- https://hg.prosody.im/prosody-modules/log/tip/mod_auth_ldap2/mod_auth_ldap2.lua
- https://prosody.im/security/advisory_20200128/
- DSA-4612 vendor-advisory
- 20200203 [SECURITY] [DSA 4612-1] prosody-modules security update mailing-list