DOM-XSS
A DOM-based cross-site scripting flaw exists in the SiteMinder login form on a subdomain, where the USERNAME parameter is reflected into the page without proper sanitisation. An attacker could craft a link that executes script in a victim's browser, potentially leading to information leaks, privilege escalation, or denial of service.
Originally disclosed on HackerOne
- Triaged in 17 hours
- Fixed in 8 days
- Disclosed after 23 days
hello defense team : I found DOM-XSS-SiteMinder on this subdomain : https://████/
Impact
An attacker with access to the Siteminder CA could perform a cross-site scripting attack, which it would use to cause information leaks, privilege escalation, and/or denial of service.
System Host(s)
██████████
Affected Product(s) and Version(s)
CVE Numbers
CVE-2013-5968
Steps to Reproduce
Steps : 1 go to https://███/siteminderagent/forms/smpwservices.fcc?SMAUTHREASON=7&USERNAME=\u003cimg\u0020src\u003dx\u0020onerror\u003d\u0022confirm(document.domain)\u0022\u003e
XSS will be triggered
this is payload : \u003cimg\u0020src\u003dx\u0020onerror\u003d\u0022confirm(document.domain)\u0022\u003e
Suggested Mitigation/Remediation Actions
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 SiteMinder form reflects the USERNAME parameter into the DOM without encoding or validation, allowing injected markup to execute.
Impact
An attacker could cause information leaks, privilege escalation, and/or denial of service through the cross-site scripting attack.
What the attacker needed
Victim clicks a crafted link
How it was found
- Open the SiteMinder form URL on the affected subdomain with a crafted USERNAME parameter.
- The page processes the parameter and the injected image error handler runs, showing a confirm dialog with the document domain.
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.
Cross-site scripting (XSS) is when a website takes input from a user and puts it into a page without cleaning it, so an attacker can make the page run their own JavaScript. Here, the username value in the web address is placed into the page, and a crafted value containing an image tag with an error handler runs script when the image fails to load. This lets an attacker run code in the browser of anyone who clicks a specially crafted link.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.