Description
Directory traversal vulnerability in viewlog.php in Coppermine Photo Gallery (CPG) 1.4.12 and earlier allows remote authenticated administrators to include and execute arbitrary local files via a .. (dot dot) in the log parameter.
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
- Coppermine Photo Gallery 1.4.12 - 'log' Local File Inclusion EDB-30595 · webapps · Sep 17, 2007 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- http://coppermine-gallery.net/forum/index.php?topic=46847.0
- 3152 third-party-advisory
- 20070917 Coppermine <= 1.4.12 Cross Site Scripting and Local File Inclusion mailing-list
- 1018704 vdb-entry
- 26843 third-party-advisory
- coppermine-viewlog-file-include(36660) vdb-entry
- ADV-2007-3194 vdb-entry
- 25698 vdb-entry
- 37101 vdb-entry