Skip to content
OAuth / SSO Write-up Intermediate

Breaking OAuth Trust: An Analysis of CVE-2026–45430 in Backdrop CMS

The Salesforce OAuth module for Backdrop CMS did not generate or validate a random state parameter, and its callback endpoint was accessible to most authenticated users. An attacker could start an OAuth flow with their own Salesforce account and send the callback URL to a victim administrator, causing the site to link to the attacker's Salesforce account and exposing or altering data.

me5476793 Follow

Published on medium.com

Recently, a critical vulnerability affecting the Salesforce module of Backdrop CMS was assigned as CVE-2026–45430.

swordmein, on medium.com

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

Impact

The victim website could become linked to the attacker's Salesforce account, allowing synchronization operations under attacker control, possible exposure of sensitive data, and compromised record integrity; the callback was accessible to most authenticated users and potentially anonymous users depending on site configuration.

What the attacker needed

Victim is an administrator; victim clicks a crafted callback link; attacker has a Salesforce account

The fix

The issue was fixed in version 1.x-1.0.1 by generating and validating random OAuth state values and restricting callback endpoint permissions.

How it was found

  1. Start an OAuth authorization flow using the attacker's own Salesforce account.
  2. Obtain a valid authorization code.
  3. Send a crafted callback URL to a victim administrator.
  4. Force the target website to exchange the attacker-controlled code for valid 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 write-up has not been written yet. The Original tab links to the source.

OAuth is a way for a website to connect to another service, like Salesforce, without sharing your password. A random 'state' value is a one-time code the website creates before sending you to the other service and checks when you come back, to make sure the reply belongs to your login attempt. Without that check, an attacker can trick an administrator into linking the site to the attacker's own Salesforce account.

What is OAuth / SSO?

Mistakes in OAuth, OpenID Connect, SAML or token handling that leak codes and tokens or link an attacker's identity to a victim's account.

Similar reports

View all

Same bug class and techniques, clearest first.

OAuth and single sign-on flaws

The lesson behind this report.

Mistakes in OAuth, OpenID Connect, SAML or token handling that leak codes and tokens or link an attacker's identity to a victim's account.