Skip to content
Business logic Write-up Beginner

From Prompt to Payout: How a ChatGPT Prompt Led Me to a Bounty

The report describes a missing CAPTCHA on an API key rotation endpoint, which the program later confirmed could allow automated SMS abuse. The researcher found the feature by asking ChatGPT to suggest places where CAPTCHA was absent.

medium.com

Published on medium.com

I’m back with another blog as promised. Without wasting time, let’s get straight to the main things.

errorsec_, 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 program stated that implementing CAPTCHA on the API key rotation endpoint would help mitigate the risk of automated SMS abuse.

What the attacker needed

Access to the application; ability to trigger API key rotation

The fix

The program marked the issue as 'To Fix' and planned to implement CAPTCHA on the API key rotation endpoint.

How it was found

  1. Read the program's promotional message asking for missing CAPTCHA features.
  2. Asked ChatGPT to suggest features where CAPTCHA should be implemented.
  3. Selected the API key rotation feature from ChatGPT's suggestions.
  4. Submitted the report about missing CAPTCHA on API key rotation.

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 CAPTCHA is a test that tries to tell humans from automated scripts. Here, a feature that rotates API keys had no such test, so a script could trigger it repeatedly. The program said this could lead to automated SMS abuse, meaning someone could make the system send many text messages automatically.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.