OPEN URL REDIRECT through PNG files
The image_url parameter used when saving a CS program did not validate its value, allowing an attacker to create an arbitrary external redirect. An attacker could use a PNG file to redirect users to a malicious domain.
Originally disclosed on HackerOne
- Triaged in 11 hours
- Fixed in 5 months
- Disclosed after 6 months
Summary by the program
An abuse of the image_url parameter when saving a CS program was able to create an arbitrary external redirect. We now validate the parameter before using it.
Summary by the researcher
I have found a way through which an attacker can use png files to redirect to malicious domain .
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 image_url parameter was used without validating that it pointed to an allowed image location, so it could hold an external URL.
Impact
An attacker could redirect users to a malicious domain, though the text does not specify any further harm.
What the attacker needed
Ability to save a CS program
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.
An open redirect is a flaw where a website sends you to another site based on a link you click. Here, the image_url setting was not checked, so someone could make the site redirect visitors to a harmful domain.
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.