Skip to content
CSRF Write-up Beginner

ActBlue CSRF Security Vulnerability Responsible Disclosure

ActBlue's donation flow lacked protection against cross-site request forgery, so a page the victim visited could submit donations to candidates using the victim's saved payment details. An attacker could charge a victim's card without their consent by getting them to click a link.

rajk.me

Published on rajk.me

Navigating to the hyperlinks in this red box may charge your credit card without your consent. Before continuing, read the entire HTML source code.

The author, on rajk.me

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 donation endpoint accepted state-changing requests without a per-request anti-CSRF token or equivalent origin check, so a saved-payment session could be reused from another site.

Impact

A victim with a saved card could be charged for donations they never intended, though the report only demonstrates small one-dollar donations.

What the attacker needed

A saved card via Express Lane; victim clicks a crafted link; cookies enabled

How it was found

  1. Enable cookies and use a current Firefox or Chrome.
  2. Sign in or donate once so the card is saved with Express Lane.
  3. In the same browser session, click the prepared donation links.
  4. Wait for the thank-you page, then check the card statement for the charge.

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.

When you save a card on a shopping site, the site remembers you with a cookie. If the site does not check that a payment request really came from its own pages, another website can quietly send that request for you. This is called cross-site request forgery, and here it meant money could be taken from a saved card just by clicking a link.

What is CSRF?

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

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.