Full read SSRF in flyte-poc-us-east4.uberinternal.com
An unauthenticated CORS proxy route in Flyte Console allowed arbitrary server-side requests and reading of responses, enabling full-read SSRF. The same proxy could also reflect arbitrary HTML, leading to reflected cross-site scripting.
- Triaged in 14 hours
- Fixed in 36 hours
- Paid in 8 days
- Disclosed after 43 days
Summary by the program
Uber summary TBD.
Summary by the researcher
@shubs and I discovered an instance of Flyte Console on uberinternal.com. After auditing the open source code, we noticed an unauthenticated route for a “CORS proxy”. This was a classic server-side request forgery issue, allowing us to pass an arbitrary request to be performed by the server and read the response. This also allowed reflected cross-site scripting as we could proxy arbitrary HTML documents through it.
We reported this to both Uber and Flyte, where it was assigned CVE-2022-24856 and quickly resolved.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely an unauthenticated proxy endpoint that forwards arbitrary URLs and returns the response without validating the destination or content type.
Impact
An attacker could make the server fetch arbitrary internal or external resources and read the responses, and could also reflect HTML to achieve cross-site scripting in a victim's browser.
What the attacker needed
Access to the internal Flyte Console instance
The fix
The issue was fixed and assigned CVE-2022-24856.
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 report has not been written yet. The Original tab links to the source.
A server-side request forgery (SSRF) bug lets an attacker make the server send requests to places the attacker cannot reach directly, and sometimes read the replies. Here, a proxy feature meant to fetch other sites had no login check, so anyone could use it to fetch internal pages or inject HTML that runs in a victim's browser.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.