ATutor <= 2.2 (popuphelp.php) Reflected Cross-Site Scripting Vulnerability
The popuphelp.php script takes the 'h' GET parameter and passes it to the Message::printHelps() method without proper sanitisation. An attacker could use this to carry out reflected cross-site scripting attacks.
karmainsecurity.com
Published on karmainsecurity.com
User input passed through the “h” GET parameter is not properly sanitized before being passed to the Message::printHelps() method at line 30. This can be exploited to carry out Reflected Cross-Site Scripting (XSS) attacks.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the 'h' GET parameter is passed to the printHelps() method without output encoding or sanitisation.
Impact
An attacker could run script in a victim's browser session on the affected site, though the text gives no further detail on what that script could achieve.
What the attacker needed
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 write-up has not been written yet. The Original tab links to the source.
A web page can take a value from the address bar and put it into the page it sends back. If that value is not cleaned first, an attacker can craft a link that makes the site run their own script in the victim's browser. This is called reflected cross-site scripting, because the malicious input is bounced straight back to whoever clicks the link.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.