Skip to content
RCE Write-up Intermediate

Wiz Research Identifies Exploitation in the Wild of Aviatrix Controller RCE (CVE-2024-50603)

A command injection flaw in Aviatrix Controller's API allowed unauthenticated attackers to execute arbitrary commands on the system. Attackers exploited it in the wild to mine cryptocurrency and deploy backdoors.

Gal Nagli Follow

Published on wiz.io

CVE-2024-50603 is a critical code execution vulnerability impacting Aviatrix Controller with the maximum CVSS score of 10.0. This command injection flaw allows unauthenticated attackers to execute arbitrary commands on the system remotely.

Gal Nagli, on wiz.io

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 API endpoints incorporated user-supplied parameters into command strings without proper sanitisation, leading to OS command injection.

Impact

Attackers could execute arbitrary commands on the controller, and because the controller often has high IAM privileges in AWS, they could potentially escalate privileges and move laterally into the cloud control plane, though direct evidence of such lateral movement was not yet observed.

What the attacker needed

Publicly exposed Aviatrix Controller; unpatched version

The fix

The vulnerability was fixed in Aviatrix Controller versions 7.1.4191 and 7.2.4996; upgrading and restricting public access are recommended.

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.

A command injection bug lets an attacker sneak extra system commands into input that a program passes to the operating system. Here, the Aviatrix Controller's web API took user-supplied values and put them into command strings without cleaning them, so an unauthenticated attacker could run their own commands on the server. That let attackers install cryptocurrency miners and remote-access backdoors.

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 Gal Nagli

View all

5 more disclosed reports, best first.

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.