Description
Directory traversal vulnerability in the session handling class (GallerySession.class) in Gallery 2 up to 2.0.2 allows remote attackers to access and delete files by specifying the session in a cookie, which is used in constructing file paths before the session value is sanitized.
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
- Gallery 2 < 2.0.2 - Multiple Vulnerabilities EDB-43837 · webapps · Mar 2, 2016
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- gallery-sessionid-bypass-security(25118) vdb-entry
- 23597 vdb-entry
- http://www.gulftech.org/?node=research&article_id=00106-03022006
- http://gallery.menalto.com/gallery_2.0.3_released
- 16948 vdb-entry
- ADV-2006-0813 vdb-entry
- 20060303 Gallery 2 Multiple Vulnerabilities mailing-list
- 19104 third-party-advisory
- 1015717 vdb-entry