1. Accueil
  2. Vulnérabilités
  3. CVE-2024-45388

CVE-2024-45388

Hoverfly is a lightweight service virtualization/ API simulation / API mocking tool for developers and…

Publiée le 2 sept. 2024 · modifiée le 17 juin 2026 · Sources : NVD, EPSS (FIRST)

Élevé 66/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Hoverfly (1 ligne(s))
Hoverfly
ProduitVersionsCorrigé dansSource
Hoverfly avant 1.10.3 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Hoverfly < 1.10.3 - Arbitrary File Readsource officielle

Modèle Nuclei

nuclei -u https://VOTRE-HOTE -t http/cves/2024/CVE-2024-45388.yaml

Source : Ouvrir

Chronologie

  1. — Publication de la CVE (cve)
  2. — Modèle de détection Nuclei (nuclei) date de première observation

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N (CVSS 3.1, NVD)
Faiblesse
CWE-22 · Traversée de chemin / fichiers

Comment sont obtenues et calculées ces données