Path traversal in uWSGI - CVE-2018-7490
Published: March 22, 2018 / Updated: June 17, 2021
Vulnerability identifier: #VU11219
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-7490
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability:
Public exploit is available
Vulnerability details
The vulnerability allows a remote attacker to obtain potentially sensitive information on the target system.
The weakness exists due to improper file path validation when requesting a resource under the DOCUMENT_ROOT directory. A remote attacker can cause path traversal and gain access to potentially sensitive information.
The weakness exists due to improper file path validation when requesting a resource under the DOCUMENT_ROOT directory. A remote attacker can cause path traversal and gain access to potentially sensitive information.
Affected software
uWSGI
Debian Linux
Fedora
uwsgi (Alpine package)
uwsgi
Debian Linux
Fedora
uwsgi (Alpine package)
uwsgi
How to mitigate CVE-2018-7490
Update to version 2.0.17.
uwsgi (Alpine package) - update to 2.0.17-r0
uwsgi - addressed in versions 2.0.17.1-1.el6, 2.0.17.1-1.el7, 2.0.17.1-1.fc27, 2.0.17.1-1.fc28
uwsgi - addressed in versions 2.0.17.1-1.el6, 2.0.17.1-1.el7, 2.0.17.1-1.fc27, 2.0.17.1-1.fc28