Unauthenticated API access via DNS rebinding
Published Apr 8, 2024 · Updated Mar 26, 2025
DNS rebinding in the Ollama HTTP API before 0.1.29 allows remote attackers to access the API through a victim's web browser. The HTTP server did not restrict the Host header to loopback names, so rebinding the page's domain to 127.0.0.1 routed same-origin requests to the unauthenticated local API. A victim must visit attacker-controlled web content; resulting access supports model interaction, local-file disclosure through model creation and pushing, model deletion, and resource-exhaustion denial of service.
Summary
What happened
DNS rebinding in the Ollama HTTP API before 0.1.29 allows remote attackers to access the API through a victim's web browser. The HTTP server did not restrict the Host header to loopback names, so rebinding the page's domain to 127.0.0.1 routed same-origin requests to the unauthenticated local API. A victim must visit attacker-controlled web content; resulting access supports model interaction, local-file disclosure through model creation and pushing, model deletion, and resource-exhaustion denial of service.
The record
- CVE
- CVE-2024-28224
- Published
- Apr 8, 2024
- Updated
- Mar 26, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-350, CWE-346, CWE-290, T1189
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 8, 2024CVE publishedPublication date reported by the CVE source.
- Mar 26, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- NCC Group Ollama DNS rebinding proof of conceptfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo