Description
upload_handler.php in the swfupload extension in Chyrp 2.0 and earlier relies on client-side JavaScript code to restrict the file extensions of uploaded files, which allows remote authenticated users to upload a .php file, and consequently execute arbitrary PHP code, via a write_post action to the default URI under admin/.
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
- Chyrp 2.x swfupload Extension - 'upload_handler.php' Arbitrary File Upload / Arbitrary PHP Code Execution EDB-35947 · webapps · Jul 29, 2011 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 8314 third-party-advisory
- http://www.justanotherhacker.com/advisories/JAHx113.txt
- 48672 vdb-entry
- [oss-security] 20110713 Re: [oCERT-2011-001] Chyrp input sanitization errors mailing-list
- [oss-security] 20110713 [oCERT-2011-001] Chyrp input sanitization errors mailing-list