FreeBSD : FreeBSD -- Remote command execution in ftp(1) (7488378d-6007-11e6-a6c3-14dae9d210b8)

High Nessus Plugin ID 92913


The remote FreeBSD host is missing one or more security-related updates.


A malicious HTTP server could cause ftp(1) to execute arbitrary commands. Impact : When operating on HTTP URIs, the ftp(1) client follows HTTP redirects, and uses the part of the path after the last '/' from the last resource it accesses as the output filename if '-o' is not specified.

If the output file name provided by the server begins with a pipe ('|'), the output is passed to popen(3), which might be used to execute arbitrary commands on the ftp(1) client machine.


Update the affected packages.

See Also

Plugin Details

Severity: High

ID: 92913

File Name: freebsd_pkg_7488378d600711e6a6c314dae9d210b8.nasl

Version: $Revision: 2.2 $

Type: local

Published: 2016/08/12

Modified: 2017/11/02

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:ND/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:FreeBSD, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info, Settings/ParanoidReport

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2016/08/11

Vulnerability Publication Date: 2014/11/04

Exploitable With

Metasploit (tnftp "savefile" Arbitrary Command Execution)

Reference Information

CVE: CVE-2014-8517

BID: 70792

FreeBSD: SA-14:26.ftp