CVE-2017-13089
Wget Connect Integer Overflow
Description
The http.c:skip_short_body() function is called in some circumstances, such as when processing redirects. When the response is sent chunked in wget before 1.19.2, the chunk parser uses strtol() to read each chunk's length, but doesn't check that the chunk length is a non-negative number. The code then tries to skip the chunk in pieces of 512 bytes by using the MIN() macro, but ends up passing the negative chunk length to connect.c:fd_read(). As fd_read() takes an int argument, the high 32 bits of the chunk length are discarded, leaving fd_read() with a completely attacker controlled length argument.
INFO
Published Date :
Oct. 27, 2017, 7:29 p.m.
Last Modified :
Dec. 30, 2017, 2:29 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.8
Public PoC/Exploit Available at Github
CVE-2017-13089 has a 6 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2017-13089
.
URL | Resource |
---|---|
http://git.savannah.gnu.org/cgit/wget.git/commit/?id=d892291fb8ace4c3b734ea5125770989c215df3f | Issue Tracking Patch Third Party Advisory |
http://www.debian.org/security/2017/dsa-4008 | Issue Tracking Third Party Advisory |
http://www.securityfocus.com/bid/101592 | Issue Tracking Third Party Advisory VDB Entry |
http://www.securitytracker.com/id/1039661 | Issue Tracking Third Party Advisory VDB Entry |
https://access.redhat.com/errata/RHSA-2017:3075 | |
https://github.com/r1b/CVE-2017-13089 | Issue Tracking Third Party Advisory |
https://security.gentoo.org/glsa/201711-06 | Issue Tracking Third Party Advisory |
https://www.synology.com/support/security/Synology_SA_17_62_Wget | |
https://www.viestintavirasto.fi/en/cybersecurity/vulnerabilities/2017/haavoittuvuus-2017-037.html | Issue Tracking Patch Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
None
CVE-2017-13089
Python
PoC for wget v1.19.1
wget cve-2017-13089 docker security
Shell
Security scan Images with Clair
Python Dockerfile
✍️ A curated list of CVE PoCs.
awesome cve poc
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2017-13089
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2017-13089
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Oct. 09, 2019
Action Type Old Value New Value Added CVSS V3 CERT/CC AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Added CWE CERT/CC CWE-121 -
CVE Modified by [email protected]
Dec. 30, 2017
Action Type Old Value New Value Added Reference https://www.synology.com/support/security/Synology_SA_17_62_Wget [No Types Assigned] -
CVE Modified by [email protected]
Dec. 02, 2017
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2017:3075 [No Types Assigned] -
Initial Analysis by [email protected]
Nov. 17, 2017
Action Type Old Value New Value Added CVSS V2 (AV:N/AC:M/Au:N/C:C/I:C/A:C) Added CVSS V3 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Changed Reference Type http://www.debian.org/security/2017/dsa-4008 No Types Assigned http://www.debian.org/security/2017/dsa-4008 Issue Tracking, Third Party Advisory Changed Reference Type http://www.securitytracker.com/id/1039661 No Types Assigned http://www.securitytracker.com/id/1039661 Issue Tracking, Third Party Advisory, VDB Entry Changed Reference Type https://github.com/r1b/CVE-2017-13089 No Types Assigned https://github.com/r1b/CVE-2017-13089 Issue Tracking, Third Party Advisory Changed Reference Type https://security.gentoo.org/glsa/201711-06 No Types Assigned https://security.gentoo.org/glsa/201711-06 Issue Tracking, Third Party Advisory Changed Reference Type https://www.viestintavirasto.fi/en/cybersecurity/vulnerabilities/2017/haavoittuvuus-2017-037.html No Types Assigned https://www.viestintavirasto.fi/en/cybersecurity/vulnerabilities/2017/haavoittuvuus-2017-037.html Issue Tracking, Patch, Third Party Advisory Changed Reference Type http://www.securityfocus.com/bid/101592 No Types Assigned http://www.securityfocus.com/bid/101592 Issue Tracking, Third Party Advisory, VDB Entry Changed Reference Type http://git.savannah.gnu.org/cgit/wget.git/commit/?id=d892291fb8ace4c3b734ea5125770989c215df3f No Types Assigned http://git.savannah.gnu.org/cgit/wget.git/commit/?id=d892291fb8ace4c3b734ea5125770989c215df3f Issue Tracking, Patch, Third Party Advisory Added CWE CWE-119 Added CPE Configuration OR *cpe:2.3:a:gnu:wget:*:*:*:*:*:*:*:* versions up to (including) 1.19.1 Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Nov. 13, 2017
Action Type Old Value New Value Added Reference https://security.gentoo.org/glsa/201711-06 [No Types Assigned] -
CVE Modified by [email protected]
Nov. 04, 2017
Action Type Old Value New Value Added Reference https://github.com/r1b/CVE-2017-13089 [No Types Assigned] Added Reference http://www.debian.org/security/2017/dsa-4008 [No Types Assigned] -
CVE Modified by [email protected]
Oct. 29, 2017
Action Type Old Value New Value Added Reference http://www.securitytracker.com/id/1039661 [No Types Assigned] Added Reference http://www.securityfocus.com/bid/101592 [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2017-13089
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2017-13089
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
64.47 }} 47.56%
score
0.97931
percentile