External risk intelligence

Narcissus Image Configuration Remote Command Execution

CVE advisorySeverity: CRITICAL (CVSS 9.3)

CVE-2012-10033

The vulnerability exists in a web application script (backend.php) reachable via a POST request. As a web-based image configuration tool, this functionality is typically deployed as an internet-facing or network-accessible service, making the attack surface commonly reachable in standard web deployments.

OS Command Injection

Halo Surface Signal: 4 out of 5 — likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

This vulnerability allows attackers to run unauthorized commands on affected systems by sending specially crafted requests through an image configuration function. The core issue is a failure to properly handle user-supplied input within the application's backend script.

  • Attackers can execute commands remotely.
  • Matters due to potential unauthorized system control.
  • Confirm relevance and exposure to this specific application.

Attack Path

How an attacker could exploit the issue

An attacker can exploit this vulnerability by sending a specially crafted POST request to the backend.php script. This script fails to properly sanitize a 'release' parameter, allowing malicious input to be passed to the configure_image() function. The function then uses this unsanitized input with PHP's passthru() command, enabling the attacker to execute arbitrary system commands with the privileges of the web server.

  • No authentication or user interaction required.
  • Triggered by a malicious POST request parameter.
  • Allows remote command execution.

Live Threat

Current exploitation, exposure, and threat context

When supported by the advisory, this vulnerability could allow attackers to execute arbitrary system commands on the web server. This occurs through a crafted POST request that exploits improper input handling in the image configuration workflow, specifically when the `release` parameter is not properly sanitized before being used in a function that invokes `passthru()`.

  • Web server commands could be executed.
  • Via a crafted POST request.
  • Attacker controls server commands.

Operational Fix

Recommended remediation, mitigation, and detection steps

Application owners are likely responsible for this web application, with support from infrastructure and security teams to assess and manage risk. The first step is to identify all instances of the affected application, determine their exposure and business criticality, and then prioritize remediation based on that assessment.

  • Identify application instances and owners.
  • Verify network exposure and business impact.
  • Plan remediation based on risk.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is Narcissus?

Narcissus is an image configuration tool originally developed for the Ångström distribution. It is a web-based utility used to help developers build and customize root filesystems for embedded Linux systems. Because it serves as a backend management interface, it is typically hosted on servers where users can define and generate image configurations.

How does CVE-2012-10033 allow command execution?

This vulnerability is a classic command injection, classified as CWE-78. It happens because the application takes input from a user and passes it directly to a system shell without cleaning it first. Specifically, the backend script fails to check the 'release' parameter, which means an attacker can append their own system commands that the server will blindly execute.

Do I need to be authenticated to trigger this flaw?

No. The vulnerability does not require authentication or any specific user interaction. It is triggered solely by sending a maliciously crafted POST request to the application's backend. Simply navigating to the site or browsing the interface normally will not trigger the bug; the request must specifically contain the malformed parameter designed to exploit the underlying function.

Is my instance of Narcissus at risk?

If your Narcissus instance is reachable over the network, it is at higher risk. Halo Surface Signal identifies this as a 'Likely' issue because the vulnerable script is part of a web-facing tool. If your server is exposed to the internet or accessible across a wide internal network, attackers can reach the vulnerable endpoint without needing special access.

When should I prioritize addressing this vulnerability?

You should prioritize this immediately if you identify instances of Narcissus running in your environment. Start by conducting an inventory to find all deployments, then evaluate which are business-critical or network-accessible. Once identified, coordinate with your infrastructure team to restrict access or apply necessary updates to the affected backend scripts.

References