← Vulnerability feed

Vulnerability record · CVE-2014-8517 · published 17 November 2014

CVE-2014-8517: tnftp fetch_url command injection via HTTP redirect pipe

Apple · Mac Os X

The fetch_url function in tnftp's usr.bin/ftp/fetch.c mishandles a pipe character at the end of an HTTP redirect, allowing command injection. This affects tnftp as shipped in NetBSD 5.1 through 6.1.5 and related Apple products. Because the client is the vulnerable component, a malicious or compromised server can trigger command execution on the connecting host.

7.5 CVSS 2.0 High EPSS 69% · top 0.7% CWE-77 · Command injection
7.5CVSS 2.0 base score
69%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
20References
17 Jun 2026Last modified by NVD

Description

The fetch_url function in usr.bin/ftp/fetch.c in tnftp, as used in NetBSD 5.1 through 5.1.4, 5.2 through 5.2.2, 6.0 through 6.0.6, and 6.1 through 6.1.5 allows remote attackers to execute arbitrary commands via a | (pipe) character at the end of an HTTP redirect.

AV:N/AC:L/Au:N/C:P/I:P/A:P

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: high.

high priorityRemote command execution with no attacker authentication and available exploit code, though it requires the victim to initiate the fetch and the affected software is dated.

What it is

The fetch_url function in tnftp's usr.bin/ftp/fetch.c mishandles a pipe character at the end of an HTTP redirect, allowing command injection. This affects tnftp as shipped in NetBSD 5.1 through 6.1.5 and related Apple products. Because the client is the vulnerable component, a malicious or compromised server can trigger command execution on the connecting host.

Impact

An attacker controlling the HTTP redirect target can execute arbitrary commands with the privileges of the user running tnftp, leading to full compromise of that account and any reachable data or credentials.

Attack surface

Reached over the network when a user or automated process runs tnftp against an attacker-influenced HTTP endpoint that returns a crafted redirect. No authentication is required on the attacker side, but the victim must initiate the fetch, so some user or scripted interaction is needed.

Exploitation

Not listed in CISA KEV, but EPSS is high at 0.691 (99.3rd percentile) and a public Exploit-DB entry (43112) exists, indicating exploit code is available. No ransomware association is documented.

What to do

  • Apply the NetBSD-SA2014-013 patch or upgrade to a fixed tnftp/NetBSD release; apply the referenced Apple, openSUSE and Gentoo updates where applicable.
  • Replace tnftp with a maintained HTTP client that does not pass redirect targets to a shell.
  • Restrict outbound HTTP from hosts running tnftp to trusted destinations, and block redirects to untrusted hosts.
  • Run tnftp as an unprivileged, isolated account with no access to sensitive files or credentials.
  • Monitor and alert on tnftp invocations that follow redirects to external or unexpected hosts.

Detection

  • Search process and shell logs for tnftp or ftp invocations followed by unexpected command execution or shell metacharacters.
  • Inspect HTTP proxy or egress logs for redirects whose Location header ends in a pipe character or contains shell metacharacters.
  • Alert on child processes spawned by tnftp that are not expected fetch-related binaries.
  • Review endpoint telemetry for command lines containing '|' appended to URLs or redirect targets.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2014-8517 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2021-1870Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions, affecting macOS Big Sur, Catalina, Mojave, iOS and iPadOS, plus WebKitGTK a…KEVEPSS 7.7%analysed9.8CVE-2021-1871Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions. It affects macOS Big Sur, Catalina, Mojave, iOS and iPadOS, and a remote at…KEVEPSS 7.0%analysed9.8CVE-2014-7169GNU Bash environment variable function parsing command injection (Shellshock variant)GNU Bash through 4.3 bash43-025 processes trailing strings after malformed function definitions in environment variable values, allowing command inje…KEVEPSS 100%analysed9.8CVE-2014-6271GNU Bash environment variable command injection (ShellShock)GNU Bash through 4.3 processes trailing strings after function definitions in environment variable values, allowing injected commands to run when Bas…KEVEPSS 100%analysed9.8CVE-2012-1823PHP-CGI query string option injection enables remote code executionPHP versions before 5.3.12 and 5.4.x before 5.4.2, when run as a CGI script (php-cgi), mishandle query strings that lack an equals sign, allowing com…KEVEPSS 100%analysed8.8CVE-2022-2294Google Chrome WebRTC heap buffer overflow via crafted HTML pageCVE-2022-2294 is a heap buffer overflow in the WebRTC component of Google Chrome prior to 103.0.5060.114. A remote attacker can trigger heap corrupti…KEVEPSS 70%analysed8.8CVE-2021-1789Apple WebKit type confusion allows code execution via crafted web contentA type confusion flaw in Apple's WebKit engine was fixed through improved state handling across macOS, iOS, iPadOS, tvOS, watchOS and Safari. Process…KEVEPSS 14%analysed7.8CVE-2021-30713Apple macOS privacy preference bypass via missing authorizationmacOS Big Sur before 11.4 has a permissions validation flaw (CWE-862 missing authorization) that lets a malicious application bypass Privacy preferen…KEVEPSS 7.0%analysed

Source: NIST National Vulnerability Database (record CVE-2014-8517), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.