Description
Unrestricted file upload vulnerability in banner-edit.php in OpenX adserver 2.8.1 and earlier allows remote authenticated users with banner / file upload permissions to execute arbitrary code by uploading a file with an executable extension, then accessing it via a direct request to the file in an images directory.
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.
Metasploit 1 module
-
OpenX banner-edit.php File Upload PHP Code Execution
exploit/unix/webapp/openx_banner_edit
Exploit-DB 1
- OpenX - 'banner-edit.php' Arbitrary File Upload / PHP Code Execution (Metasploit) EDB-16903 · remote · Sep 20, 2010 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 20091124 Executing arbitrary PHP code on OpenX <= 2.8.1 mailing-list
- http://www.openx.org/docs/2.8/release-notes/openx-2.8.2
- 37475 third-party-advisory
- openx-banneredit-upload(54394) vdb-entry
- https://developer.openx.org/jira/browse/OX-5747
- 37110 vdb-entry
- 60499 vdb-entry