Reflected XSS via invocation banner ID field in admin-generate.php
The invocation-tag generation page reflected attacker-supplied input from the banner identifier field into HTML form fields without encoding it. An attacker who could persuade an authenticated user to visit a crafted URL could run script in that user's browser session.
Originally disclosed on HackerOne
- Triaged in 46 hours
- Fixed in 25 days
- Disclosed after 3 months
Summary by the program
Description
HackerOne community member Umesh Paytode has reported reflected XSS through the banner identifier in the invocation-tag generation interface. When Direct Selection is enabled, attacker-supplied input could be included in HTML form fields without proper encoding. Successful exploitation requires an attacker to persuade an authenticated user to visit a crafted URL. Direct Selection is disabled by default.
Resolution
Banner identifier values are now HTML-encoded when included in invocation-option form fields.
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 banner identifier value was written into HTML form fields without HTML-encoding, so markup in the value was interpreted by the browser.
Impact
An attacker could run script in an authenticated user's browser session, but only if the user followed a crafted link and the non-default Direct Selection option was enabled.
What the attacker needed
Direct Selection enabled (not default); victim is authenticated; victim clicks a crafted link
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 web page took text from the address bar and put it straight into the page's HTML without cleaning it. If that text contains a small script, the browser runs it as if the site itself had written it, which is called cross-site scripting. The attacker has to trick a logged-in user into opening a special link.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.