Skip to content
XXE Disclosed report Intermediate

XXE in OAuth2 Applications gallery profile App logo

An OAuth2 application gallery accepted an SVG (XML-based) uploaded as an app logo, and the server executed the XML payload, indicating XML injection.

s1ck-sec Follow

Originally disclosed on HackerOne

  • Disclosed after 5 days

upload svg photo (XML based) as App logo contain XML payload renamed to .jpg server start execute this XML payload or just watch this video "https://www.dropbox.com/s/wkba6f0wrax0wr8/xxe.mp4?dl=0"

the same vulnerability was in https://www.coinbase.com/careers and reported by https://hackerone.com/mohaab007 one year ago "https://www.youtube.com/watch?v=qzbafFSFhtU"

The original report as published on HackerOne, by s1ck-sec. 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

Impact

The server executes the uploaded XML payload, which may have security consequences.

What the attacker needed

Ability to upload an app logo; server parses SVG as XML

How it was found

  1. Create an SVG file containing an XML external entity payload.
  2. Rename the SVG file to have a .jpg extension.
  3. Upload it as the app logo in the OAuth2 application gallery profile.
  4. The server processes the XML payload.

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.

XML is a data format that can include special instructions called entities. If a server processes an uploaded XML file without disabling external entities, an attacker can make the server fetch local files or internal resources. Here, an SVG image (which is XML) was accepted as an app logo and processed insecurely.

What is XXE?

An XML parser resolves entities the attacker defines, reading local files or making the server send requests.

More by s1ck-sec

View all

2 more disclosed reports, best first.

More from Coinbase

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

XML external entities (XXE)

The lesson behind this report.

An XML parser resolves entities the attacker defines, reading local files or making the server send requests.