CVE-2024-45388: falha de alta gravidade em SpectoLabs hoverfly
Arbitrary file read in the `/api/v2/simulation` endpoint in hoverfly (`GHSL-2023-274`)
Publicada em · Atualizada em
70Vexday Risk Score
Corrija agora. Ela exploração observada pelo VulnCheck e tem exploit funcional público.
ssvc Actcvss 7.5epss 56%
da publicação à arma
Publicada no NVD2 de set.
VulnCheck+94d
probabilidade de exploração
56%top 1% das CVEs
exploração observada
simVulnCheck
Hoverfly is a lightweight service virtualization/ API simulation / API mocking tool for developers and testers. The `/api/v2/simulation` POST handler allows users to create new simulation views from the contents of a user-specified file. This feature can be abused by an attacker to read arbitrary files from the Hoverfly server. Note that, although the code prevents absolute paths from being specified, an attacker can escape out of the `hf.Cfg.ResponsesBodyFilesPath` base path by using `../` segments and reach any arbitrary files. This issue was found using the Uncontrolled data used in path expression CodeQL query for python. Users are advised to make sure the final path (`filepath.Join(hf.Cfg.ResponsesBodyFilesPath, filePath)`) is contained within the expected base path (`filepath.Join(hf.Cfg.ResponsesBodyFilesPath, "/")`). This issue is also tracked as GHSL-2023-274.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Produtos afetados
SpectoLabs · hoverflyCVEs relacionadas — SpectoLabs hoverfly
No mesmo produto, das mais perigosas para as menos.
CVE-2025-54123CRITICALHoverfly vulnerable to remote code execution at `/api/v2/hoverfly/middleware` endpoint due to insecure middleware implementationEPSS 10.5%CVE-2025-54376HIGHHoverfly's WebSocket endpoint `/api/v2/ws/logs` reachable without authentication even when --auth is enabled.EPSS 0.7%CVE-2026-50018MEDIUMHoverfly: Denial of Service via Goroutine Leak in Remote Post-Serve ActionsEPSS 0.5%CVE-2026-50013HIGHHoverfly: Process Crash via Concurrent Map Write Race Condition in Diff ModeEPSS 0.5%
Referências
https://codeql.github.com/codeql-query-help/go/go-path-injectionhttps://github.com/spectolabs/hoverfly/blob/15d6ee9ea4e0de67aec5a41c28d21dc147243da0/core/handlers/v2/simulation_handler.go#L87https://github.com/SpectoLabs/hoverfly/releases/tag/v1.10.3https://github.com/SpectoLabs/hoverfly/security/advisories/GHSA-6xx4-x46f-f897