CVE-2017-16146: mockserve - Path Traversal
- Cve: CVE-2017-16146
- Name: mockserve - Path Traversal
- Description: mockserve is a file server. mockserve is vulnerable to a directory traversal issue, giving an attacker access to the filesystem by placing "../" in the url.
- Impact: Attackers can access sensitive files on the server, potentially leading to information disclosure or system compromise.
- Remediation: Implement input validation to sanitize URL paths and prevent directory traversal sequences.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_read, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.01937
- Epss percentile: 0.80642
- Assignee: [email protected]
- Published at: 2018-06-07T02:29:04Z
- Age in days: 3092
- Modified at: 2026-06-17T01:08:52Z
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-16146
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/JacksonGL/NPM-Vuln-PoC/blob/master/directory-traversal/mockserve | nvd | 2018-06-07 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/JacksonGL/NPM-Vuln-PoC/blob/master/directory-traversal/mockserve | nvd | Exploit, Third Party Advisory |
| https://nodesecurity.io/advisories/445 | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| mockserve_project:mockserve | <= 2.0.6 | no | nvd | /v1/products/mockserve_project/mockserve |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2018-06-07
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts