BSD FTP Client HTTP Redirect command injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.2$0-$5k0.00

Summaryinfo

A vulnerability identified as problematic has been detected in BSD FTP Client. This impacts an unknown function of the component HTTP Redirect Handler. This manipulation causes command injection. This vulnerability is tracked as CVE-2014-8517. Moreover, an exploit is present. You should upgrade the affected component.

Detailsinfo

A vulnerability classified as critical was found in BSD FTP Client. Affected by this vulnerability is some unknown functionality of the component HTTP Redirect Handler. The manipulation with an unknown input leads to a command injection vulnerability. The CWE definition for the vulnerability is CWE-77. The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. As an impact it is known to affect confidentiality, and integrity.

The weakness was disclosed 10/28/2014 by Jared Mcneill as WLB-2014100174 as confirmed advisory (Website). The advisory is shared at cxsecurity.com. This vulnerability is known as CVE-2014-8517 since 10/28/2014. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details are unknown but a public exploit is available. MITRE ATT&CK project uses the attack technique T1202 for this issue. The advisory points out:

Just a quick heads-up, and sorry that no notice was given - the issue is that a malicious server can cause ftp(1) to execute arbitrary commands: If you do "ftp http://server/path/file.txt"; and don't specify an output filename with -o, the ftp program can be tricked into executing arbitrary commands. The FTP client will follow HTTP redirects, and uses the part of the path after the last / from the last resource it accesses as the output filename (as long as -o is not specified). After it resolves the output filename, it checks to see if the output filename begins with a "|", and if so, passes the rest to popen(3): http://nxr.netbsd.org/xref/src/usr.bin/ftp/fetch.c#1156

It is possible to download the exploit at exploit-db.com. It is declared as highly functional. The vulnerability scanner Nessus provides a plugin with the ID 79105 (openSUSE Security Update : tnftp (openSUSE-SU-2014:1383-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 122970 (Fedora Security Update for tnftp (FEDORA-2014-1411)).

Upgrading eliminates this vulnerability. A possible mitigation has been published 6 days after the disclosure of the vulnerability. NetBSD has issued a source code fix.

The vulnerability is also documented in the databases at Exploit-DB (43112), Tenable (79105), Secunia (SA62028†) and SecurityTracker (ID 1031136†). The entries VDB-68576, VDB-68814, VDB-68815 and VDB-68819 are pretty similar. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Affected

  • Apple Mac OS X
  • NetBSD

Not Affected

  • OpenBSD

Productinfo

Vendor

Name

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.5
VulDB Meta Temp Score: 6.2

VulDB Base Score: 6.5
VulDB Temp Score: 6.2
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Command injection
CWE: CWE-77 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Highly functional
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 79105
Nessus Name: openSUSE Security Update : tnftp (openSUSE-SU-2014:1383-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 103847
OpenVAS Name: Fedora Update for tnftp FEDORA-2014-14113
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

MetaSploit ID: tnftp_savefile.rb
MetaSploit Name: ICMP Exfiltration Service
MetaSploit File: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Timelineinfo

10/28/2014 🔍
10/28/2014 +0 days 🔍
10/30/2014 +2 days 🔍
10/30/2014 +0 days 🔍
11/03/2014 +4 days 🔍
11/04/2014 +1 days 🔍
11/11/2014 +7 days 🔍
11/17/2014 +6 days 🔍
12/09/2024 +3675 days 🔍

Sourcesinfo

Advisory: WLB-2014100174
Researcher: Jared Mcneill
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2014-8517 (🔍)
GCVE (CVE): GCVE-0-2014-8517
GCVE (VulDB): GCVE-100-68077
Secunia: 62028 - NetBSD ftp "fetch_url()" Command Injection Vulnerability, Moderately Critical
SecurityTracker: 1031136

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 10/30/2014 11:28
Updated: 12/09/2024 03:53
Changes: 10/30/2014 11:28 (78), 05/02/2019 12:15 (7), 02/23/2022 21:29 (3), 07/05/2024 14:33 (15), 12/09/2024 03:53 (4)
Complete: 🔍
Cache ID: 216:B5A:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!