Description
upload_img_cgi.php in Simple PHP Blog (SPHPBlog) does not properly restrict file extensions of uploaded files, which could allow remote attackers to execute arbitrary code.
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.
Metasploit 1 module
-
Simple PHP Blog Remote Command Execution
exploit/unix/webapp/sphpblog_file_upload
Exploit-DB 2
- Simple PHP Blog 0.4.0 - Remote Command Execution (Metasploit) EDB-16883 · webapps · Jul 25, 2010 · verified
- Simple PHP Blog 0.4.0 - Multiple Remote s EDB-1191 · webapps · Sep 1, 2005 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- simple-php-uploadimgcgi-file-upload(22012) vdb-entry
- 14667 vdb-entry
- 20050826 Simple PHP Blog File Upload and User Credentials Exposure Vulnerabilities mailing-list
- 16598 third-party-advisory