Skip to content
RCE Write-up Intermediate

Dirty Cert: Cisco Smart Software Manager's Silently Patched RCE

A post-authentication command injection vulnerability existed in Cisco Smart Software Manager's nginx certificate upload functionality, where user-supplied certificate data was passed to a shell command without sanitisation. An attacker with admin access could execute arbitrary commands as root on the nginx microservice.

starlabs.sg

Published on starlabs.sg

Back in early August 2026, I was 0-day bug hunting in Cisco Smart Software Manager (CSSM). This was where I came across a post-auth RCE vulnerability.

The author, on starlabs.sg

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

The application used childProcess.execSync to run openssl commands with user-controlled certificate data interpolated directly into the shell command string, without sanitising or escaping it.

Impact

An attacker with admin access could execute arbitrary commands as root on the nginx microservice, but the vulnerability was silently patched before the report was finalised.

What the attacker needed

Admin access to CSSM; ability to upload certificates

The fix

The fix replaced the shell command execution with Node.js crypto library functions that parse keys and certificates without invoking a shell.

How it was found

  1. Log in as admin
  2. Generate a CSR certificate
  3. Sign the CSR with an attacker-controlled root CA
  4. Upload the CSR with a malicious intermediate certificate containing the command injection
  5. Read the injected command's output via a file created on nginx
  6. Delete the file on nginx

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 is a command injection bug. The application took a certificate file uploaded by a user and ran a system command that included the file's contents. Because the file could contain special characters that the shell interprets as commands, an attacker could make the server run their own commands.

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.