Skip to content
XSS Disclosed report Beginner

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.

lemonoftroy Follow

Originally disclosed on HackerOne

Medium 4.7 View original
  • 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:

  1. Write the following URL: https://jp.mcafee.com/apps/mdm/jp/3.0_asp/scripting.asp?targetURL=%22);alert(document.domain);//
  2. Click on the button
xss.JP.mcafee.com.png
xss.JP.mcafee.com.png From the original on HackerOne


<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

The original report as published on HackerOne, by lemonoftroy. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

  1. Open the crafted URL containing the malicious targetURL parameter.
  2. 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.

More by lemonoftroy

View all

1 more disclosed report, best first.

More from Trellix

View all

The newest disclosed reports for this program.

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.