CVE-2010-3065: Medium severity PHP PHP vulnerability
Stefan Esser discovered that PHP did not properly handle PSUNDEFMARKER ('!') character in session variable names. In cases where PHP script generated session variable names from untrusted user input, a malicious user could use this flaw to inject arbitrary variable into session. This could create additional attack vector for exploiting other possible unserialization flaws.
Reference: http://php-security.org/2010/05/31/mops-2010-060-php-session-serializer-session-data-injection-vulnerability/index.html
Upstream fix, added in 5.3.3 and 5.2.14: http://svn.php.net/viewvc?view=revision&revision=298608
Other sources
The default session serializer in PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 does not properly handle the PSUNDEFMARKER marker, which allows context-dependent attackers to modify arbitrary session variables via a crafted session variable name.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
PHPto a version that resolves this vulnerability.Fixed in 5.3.3 - Upgrade
Upgrade
PHPto a version that resolves this vulnerability.Fixed in 5.2.14
Event History
Frequently Asked Questions
What is the severity of CVE-2010-3065?
CVE-2010-3065 is considered a moderate severity vulnerability due to its potential to allow attackers to modify session variables.
How do I fix CVE-2010-3065?
To fix CVE-2010-3065, upgrade your PHP version to 5.3.3 or later, as the vulnerability has been rectified in those versions.
Which versions of PHP are affected by CVE-2010-3065?
CVE-2010-3065 affects PHP versions 5.2.0 through 5.2.13 and 5.3.0 through 5.3.2.
What type of attack is possible with CVE-2010-3065?
CVE-2010-3065 allows context-dependent attackers to inject arbitrary session data by manipulating the session variable name.
Is CVE-2010-3065 still a concern for current PHP installations?
CVE-2010-3065 is not a concern for current PHP installations if they are updated to versions beyond 5.3.2.