Description
Ralf Image Gallery (RIG) 0.7.4 and other versions before 1.0, when register_globals is enabled, allows remote attackers to conduct PHP remote file inclusion and directory traversal attacks via URLs or ".." sequences in the (1) dir_abs_src parameter in (a) check_entry.php, (b) admin_album.php, (c) admin_image.php, and (d) admin_util.php; and the (2) dir_abs_admin_src parameter in admin_album.php and admin_image.php. NOTE: this issue can be leveraged to conduct cross-site scripting (XSS) attacks.
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
- ralf image Gallery 0.7.4 - Multiple Vulnerabilities EDB-1942 · webapps · Jun 22, 2006 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 20060627 Re: [MajorSecurity #18] Ralf Image Gallery <=0.7.4 - Multiple XSS, Remote File Include and directory traversal vulnerabilities mailing-list
- rig-dirabssrc-dirabsadminsrc-xss(27257) vdb-entry
- 18548 vdb-entry
- 20060620 [MajorSecurity #18] Ralf Image Gallery <=0.7.4 - Multiple XSS, Remote File Include and directory traversal vulnerabilities mailing-list
- 26753 vdb-entry
- http://rig.powerpulsar.com/#news
- rig-dirabssrc-dirabsadminsrc-file-include(27259) vdb-entry
- 1136 third-party-advisory
- 26756 vdb-entry
- 26754 vdb-entry
- rig-dirabssrc-directory-traversal(27256) vdb-entry
- 26755 vdb-entry
- http://www.majorsecurity.de/advisory/major_rls18.txt
- ADV-2006-2477 vdb-entry
- 20771 third-party-advisory