Skip to content
Access control Write-up Advanced

CVE-2018-1002105 – Kubernetes privilege escalation flaw

A privilege escalation flaw in OpenShift Container Platform allows an unauthenticated user to gain cluster-admin level access to aggregated API servers, including the service catalog, and thereby create brokered services with escalated privileges in any namespace and on any node. This could let an attacker deploy malicious code or alter existing services.

access.redhat.com

Published on access.redhat.com

A privilege escalation vulnerability exists in OpenShift Container Platform which allows for compromise of pods running co-located on a compute node. This access could include access to all secrets, pods, environment variables, running pod/container processes, and persistent volumes, including in privileged containers.

The author, on access.redhat.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 an authentication and authorisation bypass in how the Kubernetes API server handles non-101 responses from aggregated API servers.

Impact

An unauthenticated attacker could gain cluster-admin access to aggregated APIs and create brokered services with escalated privileges, potentially deploying malicious code or altering existing services.

What the attacker needed

OpenShift Container Platform 3.6 or higher; Aggregated API server present; No authentication required

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 flaw in a container platform where a user who is not logged in can trick the system into giving them the highest level of administrative rights. With those rights, they could run harmful programs or change services that other people rely on.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.