ProFTPD FTP Command Handling Symlink Arbitrary File Overwrite

low Nessus Plugin ID 66970

Synopsis

The remote FTP server is affected by an arbitrary file overwrite vulnerability.

Description

The remote host is using ProFTPD, a free FTP server for Unix and Linux. According to its banner, the version of ProFTPD installed on the remote host earlier than 1.3.4c. As such, it is potentially affected by a race condition error that does not securely create temporary files related to symlinks and newly created directories. A local, attacker could leverage this issue to overwrite arbitrary files and elevate privileges.

Note that Nessus did not actually test for the flaw but has instead relied on the version in ProFTPD's banner.

Solution

Upgrade to 1.3.4c / 1.3.5rc1 or apply the patch from the vendor.

See Also

http://www.nessus.org/u?5fd455fb

http://proftpd.org/docs/RELEASE_NOTES-1.3.5rc1

http://bugs.proftpd.org/show_bug.cgi?id=3841

Plugin Details

Severity: Low

ID: 66970

File Name: proftpd_mkd_xmkd_file_overwrite.nasl

Version: 1.7

Type: remote

Family: FTP

Published: 6/24/2013

Updated: 3/27/2020

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Low

Base Score: 1.2

Temporal Score: 0.9

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

CVSS Score Source: CVE-2012-6095

Vulnerability Information

CPE: cpe:/a:proftpd:proftpd

Required KB Items: Settings/ParanoidReport, ftp/proftpd

Exploit Ease: No known exploits are available

Patch Publication Date: 11/8/2012

Vulnerability Publication Date: 11/8/2012

Reference Information

CVE: CVE-2012-6095

BID: 57172