Description
Cross-site scripting (XSS) vulnerability in Gallery 2 up to 2.0.2 allows remote attackers to inject arbitrary web script or HTML via the X-Forwarded-For (X_FORWARDED_FOR) HTTP header, which is not properly handled when adding a comment to an album.
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.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
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
- 16940 vdb-entry
- 23596 vdb-entry
- http://www.gulftech.org/?node=research&article_id=00106-03022006
- gallery-getremotehostaddress-xss(25117) vdb-entry
- http://gallery.menalto.com/gallery_2.0.3_released
- ADV-2006-0813 vdb-entry
- 20060303 Gallery 2 Multiple Vulnerabilities mailing-list
- 19104 third-party-advisory
- 1015717 vdb-entry