CVE-2025-51471
MEDIUMOllama 0.6.7 - Cross-Domain Token Exposure via WWW-Authenticate Header Realm
Title source: llmExploitation Summary
EIP tracks 2 public exploits for CVE-2025-51471. PoCs published by adminlove520, ajtazer.
AI-analyzed exploit summary The repository contains functional exploit code for multiple CVEs, including authentication bypass vulnerabilities in TOTOLINK devices and a scanner for Fortinet SSL VPN (CVE-2024-21762). The PoCs demonstrate the vulnerabilities with clear technical details and executable scripts.
Description
Cross-Domain Token Exposure in server.auth.getAuthorizationToken in Ollama 0.6.7 allows remote attackers to steal authentication tokens and bypass access controls via a malicious realm value in a WWW-Authenticate header returned by the /api/pull endpoint.
Exploits (2)
The repository contains functional exploit code for multiple CVEs, including authentication bypass vulnerabilities in TOTOLINK devices and a scanner for Fortinet SSL VPN (CVE-2024-21762). The PoCs demonstrate the vulnerabilities with clear technical details and executable scripts.
This repository contains a functional Proof of Concept (PoC) for CVE-2025-51471, demonstrating a Cross-Domain Authentication Token Exposure vulnerability in Ollama. The exploit involves setting up a malicious registry server that tricks Ollama into sending its authentication token to an attacker-controlled endpoint via a crafted `WWW-Authenticate` header.
References (4)
Scores
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N