Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
Mockoon: Path traversal in templated `filePath` lets a request escape the served directory (prefix-only base check)
Vulnerability Description
Mockoon provides way to design and run mock APIs. Prior to 9.7.0, a FILE response whose filePath embeds request data is confined by getSafeFilePath in packages/commons-server/src/libs/server/server.ts with resolvedPath.startsWith(staticBaseDir). That prefix test has no path-separator boundary, so a ../-escaped path whose absolute form string-prefixes the base directory passes, allowing an unauthenticated client to read files from sibling paths outside the served directory through HTTP sendFile, WebSocket, or callbacks. This issue is fixed in version 9.7.0.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
Mockoon 路径遍历漏洞
Vulnerability Description
Mockoon是mockoon团队开源的一个接口软件。 Mockoon 9.7.0之前版本存在路径遍历漏洞,该漏洞源于路径遍历,允许未经身份验证的客户端通过HTTP sendFile、WebSocket或回调从服务目录外的同级路径读取文件。
CVSS Information
N/A
Vulnerability Type
N/A