SB2017060209 - Directory traversal in Next.js 2.0
Published: June 2, 2017 Updated: September 1, 2021
Security Bulletin ID
SB2017060209
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities
1
Exploitation vector
Remote access
Highest impact
Information disclosure
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Path traversal (CVE-ID: N/A)
CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/U:Green
The vulnerability allows a remote attacker to view contest of arbitrary files on the system.
The vulnerability exists due to insufficient input validation when processing requests sent to
/_next</code> and <code>/static namespaces. A remote attacker can send a specially crafted HTTP GET request, containing directory traversal sequences and view contest of arbitrary files on the system.Exploitation example:
http://[host]/_next\..\..\..\..\..\..\..\..\..\etc\passwd Remediation
Install update from vendor's website.