Stored XSS via unescaped tracker name in append-code check
A stored cross-site scripting (XSS) vulnerability existed in the maintenance append-code check tool, where a manager could save a tracker name containing malicious JavaScript. When an administrator viewed the maintenance results page, the unescaped tracker name executed the script in the administrator's browser.
- Triaged in 3 days
- Fixed in 25 days
- Disclosed after 5 months
Summary by the program
Description
HackerOne community member flasks has reported a stored XSS vulnerability in the 'maintenance-appendcode-check.php' tool. A manager can store a malicious tracker name and cause the tracker to appear in the maintenance results. When an administrator opens the affected page, the name is displayed without proper escaping and the embedded JavaScript executes in the administrator's browser.
Resolution
Tracker names are now HTML-encoded when displayed by the append-code maintenance tool.
Security advisory
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 the application failed to HTML-encode user-supplied tracker names before rendering them in the maintenance append-code check page.
Impact
A manager could execute JavaScript in an administrator's browser when the administrator opened the affected page.
What the attacker needed
Manager-level account; victim is an administrator; victim opens the maintenance page
The fix
Tracker names are now HTML-encoded when displayed by the append-code maintenance tool.
How it was found
- As a manager, store a tracker with a malicious name.
- Cause the tracker to appear in the maintenance results.
- As an administrator, open the affected maintenance page.
- The embedded JavaScript executes in the administrator's browser.
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 manager could save a tracker name containing JavaScript. When an administrator viewed the maintenance page listing trackers, the code ran in the admin's browser because the name was not escaped.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.