Description
mod_auth_openid before 0.7 for Apache uses world-readable permissions for /tmp/mod_auth_openid.db, which allows local users to obtain session ids.
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 11 | libapache2-mod-auth-openid | 0.7-0.1 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Apache Mod_Auth_OpenID - Session Stealing EDB-18917 · local · May 24, 2012 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- http://packetstormsecurity.org/files/112991/Mod_Auth_OpenID-Session-Stealing.html
- 20120522 session stealing in mod_auth_openid - CVE-2012-2760 mailing-list
- MDVSA-2012:114 vendor-advisory
- modauthopenid-database-info-disclosure(75813) vdb-entry
- 18917 exploit
- https://github.com/bmuller/mod_auth_openid/pull/30
- https://github.com/bmuller/mod_auth_openid/blob/master/ChangeLog
- 49247 third-party-advisory
- 82139 vdb-entry
- 53661 vdb-entry