Two vulnerabilities have been identified in PHP, which could be exploited by malicious users to bypass security restrictions and execute arbitrary commands.
The first issue is due to a double free error inthe "session_regenerate_id()" function when generating new session identifiers, which could be exploited by attackers to bypass PHP restrictions and execute arbitrary commands on the underlying operating system via a malicious PHP script.
The second vulnerability is due to a double free error inthe "php_session_initialize()" function when rejecting session identifiers, which could be exploited by attackers to bypass PHP restrictions and execute arbitrary commands on the underlying operating system via a malicious PHP script.
Credits
Vulnerabilities reported by Stefan Esser
ChangeLog
2007-03-15 : Initial release
2007-05-02 : Updated Solution
Vulnerability Management
Subscribe to FrSIRT VNS and receive real-time e-mail and SMS alerts when new vulnerabilities, exploits, or patches relevant to your systems and network configurations are available.
Feedback
If you have additional information or corrections for this security advisory please submit them via our contact form or by email to updates@frsirt.com.