CVE-2016-7098
High · 8.1CVSS
8.1
EPSS
7.5%
Published
Sep 26, 2016
CISA due date
—
Cloudanix analysis
A flaw in a common file-downloading tool could let attackers slip past security checks and obtain files they are not supposed to access.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- High
- Impact
- Data Exposure
- Component
- Application
- Class
- Race Condition
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Race condition in wget 1.17 and earlier allows a remote server to bypass access list restrictions during recursive or mirroring downloads by holding an HTTP connection open.
Why it matters to the business
Organizations using affected monitoring packages may receive unauthorized files, risking exposure of restricted data or introduction of malicious content into automated download workflows.
How an attack unfolds
An attacker configures a server to keep HTTP connections alive while wget performs recursive downloads, exploiting the timing window to evade intended access restrictions and serve restricted content.
How to fix it
Upgrade nri-nagios and nri-nagios-compat packages on Chainguard and Wolfi to version 2.9.5-r2 or later containing the patched wget.
How to confirm the fix worked
Confirm installed package versions meet or exceed 2.9.5-r2; test wget recursive downloads against access-list-protected endpoints to verify restriction enforcement.
Typical attack path
- Deploy a server that maintains persistent HTTP connections
- Trigger wget recursive or mirroring mode against the server
- Exploit the race condition to bypass access list checks
- Deliver content that would otherwise be restricted
How to detect it
Examine wget process logs and download histories for connections that remain open unusually long; inspect retrieved files for content that should have been blocked by access lists.
What your security team should do
- Immediately upgrade all affected nri-nagios packages to 2.9.5-r2 or newer
- Audit environments for any remaining wget 1.17 or earlier binaries
- Replace recursive wget usage with safer download mechanisms where possible
- Monitor for unexpected file retrievals in automated monitoring jobs
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | wget | 0 | 1.18-4 |
| Debian:11 | wget | 0 | 1.18-4 |
| Debian:12 | wget | 0 | 1.18-4 |
| Debian:13 | wget | 0 | 1.18-4 |
| Debian:14 | wget | 0 | 1.18-4 |
| Debian:8 | wget | 0 | 1.16-1+deb8u7 |
| Mageia:5 | wget | 0 | 1.15-5.1.mga5 |
| SUSE:Linux Enterprise Desktop 12 SP1 | wget | 0 | 1.14-17.1 |
| SUSE:Linux Enterprise Desktop 12 SP2 | wget | 0 | 1.14-17.1 |
| SUSE:Linux Enterprise Point of Sale 11 SP3 | wget | 0 | 1.11.4-1.32.1 |
| SUSE:Linux Enterprise Server 11 SP3-LTSS | wget | 0 | 1.11.4-1.32.1 |
| SUSE:Linux Enterprise Server 11 SP3-LTSS | wget-openssl1 | 0 | 1.11.4-1.32.1 |
| SUSE:Linux Enterprise Server 11 SP3-TERADATA | wget | 0 | 1.11.4-1.32.1 |
| SUSE:Linux Enterprise Server 11 SP3-TERADATA | wget-openssl1 | 0 | 1.11.4-1.32.1 |
| SUSE:Linux Enterprise Server 11 SP4 | wget | 0 | 1.11.4-1.32.1 |
| SUSE:Linux Enterprise Server 11-SECURITY | wget-openssl1 | 0 | 1.11.4-1.32.1 |
| SUSE:Linux Enterprise Server 12 SP1 | wget | 0 | 1.14-17.1 |
| SUSE:Linux Enterprise Server 12 SP2 | wget | 0 | 1.14-17.1 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | wget | 0 | 1.14-17.1 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | wget | 0 | 1.11.4-1.32.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | wget | 0 | 1.14-17.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | wget | 0 | 1.14-17.1 |
| SUSE:Manager 2.1 | wget | 0 | 1.11.4-1.32.1 |
| SUSE:Manager Proxy 2.1 | wget | 0 | 1.11.4-1.32.1 |
| SUSE:OpenStack Cloud 5 | wget | 0 | 1.11.4-1.32.1 |
| Ubuntu:14.04:LTS | wget | 0 | 1.15-1ubuntu1.14.04.3 |
| Ubuntu:16.04:LTS | wget | 0 | 1.17.1-1ubuntu1.3 |
Related vulnerabilities
- CVE-2024-10524 Applications that use Wget to access a remote resource using shorthand URLs and pass… Also affects wget
- CVE-2024-38428 url.c in GNU Wget through 1.24.5 mishandles semicolons in the userinfo subcomponent of a… Also affects wget
- CVE-2017-13089 The http.c:skip_short_body() function is called in some circumstances, such as when… Also affects wget
- CVE-2017-13090 The retr.c:fd_read_body() function is called when processing OK responses. Also affects wget
- CVE-2016-4971 GNU wget before 1.18 allows remote servers to write to arbitrary files by redirecting a… Also affects wget
- CVE-2014-4877 Absolute path traversal vulnerability in GNU Wget before 1.16, when recursion is enabled… Also affects wget
- CVE-2004-1488 wget 1.8.x and 1.9.x does not filter or quote control characters when displaying HTTP… Also affects wget
- CVE-2015-2059 The stringprep_utf8_to_ucs4 function in libin before 1.31, as used in jabberd2, allows… Also affects wget