How I Taught AI to Predict Zero-Days Before They Happened (And Got Paid for Bugs That Didn’t Exist…
The author built an AI tool to predict vulnerabilities in a company's codebase and then manually verified two of the predictions: an IDOR that allowed access to another user's document and a SQL injection that returned all users. The text claims these were real vulnerabilities but provides no evidence of a bounty payout or responsible disclosure.
infosecwriteups.com
Published on infosecwriteups.com
Free link 🎈
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 access control function only compared organisations and not user IDs, and the search function built SQL queries by inserting user input directly.
Impact
An attacker could view other users' documents and retrieve all user records, but the text does not state whether these issues were fixed or rewarded.
What the attacker needed
Access to the public code repository; a valid user account and token
How it was found
- Clone the target's public repository from the bug bounty scope.
- Run the AI analysis tool on the codebase to get vulnerability predictions.
- Manually test the predicted IDOR by sending a request with a user token to a document endpoint.
- Manually test the predicted SQL injection by sending a crafted query in a search request.
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.
This is a story about using a machine learning program to guess where security bugs might be in computer code. The author then checked two of those guesses by hand and found they were real: one let them see another person's document, and another let them list all users. However, the story is more about the AI tool than about how the bugs were fixed or reported.
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.