Skip to content
CORS Write-up Beginner

Exploiting insecure CORS API api.artsy.net

The API had an insecure CORS configuration that was successfully exploited in a bug bounty program.

Muhammad Khizer Javed Follow

Published on blog.securitybreached.org

Means that the website is vulnerable to CORS attack, then i followed up with GeekBoy Blog Post as he clearly share the exploit about the CORS issue, I found an API endpoint where i can see the details of user that is logged in,

Muhammad Khizer Javed (@khizer_javed47), on blog.securitybreached.org

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the server echoed the request's Origin header into Access-Control-Allow-Origin while also setting Access-Control-Allow-Credentials to true, instead of checking the origin against an allowlist.

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 write-up has not been written yet. The Original tab links to the source.

CORS is a browser rule about which sites may read responses. This API had an insecure CORS setup that was exploited.

What is CORS?

A permissive cross-origin policy lets another site read responses with the user's credentials.

More by Muhammad Khizer Javed

View all

21 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

CORS misconfiguration

The lesson behind this report.

A permissive cross-origin policy lets another site read responses with the user's credentials.