Skip to content
RCE Advisory Advanced CVE-2017-5641

Cisco Nexus Dashboard Fabric Controller AMF Deserialization of Untrusted Data Remote Code Execution Vulnerability

The AMF protocol handler in Cisco Nexus Dashboard Fabric Controller deserialises untrusted data, allowing an unauthenticated remote attacker to execute arbitrary code as the fmserver user.

Pedro Ribeiro (@pedrib1337 | [email protected]) from Agile Information Security Follow

Originally disclosed on Zero Day Initiative

High 7.3 View original

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Cisco Nexus Dashboard Fabric Controller. Authentication is not required to exploit this vulnerability.

Pedro Ribeiro (@pedrib1337 | [email protected]) from Agile Information Security, on the Zero Day Initiative

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 report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the AMF message handler deserialises attacker-controlled data without validating or restricting the types it accepts.

Impact

An unauthenticated remote attacker could execute arbitrary code in the context of the fmserver user.

What the attacker needed

Network access to the AMF service; no authentication required

The fix

It was fixed in version 11.5(4) or later.

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 report has not been written yet. The Original tab links to the source.

Deserialisation is when a program turns stored or sent data back into objects. If it does that with data from an untrusted source without checking it, an attacker can craft data that makes the program run their code. Here, an unauthenticated attacker could send a malicious AMF message and run code on the server.

What is RCE?

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

More by Pedro Ribeiro (@pedrib1337 | [email protected]) from Agile Information Security

View all

1 more disclosed report, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

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.