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.

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.

Affected Products

The following products are affected by CVE-2017-13089 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Debian debian_linux
1 Gnu wget
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

Updated: 1 year, 10 months ago
0 stars 0 fork 0 watcher
Born at : Jan. 11, 2023, 1:21 p.m. This repo has been linked 1042 different CVEs too.

None

Updated: 3 months, 1 week ago
13 stars 4 fork 4 watcher
Born at : May 25, 2020, 7:51 a.m. This repo has been linked 1027 different CVEs too.

CVE-2017-13089

Python

Updated: 2 years, 4 months ago
55 stars 13 fork 13 watcher
Born at : Nov. 15, 2017, 8:22 a.m. This repo has been linked 1 different CVEs too.

PoC for wget v1.19.1

wget cve-2017-13089 docker security

Shell

Updated: 1 year, 2 months ago
53 stars 14 fork 14 watcher
Born at : Oct. 27, 2017, 8:06 p.m. This repo has been linked 1 different CVEs too.

Security scan Images with Clair

Python Dockerfile

Updated: 1 month, 2 weeks ago
27 stars 10 fork 10 watcher
Born at : Oct. 22, 2017, 2:26 p.m. This repo has been linked 38 different CVEs too.

✍️ A curated list of CVE PoCs.

awesome cve poc

Updated: 2 months, 2 weeks ago
3289 stars 678 fork 678 watcher
Born at : Feb. 2, 2017, 6:43 a.m. This repo has been linked 1042 different CVEs too.

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]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
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:

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

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability