7.5high
Path Traversal in mcstatic
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 1.99% (higher than 81% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- hackerone
- Also known as
- GHSA-3r8f-gphx-9m2c
Description
mcstatic node module suffers from a Path Traversal vulnerability due to lack of validation of filePath, which allows a malicious user to read content of any file with known path.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| HackerOne mcstatic node module | All versions | CVE List |
| mcstatic (npm) | up to 0.0.20 | GitHub Advisory Database |
| mcstatic_project mcstatic | 0.0.20 | NVD |
All scores
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
What each source says
CVE List
mcstatic node module suffers from a Path Traversal vulnerability due to lack of validation of filePath, which allows a malicious user to read content of any file with known path.
GitHub Advisory Database
All versions of mcstatic are vulnerable to path traversal.
Recommendation
No fix is currently available for this vulnerability. It is our recommendation to not install or use this module at this time.
NVD (es)
El módulo de node mcstatic sufre de una vulnerabilidad de salto de directorio debido a la falta de validación de filePath, que permite que un usuario malicioso lea contenido de cualquier archivo con una ruta conocida.
References
| https://hackerone.com/reports/312907 | exploit, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-3730 | advisory | |
| https://github.com/advisories/GHSA-3r8f-gphx-9m2c | advisory | |
| https://www.npmjs.com/advisories/641 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2018-3730 changed 2024-09-17 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-3r8f-gphx-9m2c changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2018-3730 changed 2026-06-17 | Public domain |