Zilliz / Attu | 2.6.5
Attu's Playground feature lacked authentication and validated the wrong URL field, so an unauthenticated attacker could proxy requests to arbitrary public and internal addresses. Combined, these flaws let the researchers reach the AWS instance metadata service and obtain temporary IAM credentials for the EKS node role.
bishopfox.com
Published on bishopfox.com
The following document describes vulnerabilities identified by Bishop Fox staff in Zilliz Attu 2.6.5. The vulnerabilities were discovered during independent research.
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 two mistakes: the playground handler skipped its client-ID check when the header was absent, and its absolute-URL regex was case-sensitive while the Axios library's was not, so validation ran on the host field while the request used the url field.
Impact
An unauthenticated attacker could use an internet-facing Attu instance as a proxy and, in an EKS deployment, could obtain administrative access to the Kubernetes namespace where Attu was hosted.
What the attacker needed
Network access to the Attu API; no account needed; Attu 2.6.5 exposed to the internet
The fix
The vendor stated the 2.6.x line is no longer maintained and recommends upgrading to Attu 3.0.0.
How it was found
- Send a request to the playground endpoint without the client-ID header and with an external collaborator address in the host field to confirm unauthenticated proxying.
- Send a request with a public URL in the host field and the internal URL in the url field, capitalising a letter in the scheme.
- Request the metadata service token path to obtain a session token.
- Request the IAM role credentials path using that token.
- Export the credentials and confirm the identity with the STS service.
- Use the credentials to read instance tags and describe the EKS cluster.
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.
Attu is a web console for a database. Its 'Playground' page can fetch a web address on the server's behalf, and it did not check who was asking. Because of a case-sensitivity mistake, it also checked one address for safety but then actually fetched a different, internal one, letting the researchers read cloud credentials.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.