CVE Radar Logo
CVERadar
CVE Radar Logo
CVERadar

CVE-2024-45388

High Severity
Hoverfly
SVRS
68/100

CVSSv3
7.5/10

EPSS
0.91503/1

CVE-2024-45388 is a critical vulnerability in Hoverfly, an API simulation tool, allowing unauthorized file access. This flaw permits attackers to read arbitrary files on the server by manipulating the file path used in the /api/v2/simulation POST handler. While absolute paths are blocked, attackers bypass restrictions using "../" to escape the base path, compromising data security. Despite a CVSS score of 7.5, its SVRS score of 68 indicates a moderate risk, yet the existence of active exploits labeled "In The Wild" and "Exploit Available", demands immediate attention. Exploitation could lead to sensitive information disclosure, impacting system confidentiality and integrity. It is imperative to apply necessary patches or mitigations to prevent potential breaches. This vulnerability highlights the risks associated with uncontrolled data used in path expressions and underscores the importance of rigorous input validation and path sanitization practices in software development.

In The Wild
Exploit Avaliable
CVSS:3.1
AV:N
AC:L
PR:N
UI:N
S:U
C:H
I:N
A:N
2024-09-02

2024-09-19
Eye Icon
SOCRadar
AI Insight

Description

CVE-2024-45388 affects Hoverfly, a service virtualization tool. It allows attackers to read arbitrary files from the Hoverfly server by abusing the /api/v2/simulation POST handler. Despite the code's attempt to prevent absolute paths, attackers can escape the base path using ../ segments. The SVRS of 38 indicates a moderate risk, but the vulnerability is actively exploited in the wild, making it critical to address.

Key Insights

  • Uncontrolled File Access: Attackers can access sensitive files on the Hoverfly server, potentially compromising confidential data or disrupting operations.
  • Exploitation in the Wild: Active exploits are available, increasing the likelihood of successful attacks.
  • Moderate Severity: While the CVSS score of 7.5 suggests a moderate severity, the SVRS of 38 and the active exploitation in the wild warrant immediate attention.

Mitigation Strategies

  • Update Hoverfly: Install the latest version of Hoverfly, which includes a fix for this vulnerability.
  • Restrict File Access: Configure Hoverfly to restrict access to sensitive files and directories.
  • Monitor for Suspicious Activity: Implement security monitoring tools to detect and respond to suspicious file access attempts.
  • Educate Users: Inform users about the vulnerability and the importance of following best practices for file handling.

Additional Information

  • Threat Actors/APT Groups: No specific threat actors or APT groups have been identified as actively exploiting this vulnerability.
  • CISA Warnings: The Cybersecurity and Infrastructure Security Agency (CISA) has not issued a warning for this vulnerability.
  • Exploit Status: Active exploits have been published.

If users have additional queries regarding this incident, they can use the 'Ask to Analyst' feature, contact SOCRadar directly, or open a support ticket for more information if necessary.

Indicators of Compromise

No IOCs found for this CVE

Exploits

TitleSoftware LinkDate
codeb0ss/CVE-2024-45388-PoChttps://github.com/codeb0ss/CVE-2024-45388-PoC2024-09-09
Enhance Your CVE Management with SOCRadar Vulnerability Intelligence
Get comprehensive CVE details, real-time notifications, and proactive threat management all in one platform.
CVE Details
Access comprehensive CVE information instantly
Real-time Tracking
Subscribe to CVEs and get instant updates
Exploit Analysis
Monitor related APT groups and threats
IOC Tracking
Analyze and track CVE-related IOCs

News

No news found for this CVE

Social Media

CVE-2024-45388 Hoverfly is a lightweight service virtualization/ API simulation / API mocking tool for developers and testers. The `/api/v2/simulation` POST handler allows users to … https://t.co/BkmINckHeg
0
0
0

Affected Software

Configuration 1
TypeVendorProduct
AppHoverflyhoverfly

References

ReferenceLink
[email protected]https://codeql.github.com/codeql-query-help/go/go-path-injection
[email protected]https://github.com/SpectoLabs/hoverfly/releases/tag/v1.10.3
[email protected]https://github.com/SpectoLabs/hoverfly/security/advisories/GHSA-6xx4-x46f-f897
[email protected]https://github.com/spectolabs/hoverfly/blob/15d6ee9ea4e0de67aec5a41c28d21dc147243da0/core/handlers/v2/simulation_handler.go#L87
GITHUBhttps://github.com/SpectoLabs/hoverfly/security/advisories/GHSA-6xx4-x46f-f897

CWE Details

CWE IDCWE NameDescription
CWE-200Exposure of Sensitive Information to an Unauthorized ActorThe product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')The software uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the software does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

CVE Radar

Real-time CVE Intelligence & Vulnerability Management Platform

CVE Radar provides comprehensive vulnerability intelligence by monitoring CVE databases, security advisories, and threat feeds. Get instant updates on new vulnerabilities, exploit details, and mitigation strategies specific to your assets.

Get Free Vulnerability Intelligence AccessAccess real-time CVE monitoring, exploit analysis, and threat intelligence