RXSS in https://jp.mcafee.com/apps/mdm/jp/3.0_asp/
A reflected cross-site scripting vulnerability was found on a McAfee subdomain, where a crafted URL parameter is inserted into a JavaScript function without proper encoding. An attacker could execute arbitrary JavaScript in a victim's browser by tricking them into clicking a link.
Originally disclosed on HackerOne
- Triaged in 10 hours
- Fixed in 2.0 years
- Disclosed after 5.0 years
Summary:
Hello!
I found another subdomain with XSS, let me show you the steps to reproduce it...
Website reports - browsers verified In:
Chrome 87/ Firefox
Steps to reproduce:
- Write the following URL: https://jp.mcafee.com/apps/mdm/jp/3.0_asp/scripting.asp?targetURL=%22);alert(document.domain);//
- Click on the button

<html>
<head>
<title>McAfee: スクリプトの有効化</title>
<link rel="stylesheet" type="text/css" href="http://jp.mcafee.com/common/stylesheets/general.css">
</head>
<script language=javascript>
function onClickBack()
{
window.location.replace ("");alert(document.domain);//");
}
</script>
<body>
Regards!
Impact
XSS
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 application inserts the targetURL parameter into a JavaScript string without escaping or encoding, allowing an attacker to break out of the string and inject code.
What the attacker needed
Victim clicks a crafted link
How it was found
- Open the crafted URL containing the malicious targetURL parameter.
- Click the button on the page to trigger the injected script.
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 URL and puts it directly into the page without cleaning it, so an attacker can make the page run their own JavaScript. Here, the 'targetURL' value is placed inside a script, and by including special characters the attacker breaks out and runs code. The victim just has to click a link for the script to run in their browser.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.