PT-2017-14544 · Sanic · Sanic
Yeahxin
·
Published
2017-11-10
·
Updated
2022-05-17
·
CVE-2017-16762
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Sanic versions prior to 0.5.1
Description
The issue allows reading arbitrary files with directory traversal. This can be demonstrated by the "/static/..%2f" substring, which showcases the vulnerability in handling directory traversal attacks.
Recommendations
For versions prior to 0.5.1, update to version 0.5.1 or later to resolve the issue. As a temporary workaround, consider restricting access to the
/static/ endpoint to minimize the risk of exploitation.Exploit
Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Sanic