Exploit database

Vulnerability

CVE-2013-10051

InstantCMS <= 1.6 Remote PHP Code Execution

Vulnerability details

Score
9.3
Severity
critical

CVSS 4.0 · VulnCheck

Vector string

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

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.

CVE Program

Exploit source choices

2 sources
InstantCMS 1.6 Remote PHP Code Execution
MSF-unix--webapp--instantcms_execMetasploitPHP / remote

This module exploits an arbitrary PHP command execution vulnerability because of a dangerous use of eval() in InstantCMS in versions 1.6 and prior.

2013-06-26instantcms_exec.rb