Skip to content
IDOR Write-up Intermediate

Out of Scope, Out of Mind? The

An API endpoint allowed changing account and card IDs to access another user's card details, and a third-party hashing service produced predictable hashes that let an attacker brute-force the CVC. An attacker could retrieve victim card numbers and CVCs.

talatumsolutions Follow

Published on medium.com

Bug bounty programs are essential for identifying and mitigating vulnerabilities in an organizations software and systems. However, one critical aspect often overlooked is the inclusion of third-party services and integrations within the scope of these programs.

Talatum Labs, 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

Root cause

Likely missing access control on the API endpoint and a predictable hashing scheme in the third-party service.

Impact

An attacker could retrieve victim card numbers and, by brute-forcing the CVC, obtain full card details.

What the attacker needed

Access to the API endpoint; knowledge of victim account and card IDs; access to the third-party hashing service

How it was found

  1. Manipulate the endpoint by changing the account ID and card ID to access another user's card details.
  2. Target the third-party service that generates credit card hashes using card number and CVC.
  3. Test different CVC numbers and compare the resulting hashes to find the correct CVC.

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.

A web API let someone change numbers in a request to see other people's card details. A separate service made a fingerprint (hash) of the card number and security code, but it always made the same fingerprint for the same pair, so an attacker could guess the security code by trying many and comparing fingerprints.

What is IDOR?

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.