Can link to websites from profile
A user's profile website field is rendered as a clickable link without a noreferrer attribute, so the destination site receives the referring page. An attacker could use that referrer to send a visitor back to a lookalike sign-in page.
- Disclosed after 21 hours
when I input a website to my profile it creates tag link: <code><a href="http://test.org" rel="nofollow me">test.org</a></code> this is a flaw, how? if the owner of the profile and a malicious link it is possible to redirect the user to a phishing page of wakatime.
Here's the scenario of this attack:
- Attacker put a malicious link on his profile.
- Once the victim clicks the link, it will be redirected to the malicious link but the malicious link has a malicious code inside that makes an action that it should do something to referral(where it came from before redirection) then the referral is wakatime. Using the malicious code, the malicious code will refresh the wakatime site to a fake wakatime site that will ask for sign in details like that.
you can fix it with: <a href="http://google.com" rel="noreferrer">google.com</a>
Setting this on user provided links provides protection against this kind of attack. The cost of this solution is that the referring site won't show up as a referrer in analytics on the referred sites.
Thanks.
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 profile link is rendered without rel="noreferrer", so the referrer is sent to the external site.
Impact
A victim could be shown a fake sign-in page and have their credentials stolen, though the report only describes this as a possible scenario.
What the attacker needed
Attacker controls a profile; victim clicks the profile link
How it was found
- Attacker puts a malicious link on their profile.
- Victim clicks the link and is sent to the malicious site.
- The malicious site uses the referrer to refresh the victim onto a fake sign-in page.
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.
When you click a link, your browser can tell the new site which page you came from. That information is called the referrer. Here the profile link passes it on, so a hostile site could use it to bounce you to a fake login page.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.