CVE-2025-59049
CVE-2025-59049 · Mockoon has a Path Traversal and LFI in the static file serving endpoint
Здесь приведены факты из открытых источников об уязвимостях. Перед обновлением ознакомьтесь с исходным сообщением.
Mockoon provides way to design and run mock APIs. Prior to version 9.2.0, a mock API configuration for static file serving follows the same approach presented in the documentation page, where the server filename is generated via templating features from user input is vulnerable to Path Traversal and LFI, allowing an attacker to get any file in the mock server filesystem. The issue may be particularly relevant in cloud hosted server instances. Version 9.2.0 fixes the issue.
CVSS 7.5 · Высокий · EPSS 1,8% · Публичный эксплойт · Есть исправление
- Опубликовано
- Обновлено
Стек: node
Затронутые продукты и версии
mockoon
- Версии
- < 9.2.0: Затронуто
Нет опубликованного исправления
@mockoon/commons-server npm
- Затронутые диапазоны версий
- SEMVER: < 9.2.0
Обновитесь до 9.2.0
@mockoon/cli npm
- Затронутые диапазоны версий
- SEMVER: < 9.2.0
Обновитесь до 9.2.0
Первоисточники
- https://github.com/mockoon/mockoon/security/advisories/GHSA-w7f9-wqc4-3wxr
- https://github.com/mockoon/mockoon/commit/c7f6e23e87dc3b8cc44e5802af046200a797bd2e
- https://github.com/mockoon/mockoon/blob/1ed31c4059d7f757f6cb2a43e10dc81b0d9c55a9/packages/commons-server/src/libs/server/server.ts#L1400
- https://github.com/mockoon/mockoon/blob/1ed31c4059d7f757f6cb2a43e10dc81b0d9c55a9/packages/commons-server/src/libs/server/server.ts#L1551
- https://nvd.nist.gov/vuln/detail/CVE-2025-59049