CVE-2008-5814: XSS
Cross-site scripting (XSS) vulnerability in PHP, possibly 5.2.7 and earlier, when displayerrors is enabled, allows remote attackers to inject arbitrary web script or HTML via unspecified vectors. NOTE: because of the lack of details, it is unclear whether this is related to CVE-2006-0208.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Disable display_errors by setting display_errors = Off in php.ini (or equivalent runtime configuration) to prevent error output that can be used for XSS.
PHP display_errors = Off
Event History
Frequently Asked Questions
What is the severity of CVE-2008-5814?
CVE-2008-5814 is categorized as a high severity vulnerability due to its potential for remote code execution through cross-site scripting.
How do I fix CVE-2008-5814?
To fix CVE-2008-5814, ensure that display_errors is disabled in your PHP configuration or upgrade to a fixed version of PHP, above 5.2.7.
What versions of PHP are affected by CVE-2008-5814?
CVE-2008-5814 affects multiple versions of PHP, including all versions up to 5.2.7.
Who exploits CVE-2008-5814?
CVE-2008-5814 can be exploited by remote attackers who can inject arbitrary web scripts or HTML into affected systems.
What are the consequences of CVE-2008-5814 exploitation?
Exploitation of CVE-2008-5814 can lead to unauthorized access and execution of malicious scripts in the context of the user's session.