Redwood Report2Web XSS and Frame injection
The Report2Web login panel reflects the urll parameter without sanitisation, allowing an attacker to inject JavaScript into a victim's browser. The online help page also allows frame injection via the turl parameter, which can load a malicious external site inside a frame.
Report2Web v4.3.4.5 and v4.5.3 are vulnerable to XSS. v4.3.4.5 is also vulnerable to frame injection. Both issues are fixed in v4.6.0.
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 application reflects user-supplied parameters into HTML without encoding or validation, and the frame source check can be bypassed with a backslash-prefixed hostname.
Impact
An attacker could execute JavaScript in a victim's browser to steal cookies or perform actions, and could load a malicious site inside a frame to inject content or conduct phishing.
What the attacker needed
Victim clicks a crafted link; target runs vulnerable Report2Web version
The fix
Both issues were fixed in version 4.6.0.
How it was found
- Send a request to the signIn.do endpoint with a crafted urll parameter containing script.
- Observe the script reflected unescaped in the hidden input field.
- Send a request to the Online_Help default.htm endpoint with turl set to a backslash-prefixed external hostname.
- Observe the frame src attribute containing the external hostname.
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.
When a website takes something you typed or clicked (like a link parameter) and puts it directly into the page without cleaning it, an attacker can sneak in their own code. Here, the login page and help page both trust input too much, so a crafted link can run malicious script or show a fake page inside the real one.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.