Skip to content
CSRF Write-up Beginner

BMW Vulnerabilities – Hijack Cars ConnectedDrive™ Service!

The BMW ConnectedDrive web application lacked frame-busting and anti-CSRF protections, making it vulnerable to clickjacking and cross-site request forgery. An attacker could trick a logged-in user into performing unwanted actions, potentially leading to account takeover or changing account credentials.

Mohamed A. Baset Follow

Published on seekurity.com

Hi Folks, Let me tell you the story about some typical vulnerabilities that was discovered by @Seekurity Team in BMW ConnectedDrive service which will allow any beginner attacker to hijack the whole service!

Mohamed A. Baset, on seekurity.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

Root cause

Likely the application did not set the X-Frame-Options header or use frame-busting techniques, and it did not include anti-CSRF tokens in state-changing requests.

Impact

An attacker could perform unwanted actions in a logged-in user's session, potentially leading to full account takeover or changing account credentials.

What the attacker needed

Victim is logged in; victim visits attacker's page

The fix

The application should add an X-Frame-Options header set to Deny or Sameorigin, use frame-busting techniques, and include anti-CSRF tokens in requests.

How it was found

  1. Attacker iframes a sensitive page and overlays elements to trick the user.
  2. User is tricked into clicking on the iframed page.
  3. Unwanted actions occur in the logged-in user's session.

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.

Clickjacking tricks you into clicking something you didn't intend to by hiding a button under a transparent layer. CSRF tricks your browser into sending a request to a site you're logged into, without your knowledge. Both can let an attacker change your account details or take over your account.

What is CSRF?

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

More by Mohamed A. Baset

View all

20 more disclosed reports, best first.

More from BMW

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.