CVE-2008-5938: Code Injection
PHP remote file inclusion vulnerability in assets/snippets/reflect/snippet.reflect.php in MODx CMS 0.9.6.2 and earlier, when magicquotesgpc is disabled, allows remote attackers to execute arbitrary PHP code via a URL in the reflectbase parameter.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Enable magic_quotes_gpc in PHP configuration (e.g., set magic_quotes_gpc = On in php.ini) to mitigate the remote file inclusion vulnerability in assets/snippets/reflect/snippet.reflect.php (reflect_base parameter).
PHP magic_quotes_gpc = On
Event History
Frequently Asked Questions
What is the severity of CVE-2008-5938?
CVE-2008-5938 has a high severity due to its ability to allow remote attackers to execute arbitrary PHP code.
How do I fix CVE-2008-5938?
To fix CVE-2008-5938, upgrade to MODx CMS version 0.9.6.3 or later, where the vulnerability has been patched.
What versions of MODx CMS are affected by CVE-2008-5938?
CVE-2008-5938 affects MODx CMS versions 0.9.2.1 and earlier, including versions 0.9.0 through 0.9.6.2.
What is the impact of exploiting CVE-2008-5938?
Exploiting CVE-2008-5938 can lead to remote code execution, allowing attackers to execute arbitrary commands on the affected server.
Is magic_quotes_gpc related to CVE-2008-5938?
Yes, CVE-2008-5938 specifically occurs when magic_quotes_gpc is disabled, which can lead to the vulnerability being exploited.