CVE-2018-0494: Input Validation

Published May 6, 2018
·
Updated

GNU Wget before 1.19.5 is prone to a cookie injection vulnerability in the respnew function in http.c via a \r\n sequence in a continuation line.

Other sources

It was found that GNU Wget is susceptible to a malicious web server injecting arbitrary cookies to the cookie jar file.

Normally a website should not be able to set cookies for other domains. Due to insufficient input validation GNU Wget can be tricked into storing arbitrary cookie values to the cookie jar file, bypassing this security restriction.

An external attacker is able to inject arbitrary cookie values into cookie jar file, adding new or replacing existing cookie values.

Upstream patch:

https://git.savannah.gnu.org/cgit/wget.git/commit/?id=1fc9c95ec144499e69dc8ec76dbe07799d7d82cd

References (PoC included):

http://openwall.com/lists/oss-security/2018/05/06/1

Red Hat

Affected Software

15 affected componentsFixes available
debian/wget<=1.19.4-1, <=1.16-1
1.19.5-11.18-5+deb9u21.16-1+deb8u5
redhat/wget<1.19.5
1.19.5
GNU Wget<1.19.5
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=17.10
Canonical Ubuntu Linux=18.04
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Workstation=7.0
debian/wget
1.21-1+deb11u11.21-1+deb11u21.21.3-1+deb12u11.25.0-2

Event History

May 6, 2018
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
DescriptionWeakness
Data Sourced
via NVD·10:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:43 PM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·03:02 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·03:03 PM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this vulnerability?

The vulnerability ID for this vulnerability is CVE-2018-0494.

2

What is the title of this vulnerability?

The title of this vulnerability is 'GNU Wget before 1.19.5 is prone to a cookie injection vulnerability in the resp_new function in http...'.

3

What is the severity of CVE-2018-0494?

The severity of CVE-2018-0494 is medium with a CVSS score of 6.5.

4

Which software is affected by CVE-2018-0494?

GNU Wget before 1.19.5 is affected by CVE-2018-0494.

5

How can I fix CVE-2018-0494?

To fix CVE-2018-0494, you should update GNU Wget to version 1.19.5 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203