Skip to content
Access control Write-up Advanced

Kud I Enter Your Server? New Vulnerabilities in Microsoft Azure

Two flaws existed in Azure App Services' Linux administration component (KuduLite): hardcoded SSH credentials let anyone who reached the service log in as root, and the KuduLite API accepted requests from the application node without access checks. An attacker with an SSRF on the hosted app could read files or run commands on the application node, and could then chain the first flaw to take over the SCM site.

Intezer Follow

Published on intezer.com

We discovered two vulnerabilities in Microsoft Azure. They existed in a popular cloud service called Azure App Services—specifically impacting Linux servers—and should be on the radar of enterprise organizations that use cloud resources.

Intezer, on intezer.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 a shared hardcoded root credential reused from the webssh component plus missing authorisation checks on the KuduLite API for requests originating from the application node.

Impact

An attacker with an SSRF could read source code or run code on the application node, and could then take over the SCM site to host phishing pages or tamper with the git repository; cookie theft was blocked by an nginx proxy stripping cookies and by the HttpOnly attribute.

What the attacker needed

An SSRF flaw in the hosted app; network reach to the KuduLite service

The fix

The vulnerabilities were reported to Microsoft and fixed before publication.

How it was found

  1. Observe that webssh uses hardcoded credentials to reach the application node over SSH.
  2. Try the same credentials against the KuduLite instance's SSH service.
  3. Log in to KuduLite as root, which the design did not intend.
  4. From an app with SSRF, send a GET to the KuduLite VFS API to read files.
  5. Send a POST to the KuduLite command API to run commands on the application node.

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.

Azure App Services hosts a customer's web app next to a separate management container that handles deployment and diagnostics. The researchers found that this management container accepted a fixed, well-known password for its root account, and that it trusted requests coming from the app container without checking who sent them. That means a small weakness in the customer's own app (one that lets an attacker make the server fetch a URL) could be turned into full control of the management side.

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.

More by Intezer

View all

2 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

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.