Skip to content
AI / LLM Write-up Intermediate

Full Customer DB dump in Service Now and they called it “Medium Risk” — what a joke

An internet-exposed AI chatbot for ServiceNow's customer database allowed unauthenticated users to interact with it and modify backend SQL queries. Through prompt injection, the author dumped the entire customer database, exposing contact information, sales data, and internal metrics.

Facundo Fernandez Follow

Published on fdzdev.medium.com

If you haven’t connected with me on LinkedIn send me a request!

Facundo Fernandez, on fdzdev.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 the AI chatbot lacked proper authentication and input validation, allowing users to modify SQL queries and bypass access controls via prompt injection.

Impact

An unauthenticated attacker could access the entire customer database, potentially exposing PII and financial records, though the text does not specify if all data was actually retrieved.

What the attacker needed

Internet access; no authentication required

The fix

The issue was fixed according to the timeline, but the text does not describe the fix.

How it was found

  1. Found an internal-looking AI chatbot URL during recon.
  2. Interacted with the chatbot without authentication and saw a SQL compilation error exposing table and column names.
  3. Used the Modify Query option to tweak SQL queries.
  4. Experimented with prompt injections to dump the entire customer database.

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.

An AI chatbot was connected to a company's customer database. The chatbot was supposed to only let logged-in users see data, but it accepted instructions from anyone. By typing special instructions, the author tricked the chatbot into running database queries and showing all the customer information.

What is AI / LLM?

Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.

Similar reports

View all

Same bug class and techniques, clearest first.

AI and LLM vulnerabilities

The lesson behind this report.

Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.