Skip to content
Open redirect Disclosed report Beginner

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.

dineshvicky Follow

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 .

The original report as published on HackerOne, by dineshvicky. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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.

More from Khan Academy

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Open redirect

The lesson behind this report.

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.