PT-2007-5035 · Php+1 · Php+1

Published

2007-07-16

·

Updated

2018-10-03

·

CVE-2007-3799

CVSS v2.0

4.3

Medium

VectorAV:N/AC:M/Au:N/C:N/I:P/A:N
Name of the Vulnerable Software and Affected Versions: PHP versions 4.x up to 4.4.7 PHP versions 5.x up to 5.2.3
Description: The issue allows remote attackers to insert arbitrary attributes into the session cookie via special characters in a cookie. This is obtained from PATH INFO, the session id function, and the session start function, which are not encoded or filtered when the new session cookie is generated.
Recommendations: For PHP versions 4.x up to 4.4.7, update to a version later than 4.4.7 to resolve the issue. For PHP versions 5.x up to 5.2.3, update to a version later than 5.2.3 to resolve the issue. As a temporary workaround, consider filtering or encoding special characters in cookies obtained from PATH INFO, the session id function, and the session start function to minimize the risk of exploitation.

Exploit

Fix

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2007-3799
DSA-1444-1
DSA-1578-1
DTSA-61-1
RHSA-2007:0888
RHSA-2007:0889
RHSA-2007:0890
RHSA-2007:0891
RHSA-2007:0917
RHSA-2007_0890

Affected Products

Php
Red Hat