CVE-2012-10033
Executive Summary
Narcissus, a web‑based image management application, has a remote code execution flaw in its image configuration workflow. The backend.php script accepts a 'release' parameter from POST data and passes it directly to configure_image(), which internally calls PHP’s passthru() with the raw value. Because the input is not sanitized, an attacker can inject arbitrary shell commands, causing them to execute under the web server’s user. The vulnerability is exploitable via a crafted POST request and can lead to full system compromise. Mitigation requires validating or escaping the release parameter and avoiding passthru() for untrusted data.
Authoritative CVE Metadata
- CVSS Base Score: 9.3 (CRITICAL)
- Status: Deferred
- Last Modified: 27-11-26
Original 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.