Description
Unrestricted file upload vulnerability in the add2 action in a_upload.php in OneCMS 2.4, and possibly earlier, allows remote attackers to execute arbitrary code by uploading a file with an executable extension and using a safe content type such as image/gif, then accessing it via a direct request to the file in an unspecified 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.
Exploit-DB 1
- OneCMS 2.4 - SQL Injection / Upload EDB-4857 · webapps · Jan 7, 2008 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- http://www.bugreport.ir/index_26.htm
- 20080107 OneCMS Vulnerabilities mailing-list
- http://sourceforge.net/forum/forum.php?forum_id=774946
- ADV-2008-0081 vdb-entry
- 20080126 Re: OneCMS Vulnerabilities mailing-list
- 51117 vdb-entry
- 27158 vdb-entry
- 4857 exploit
- onecms-aupload-file-upload(39485) vdb-entry