Description
A remote PHP code execution vulnerability exists in InstantCMS version 1.6 and earlier due to unsafe use of eval() within the search view handler. Specifically, user-supplied input passed via the look parameter is concatenated into a PHP expression and executed without proper sanitation. A remote attacker can exploit this flaw by sending a crafted HTTP GET request with a base64-encoded payload in the Cmd header, resulting in arbitrary PHP code execution within the context of the web server.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| InstantCMS | InstantCMS | ≤ 1.6 | — |
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
-
InstantCMS 1.6 Remote PHP Code Execution
exploit/unix/webapp/instantcms_exec
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/instantcms_exec.rb exploit
- https://www.exploit-db.com/exploits/26622 exploit
- https://packetstorm.news/files/id/122176 exploit
- https://www.vulncheck.com/advisories/instantcms-remote-php-code-execution third-party-advisory