Secunia Logo
 
PHP Session ID Cross Site Scripting
Secunia Advisory: SA8947
Release Date: 2003-06-05
Last Update: 2003-07-02
Popularity: 15,667 views

Critical:
Less critical
Impact: Cross Site Scripting
Where: From remote
Solution Status: Vendor Patch

Software:PHP 4.0.x
PHP 4.1.x
PHP 4.2.x
PHP 4.3.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2003-0442


Description:
A vulnerability has been identified in PHP allowing malicious people to conduct Cross Site Scripting against sites using transparent SID support.

The problem is that input supplied to the "PHPSESSID" parameter isn't verified. This allows malicious people to create an URL like:

http://vulnerable_site/script.php?PHPSESSID="><some_evil_html_or_script>

This can only be exploited if "transparent SID support" is enabled.

Solution:
This has been fixed in version 4.3.2
http://www.php.net/downloads.php

Provided and/or discovered by:
Sverre H. Huseby

Original Advisory:
http://shh.thathost.com/secadv/2003-05-11-php.txt


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Sun Java JDK / JRE Multiple Vulnerabilities // 361 views
2. Adobe Flash Player Multiple Security Issues and Vulnerabilities // 143 views
3. Null FTP Server "SITE" Parameters Command Injection Vulnerability // 115 views
4. User Engine Lite ASP Database Disclosure // 98 views
5. Webboard Street SQL Injection and Information Disclosure // 85 views
6. Novell Netware ApacheAdmin Console Security Bypass // 81 views
7. Tor Two Weaknesses // 74 views
8. Trillian Multiple Vulnerabilities // 67 views
9. Merlix Template Creature "mcatid" SQL Injection Vulnerability // 54 views
10. CcTiddly Multiple File Inclusion Vulnerabilities // 50 views