Skip to content
XSS Disclosed report Advanced

Stealing Facebook OAuth Code Through Screenshot viewer

The report describes combining an image injection flaw in a Screenshot Viewer with other vulnerabilities to potentially extract OAuth tokens from a victim's session. The image injection issue has been fixed, preventing the potential exfiltration of authentication tokens.

netfuzzer Follow

Originally disclosed on HackerOne

Medium 5.8 View original
  • Triaged in 41 hours
  • Fixed in 35 days
  • Paid in 41 hours
  • Disclosed after 35 days

Summary by the program

In this report, the researcher demonstrated a way to combine multiple vulnerabilities to potentially allow an attacker to extract Oauth tokens from a victim's session. This was done by taking advantage of an image injection vulnerability in the Screenshot Viewer utility as well as additional vulnerabilities still being resolved. Combining these vulnerabilities allowed for an impact greater than the individual impact of each issue on their own. We have resolved the image injection vulnerability, thereby preventing the potential exfiltration of sensitive authentication tokens.

The original report as published on HackerOne, by netfuzzer. 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 an image injection vulnerability in the Screenshot Viewer allowed attacker-controlled content to be loaded, which when chained with other flaws could expose OAuth tokens.

Impact

An attacker could potentially extract OAuth tokens from a victim's session, but the image injection vulnerability has been resolved, preventing this exfiltration.

What the attacker needed

Victim uses Screenshot Viewer; other vulnerabilities present

The fix

The image injection vulnerability was fixed, which prevents the potential exfiltration of authentication tokens.

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.

OAuth is a way for websites to let you log in using another service, like Facebook, without sharing your password. The report says a tool that shows screenshots could be tricked into loading an attacker's image, and when combined with other bugs, this might let an attacker steal the special code that proves who you are. The image problem has been fixed.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by netfuzzer

View all

47 more disclosed reports, best first.

More from Rockstar Games

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.