SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   PHP Vendors:   PHP Group
PHP CRLF Injection Bug Lets Remote Users Execute Arbitrary FTP Commands
SecurityTracker Alert ID:  1018022
SecurityTracker URL:  http://securitytracker.com/id/1018022
CVE Reference:   CVE-2007-2509   (Links to External Site)
Date:  May 9 2007
Impact:   Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  Exploit Included:  Yes  
Version(s): prior to 4.4.7 and 5.2.2
Description:   A vulnerability was reported in PHP. A remote user may be able to execute arbitrary FTP commands.

The PHP ftp function does not properly validate user-supplied input. A remote user can supply specially crafted input to inject a CR/LF character string and execute arbitrary FTP commands on the target FTP server.

A demonstration exploit URL is provided:

http://[target]/test.php?dir=loveshell%0D%0AMKD jnc%0D%0ADELE jnc.txt%0D%0Armd test

loveshell[at]Bug.Center.Team reported this vulnerability.

Impact:   A remote user can execute arbitrary FTP commands on the target FTP server.
Solution:   The vendor has issued a fixed version (4.4.7 and 5.2.2).

The PHP advisory is available at:

http://www.php.net/releases/4_4_7.php
http://www.php.net/releases/5_2_2.php

Vendor URL:  www.php.net/releases/5_2_2.php (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   This archive entry has one or more follow-up message(s) listed below.
May 9 2007 (Red Hat Issues Fix) PHP CRLF Injection Bug Lets Remote Users Execute Arbitrary FTP Commands
Red Hat has released a fix for Red Hat Enterprise Linux 5.
May 10 2007 (Red Hat Issues Fix) PHP CRLF Injection Bug Lets Remote Users Execute Arbitrary FTP Commands
Red Hat has released a fix for Red Hat Enterprise Linux 4.
May 10 2007 (Red Hat Issues Fix) PHP CRLF Injection Bug Lets Remote Users Execute Arbitrary FTP Commands
Red Hat has released a fix for Red Hat Application Stack.
Sep 26 2007 (Red Hat Issues Fix) PHP CRLF Injection Bug Lets Remote Users Execute Arbitrary FTP Commands
Red Hat has released a fix for Red Hat Enterprise Linux 3.
Oct 23 2007 (Red Hat Issues Fix) PHP CRLF Injection Bug Lets Remote Users Execute Arbitrary FTP Commands
Red Hat has released a fix for Red Hat Enterprise Linux 2.1.



 Source Message Contents



[Original Message Not Available for Viewing]


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2019, SecurityGlobal.net LLC