Skip to content
XSS Write-up Beginner

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.

vict0ni Follow

Published on vict0ni.me

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.

vict0ni (@vict0ni), on vict0ni.me

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

  1. Send a request to the signIn.do endpoint with a crafted urll parameter containing script.
  2. Observe the script reflected unescaped in the hidden input field.
  3. Send a request to the Online_Help default.htm endpoint with turl set to a backslash-prefixed external hostname.
  4. 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.

More by vict0ni

View all

6 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.