CVE-2016-7098

HIGH

wget < 1.17 - Race Condition in Recursive/Mirroring Mode

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2016-7098. PoCs published by Dawid Golunski.

AI-analyzed exploit summary This exploit demonstrates a race condition in GNU Wget < 1.18 where the access list (-A) check is bypassed by delaying the HTTP response, allowing an attacker to upload a malicious file before it is deleted. The PoC sets up a web server to serve a PHP webshell and triggers its execution before Wget removes it.

Description

Race condition in wget 1.17 and earlier, when used in recursive or mirroring mode to download a single file, might allow remote servers to bypass intended access list restrictions by keeping an HTTP connection open.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Dawid Golunski · pythonremotemultiple
https://www.exploit-db.com/exploits/40824

This exploit demonstrates a race condition in GNU Wget < 1.18 where the access list (-A) check is bypassed by delaying the HTTP response, allowing an attacker to upload a malicious file before it is deleted. The PoC sets up a web server to serve a PHP webshell and triggers its execution before Wget removes it.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Racy
Target: GNU Wget < 1.18
No auth needed
Prerequisites: Attacker-controlled server to host the exploit · Victim system running vulnerable Wget version · Victim application using Wget with recursive mode and access list
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (8)

Core 8
Core References
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2016/08/27/2
Mailing List vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-updates/2017-01/msg00007.html
Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-updates/2016-09/msg00044.html
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/93157
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/40824/
Exploit, Mailing List mailing-list x_refsource_mlist
http://lists.gnu.org/archive/html/bug-wget/2016-08/msg00083.html
Mailing List mailing-list x_refsource_mlist
http://lists.gnu.org/archive/html/bug-wget/2016-08/msg00134.html
Mailing List mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2020/01/msg00031.html

Scores

CVSS v3 8.1
EPSS 0.0750
EPSS Percentile 93.7%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-362
Status published
Products (1)
gnu/wget < 1.17
Published Sep 26, 2016
Tracked Since Feb 18, 2026