Skip to content
OpenAdvisories
Unscored CVE-2007-2509 EUVD-2007-2502GHSA-xcv3-8774-8394

CRLF injection vulnerability in the ftp_putcmd function in PHP before 4.4.7, and 5.x before 5.2.2 allows remote attackers to inject arbitra…

Published May 9, 2007 · Updated Aug 7, 2024 · Assigned by mitre

Description

CRLF injection vulnerability in the ftp_putcmd function in PHP before 4.4.7, and 5.x before 5.2.2 allows remote attackers to inject arbitrary FTP commands via CRLF sequences in the parameters to earlier FTP commands.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 5.0 php4 6:4.4.4-9+lenny1 DTSA-40-1
Debian 5.0 php5 5.2.0-10+lenny1 DTSA-39-1
Debian 4.0 php4 6:4.4.4-8+etch3 DSA-1296-1
Debian 4.0 php5 5.2.0-8+etch4 DSA-1295-1
Debian 3.1 php4 4:4.3.10-21 DSA-1296-1
ReleasePackageFixed inAdvisory
RHEL 5 php +18 5.1.6-12.el5 RHSA-2007:0348
RHEL 4 php +13 4.3.9-3.22.5 RHSA-2007:0349
RHEL 3 php +6 4.3.2-43.ent RHSA-2007:0889
RHEL 2 php +7 4.1.2-2.19 RHSA-2007:0888
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhel Application Stack 1 php +18 5.1.6-3.el4s1.7 RHSA-2007:0355

Advisories 9

References