Stored XSS on https://paypal.com/signin via cache poisoning
A frontend caching configuration allowed a researcher to use request smuggling to turn a page request into a cached redirect, so that a legitimate user visiting the page would see attacker content instead of the requested page. This could interfere with the integrity of certain pages, including the sign-in page, though no back-end data was impacted.
Originally disclosed on HackerOne
- Triaged in 22 days
- Fixed in 30 days
- Paid in 22 days
- Disclosed after 6 months
Summary by the program
Due to a configuration in frontend, caching servers, it was possible for a researcher to use request smuggling to convert a page request into a cached redirect. If the cached redirect were accessed by a legitimate user, an attacker's content would be rendered instead of the requested page. While this would not impact any back-end data, this could interfere with the integrity of certain pages, including potential interference with the sign-in page. PayPal worked with the researcher and our technical teams to remediate the issue and confirm there was no evidence of real-world attacks.
Summary by the researcher
I've posted a full writeup over at https://portswigger.net/blog/http-desync-attacks-request-smuggling-reborn
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 a frontend caching configuration that trusted request boundaries inconsistently, allowing a smuggled request to poison the cache with a redirect.
Impact
An attacker could interfere with the integrity of certain pages, including the sign-in page, by causing visitors to be redirected to attacker content, though no back-end data was affected and there was no evidence of real-world attacks.
What the attacker needed
Request smuggling capability; cacheable page; victim visits the page
The fix
PayPal worked with the researcher and technical teams to remediate the issue.
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.
Request smuggling is a way of sneaking a hidden second request past a server so that it gets mixed up with the next person's request. Here, that trick was used to make a caching server store a redirect to the attacker's content, so the next visitor to that page would be sent there instead. The page itself was not changed on the server, but visitors could be shown something the attacker chose.
What is Cache bugs?
A cache and the origin disagree about a request, so a poisoned response is served to everyone or a private page is stored as public.