Description
The Gallery module in Simone Vellei Flatnuke 2.5.7 and earlier, when Gallery uploads are enabled, does not restrict the extensions of uploaded files that begin with a GIF header, which allows remote authenticated users to execute arbitrary PHP code via an uploaded .php file.
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
- FlatNuke 2.5.7 - 'index.php' Remote File Inclusion EDB-28216 · webapps · Jul 13, 2006 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 21051 third-party-advisory
- http://retrogod.altervista.org/flatnuke257_adv.html
- 20060713 flatnuke <= 2.5.7 arbitrary php file upload mailing-list
- 20060807 Re: flatnuke <= 2.5.7 arbitrary php file upload mailing-list
- 18966 vdb-entry
- 1016499 vdb-entry
- flatnuke-gallery-code-execution(27731) vdb-entry