Description
Directory traversal vulnerability in welcome.php in phpLDAPadmin 0.9.6 and 0.9.7 allows remote attackers to read arbitrary files via a .. (dot dot) in the custom_welcome_page parameter.
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 | phpldapadmin | 0.9.6c-7 | — |
| Debian 13 | phpldapadmin | 0.9.6c-7 | — |
| Debian 12 | phpldapadmin | 0.9.6c-7 | — |
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
- phpLDAPadmin 0.9.6/0.9.7 - 'welcome.php' Arbitrary File Inclusion EDB-26211 · webapps · Aug 30, 2005 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 16617 third-party-advisory
- phpldapadmin-welcome-file-include(22103) vdb-entry
- 20050829 phpLDAPadmin 0.9.6 - 0.9.7/alpha5 (possibly prior versions) mailing-list
- 14695 vdb-entry
- http://www.rgod.altervista.org/phpldap.html