CVE-2007-3799 Other in n/a

Medium 4.3 Published Updated

Remote attackers can inject arbitrary attributes into session cookies via unencoded special characters in PHP session functions, potentially altering session data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2007-3799?

CVE-2007-3799 is a medium-severity vulnerability in Php Php, published on 16 Jul 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The session_start function in ext/session in PHP 4.x up to 4.4.7 and 5.x up to 5.2.3 allows remote attackers to insert arbitrary attributes into the session cookie via special characters in a cookie that is obtained from (1) PATH_INFO, (2) the session_id function, and (3) the session_start function, which are not encoded or filtered when the new session cookie is generated, a related issue to CVE-2006-0207.

Weakness: CWE-20

Which versions are affected by CVE-2007-3799?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2007-3799?

Upgrade to a fixed version.

Is CVE-2007-3799 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-3799 exists.

Public exploit code: 1 Exploit-DB entry.

All Php Php vulnerabilities

Sources

Also known as GHSA-wwm7-8cp9-2h4f.

Is CVE-2007-3799 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free