JVN#50327700
PHP vulnerable to cross-site scripting
Overview
PHP contains a cross-site scripting vulnerability.
Products Affected
- PHP 5.2.7 and earlier
Additionally, PHP 5.3.0alpha is not affected.
Description
PHP is an open source scripting language that is especially suited for Web development. PHP contains a cross-site scripting vulnerability as it does not properly handle errors.
Impact
An arbitrary script may be executed on the user's web browser.
Solution
Update the Software
Apply the latest update provided by the developer.
According to the developer, PHP 4.X is no longer supported. Users of PHP 4.X are recommended to upgrade to PHP 5.2.X.
Vendor Status
Vendor | Link |
PHP |
PHP 5.2.8 Released! [08-Dec-2008] |
References
JPCERT/CC Addendum
Vulnerability Analysis by JPCERT/CC
Analyzed on 2008.12.19
Measures | Conditions | Severity |
---|---|---|
Access Required | Routed - can be attacked over the Internet using packets |
|
Authentication | None - anonymous or no authentication (IP addresses do not count) |
|
User Interaction Required | Simple - the user must be convinced to take a standard action that does not feel harmful to most users, such as click on a link or view a file |
|
Exploit Complexity | Low - little to no expertise and/or luck required to exploit (cross-site scripting) |
|
Credit
Tomoki Sanaki of International Network Security, Inc. reported this vulnerability to IPA.
JPCERT/CC coordinated with the developer under Information Security Early Warning Partnership.
Other Information
JPCERT Alert | |
JPCERT Reports | |
CERT Advisory | |
CPNI Advisory | |
TRnotes | |
CVE |
CVE-2008-5814 |
JVN iPedia |
JVNDB-2008-000084 |