Ability to add pishing links in discusion ," Bypassing uneductional Links add "
The discussion feature blocked some links but allowed whitelisted domains, and an attacker could bypass the filter by placing an '@' after a trusted domain so the link actually pointed to an attacker-controlled site. This let an attacker post phishing links that appeared to be from the trusted domain.
- Triaged in 9 days
- Fixed in 26 days
- Paid in 2 months
- Disclosed after 14 months
{refer to case number 247874}
Hey devs ,
IF you went in course discussion and tried to add for example " evil.com " it will get blocked by your system . But if you tried to add
https://support.udemy.com/ it will be added directly
So using a thing i learned in old times th ' @ ' sign after a website url like this [email protected] it will actually redirect to to anothersite.com It is because modern browsers interpret this scheme like this "http://authorization_data@website", so, when You click on URL, they get You redirected to "http://website". so this was the way i bypassed the system adding any pishing link in the end of support.udemy.com link or any whitelisted site :
Example :
add it in a discussion and a successfull bypass is done and it will be added to discussion flawlessly .
Now ability to pish user into telling them check this support and they will be confident it's a udemy link but you will dircect them to scam site .
Here is live example :
https://www.udemy.com/course/244336/activities?ids=1415990
So this is it you need not to allow any link with @ in it : Also if you say that the variant after @ will appear as misleading it can be URL encoded !
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 link filter only checked whether the trusted domain appeared in the URL string, without parsing the URL properly to see the real destination host.
Impact
An attacker could post links that appear to point to a trusted domain but actually direct users to a phishing site.
What the attacker needed
Ability to post in a course discussion
The fix
The reporter suggests rejecting any link containing an '@' sign.
How it was found
- Go to a course discussion and try to add a link to a non-whitelisted site; it gets blocked.
- Add a link to a whitelisted site such as the support site; it is accepted.
- Craft a link with the whitelisted domain followed by an '@' and then an attacker domain.
- Post it in a discussion; the filter accepts it and the link is added.
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's discussion area tried to block bad links by only allowing certain trusted domains. But the check could be fooled by putting an '@' sign after the trusted domain, because web browsers treat everything before the '@' as a username and go to the part after it. So a link that looked like it went to the trusted site actually sent people to a scam site.
What is Open redirect?
A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.