Skip to content
Info disclosure Write-up Advanced

The ML Blindspot: How I Found Machine Learning APIs Leaking Training Data Like My Ex Leaks…

The author claims to have found machine learning APIs that leak training data, allow model extraction, and expose debug endpoints with sensitive information. An attacker could use these flaws to steal proprietary models and access private user data.

iski Follow

Published on medium.com

Free link 🎈

Iski, 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 the ML API endpoints lacked proper access controls and returned sensitive information such as training data, model details, and debug information without authentication.

Impact

The exposed information could include sensitive user data and proprietary model details, and the model could be stolen, but the report notes the submission was ultimately marked as a duplicate.

What the attacker needed

Access to the ML API endpoints; no authentication required

How it was found

  1. Discover ML API endpoints by testing common paths like /api/v1/predict and /api/v1/classify.
  2. Send crafted requests to these endpoints to attempt to extract training data or model information.
  3. Perform membership inference attacks by querying the API multiple times and analysing confidence scores.
  4. Conduct model extraction by sending many queries and training a substitute model on the responses.
  5. Search for debug endpoints such as /api/v1/debug and /api/v1/model/info that may expose sensitive configuration.

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.

Machine learning APIs are services that let apps use AI models to make predictions. This report says the author found that some of these APIs were too open: they let anyone ask for details about the data used to train the model, or even copy the model itself. That could expose private information or let someone steal the company's AI technology.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by iski

View all

186 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.