CVE-2024-45388
Last modified
CVE-2024-45388 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 55.86% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Hoverfly | Hoverfly | < 1.10.3 |
References
- https://github.com/SpectoLabs/hoverfly/security/advisories/GHSA-6xx4-x46f-f897Exploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-45388?
How severe is CVE-2024-45388?
How do I fix CVE-2024-45388?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-45382in OpenHarmony v4.1.0 and prior versions allow a local attac…5.5
- CVE-2024-45383A mishandling of IRP requests vulnerability exists in the HD…5
- CVE-2024-45384Padding Oracle vulnerability in Apache Druid extension, drui…5.3
- CVE-2024-45385A vulnerability has been identified in Industrial Edge Manag…6.1
- CVE-2024-45386A vulnerability has been identified in SIMATIC PCS neo V4.0 …8.8
- CVE-2024-45387An SQL injection vulnerability in Traffic Ops in Apache Traf…8.8
- CVE-2024-45389Pagefind, a fully static search library, initializes its dyn…5.4
- CVE-2024-4539An issue has been discovered in GitLab CE/EE affecting all v…6.5
- CVE-2024-45390@blakeembrey/template is a string template library. Prior to…9.8
- CVE-2024-45391Tina is an open-source content management system (CMS). Site…7.5
- CVE-2024-45392SuiteCRM is an open-source customer relationship management …4.3
- CVE-2024-45393Computer Vision Annotation Tool (CVAT) is an interactive vid…6.4
Are you affected by CVE-2024-45388?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
