漏洞描述
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.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
github.comhttps://github.com/advisories/GHSA-6xx4-x46f-f897↗nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2024-45388↗codeql.github.comhttps://codeql.github.com/codeql-query-help/go/go-path-injection↗github.comhttps://github.com/SpectoLabs/hoverfly/releases/tag/v1.10.3↗github.comhttps://github.com/SpectoLabs/hoverfly/security/advisories/GHSA-6xx4-x46f-f897↗github.comhttps://github.com/spectolabs/hoverfly/blob/15d6ee9ea4e0de67aec5a41c28d21dc147243da0/core/handlers/v2/simulation_handler.go#L87↗