Skip to content
RCE Write-up Advanced

Security Advisory // Multiple vulnerabilities in EMC VNX NAS 8.1.9-232

Multiple vulnerabilities in EMC VNX NAS 8.1.9-232 allow unauthenticated remote code execution, authentication bypass, and local privilege escalation. An attacker could run arbitrary commands as root, read/write files, and escalate privileges.

errno.fr

Published on errno.fr

The perl module /nas/http/scripts/Apache/TicketLogin.pm does not sanitize GET user input before passing these parameters to a function that passes a concatenated string to the shell:

The author, on errno.fr

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the root cause is missing input sanitisation and weak secret generation, leading to command injection, path traversal, and authentication bypass.

What the attacker needed

Network access to the NAS web interface; no authentication required for some vulnerabilities; for some, a valid cookie or local access

The fix

The report suggests various fixes: sanitise user input, use a larger secret, encrypt cookies, and remove unnecessary sudo permissions; the vendor has not yet released a patch.

How it was found

  1. Send a crafted GET request to the Login endpoint with a malicious user parameter.
  2. Observe that a file is created in /var/tmp, confirming command execution.
  3. For authentication bypass, brute-force the 5-digit secret by generating cookies and checking for a successful response.
  4. Use the recovered secret to forge a cookie for the root user.
  5. Access the runclicmd endpoint with the forged cookie to execute commands as root.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

This report describes several security holes in a storage device's management software. The worst ones let someone on the network run commands on the device without logging in, and even become the all-powerful root user. The report explains each flaw and how to fix them.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.