CRLF injection in wget - CVE-2017-6508

 

CRLF injection in wget - CVE-2017-6508

Published: October 30, 2017


Vulnerability identifier: #VU8989
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-6508
CWE-ID: CWE-113
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform content spoofing attack.

The vulnerability exists due to an error in the url_parse() function in url.c in Wget through 1.19.1. A remote attacker can inject arbitrary HTTP headers via CRLF sequences in the host subcomponent of a URL and spoof contents of the targeted website.

Affected software

wget
Arch Linux
Amazon Linux AMI
Gentoo Linux
Fedora
wget (Alpine package)
wget

How to mitigate CVE-2017-6508

Update to version 1.19.1.

wget (Alpine package) - update to 1.17.1-r2
wget - addressed in versions 1.18-2.fc24, 1.18-3.fc25, 1.19.1-3.fc26

External References

Related Security Bulletins