When AI Gossips: How I Eavesdropped on a Federated Learning System
A federated learning platform left debug endpoints exposed in production that returned per-client model update differentials and aggregated model metadata. An attacker could use these to infer which hospital clients had unusual or rare medical cases, what type of data they processed and when, breaking the platform's privacy promise.
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 debug and metadata endpoints were left reachable in production and exposed per-client gradient and data-distribution details without anonymisation.
Impact
The author could infer which hospital had rare medical cases, what kind of scans it processed and when, and the system also published per-client data distribution statistics, breaking the privacy guarantee.
What the attacker needed
Access to public code repositories; reachable debug endpoints; public health data for correlation
The fix
The text says the fix required architectural changes such as differential privacy noise injection, secure multi-party computation, debug environment segregation and gradient anonymisation.
How it was found
- Find the central aggregation route and client registration endpoint through public repository commits and JavaScript analysis
- Try to register as a fake client and get rejected for an invalid federation token
- Query the exposed debug model-diffs endpoint across several training rounds
- Collect each client's update magnitudes and look for high variance
- Correlate the high-variance client with public health reports and timing
- Query the unprotected model metadata endpoint to read per-client data distributions
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.
Federated learning is a way to train an AI where each hospital keeps its own patient data and only sends small numeric updates to a central server. The author found that the server had leftover debugging pages, meant for developers, that showed these updates and other details per hospital. Reading them let him guess which hospital was seeing rare medical cases, even though no patient records were ever sent.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.