How a 404 Page Led Me to an Unauthenticated AI Chatbot Leaking an
An unauthenticated AI chatbot endpoint exposed internal documentation, allowing an attacker to extract sensitive operational data by asking legitimate domain questions with a verbatim quoting instruction. The extracted data included SAP custom transactions, manufacturing facility names, and a destructive BOM deletion procedure.
Published on roohaan.medium.com
It was a Wednesday night. I had been grinding a wildcard scope for a Fortune 100 manufacturing program for about six hours and I was tired.
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 chatbot endpoint lacked authentication and the underlying retrieval system returned verbatim document content when prompted with legitimate domain questions.
Impact
An attacker could extract sensitive internal documentation, including custom SAP transactions, manufacturing facility details, and a destructive BOM deletion procedure, without authentication.
What the attacker needed
No authentication required; Knowledge of the endpoint URL
The fix
The host was eventually taken offline.
How it was found
- Send a request to the chatbot endpoint with a message parameter.
- Ask a legitimate domain question and append a request to quote the exact procedure verbatim.
- Receive the raw text of an internal job aid in the response.
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 company had an AI chatbot that answered questions about internal documents. Anyone on the internet could ask it questions without logging in. By asking normal work questions and requesting exact quotes, the attacker got the chatbot to reveal confidential information like factory names and dangerous procedures.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.