Skip to content
CSRF Write-up Beginner

My Experience with the PayPal Bug Bounty Programme

Two forms in PayPal's selling preferences lacked anti-CSRF tokens, allowing an attacker to change a victim's customer service message and payment receiving preferences. The impact was limited to unauthorised changes to those settings.

Jack Whitton Follow

Published on whitton.io

Bounty$750 View original

Rather than start off with a generic “Hello, World” post, I’ll discuss my submissions to the PayPal Bug Bounty programme.

Jack Whitton (@fin1te), on whitton.io

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 forms lacked a CSRF token or other anti-forgery protection, unlike other pages on the site.

Impact

An attacker could change a victim's customer service message and payment receiving preferences without their consent.

What the attacker needed

Victim is logged in; victim visits attacker's page

The fix

The forms should include a CSRF token, as other pages do; the text says the issues were fixed.

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.

CSRF (Cross-Site Request Forgery) is when a malicious website makes a logged-in user's browser send a request to another site without the user's knowledge. Here, the forms that change selling preferences did not include a secret token to prove the request came from the real site, so an attacker could trick a victim into submitting changes.

What is CSRF?

Another site makes a signed-in user's browser perform an action they did not intend.

More by Jack Whitton

View all

1 more disclosed report, best first.

More from PayPal

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site request forgery (CSRF)

The lesson behind this report.

Another site makes a signed-in user's browser perform an action they did not intend.