Skip to content
RCE Write-up Advanced

Multiple vulnerabilities in ingress-Nginx (Score 9.8)

Multiple flaws in ingress-nginx allow an unauthenticated attacker to run arbitrary code in the controller's context, which can expose Secrets the controller can read. The most serious issue is rated Critical with a score of 9.8.

groups.google.com

Published on groups.google.com

Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message

The author, on groups.google.com

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 flaws in how ingress-nginx processes attacker-supplied input, though the advisory does not state the specific mistake.

Impact

An attacker could execute arbitrary code in the controller's context and disclose Secrets accessible to it, including all Secrets cluster-wide in a default installation.

What the attacker needed

Ingress-nginx installed on the cluster; network access to the controller

The fix

The issues were fixed by upgrading ingress-nginx to v1.11.5, v1.12.1, or later; before patching, disabling the Validating Admission Controller gives partial mitigation.

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.

ingress-nginx is a component that routes incoming web traffic into a Kubernetes cluster. These bugs let someone who can reach it run their own code inside that component, and from there read secret data the component is allowed to see. The advisory does not explain the technical details, only that patched versions exist.

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.