Exploit database

Vulnerability

CVE-2012-10033

Narcissus backend.php Image Configuration Command Injection

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

Narcissus is vulnerable to remote code execution via improper input handling in its image configuration workflow. Specifically, the backend.php script fails to sanitize the release parameter before passing it to the configure_image() function. This function invokes PHP’s passthru() with the unsanitized input, allowing attackers to inject arbitrary system commands. Exploitation occurs via a crafted POST request, resulting in command execution under the web server’s context.

CVE Program

Exploit source choices

3 sources
Narcissus Image Configuration Passthru Vulnerability
MSF-unix--webapp--narcissus_backend_execMetasploitLinux,Unix / remote

This module exploits a vulnerability found in Narcissus image configuration function. This is due to the backend.php file not handling the $release parameter properly, and then passes it on to the configure_image() function. In this function, the $release parameter can be used to inject system commands for passthru (a PHP function that's meant to be used to run a bash script by the vulnerable application), which allows remote code execution under the context of the web server.

2012-11-14narcissus_backend_exec.rb