XSS on support.wordcamp.org in ajax-quote.php
An XSS vulnerability exists in ajax-quote.php on support.wordcamp.org, demonstrated with a proof of concept that executes in Firefox. An attacker could trick an authenticated user into visiting a malicious page to perform actions on their behalf, though cookie theft is unlikely due to httponly cookies.
- Triaged in 11 days
- Fixed in 18 days
- Paid in 2 months
- Disclosed after 2 months
Hi, There is an XSS vulnerability in ajax-quote.php on http://support.wordcamp.org. It can be demonstrated with the attached POC - this needs to be run in Firefox to execute, as it's super basic and XSS Auditor will catch it (but with multiple parameters, even with one of them filtered, it's likely that one could be crafted that would work in Chrome, too).
I would quite like to check out that SupportPress application in more detail, but it's quite hard to install :( Seems to not work out of the box for me - so for now, just an XSS.
Impact
An attacker who could trick an authenticated user into visiting their webpage/link could perform any action on behalf of that user. Cookie theft seems unlikely as, from a brief scan of the code (I can't login) I think it uses httponly on the important cookies.
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 insufficient input sanitisation or output encoding in ajax-quote.php, allowing script injection.
Impact
An attacker who could trick an authenticated user into visiting their webpage/link could perform any action on behalf of that user, though cookie theft seems unlikely due to httponly cookies.
What the attacker needed
Victim visits attacker's link; victim is authenticated
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.
Cross-site scripting (XSS) is a flaw where a website lets an attacker inject their own code into a page that other people view. Here, a specific file on a support site fails to clean up input, so a malicious link could run code in a logged-in user's browser. That code could then act as the user, but stealing their login cookie is unlikely because it is marked httponly, meaning scripts cannot read it.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.