CVE-2008-5938: Code Injection

Published Jan 22, 2009
·
Updated

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

7 affected components
Modxcms Modxcms=0.9.2.1
Modxcms Modxcms=0.9.0
Modxcms Modxcms=0.9.6
Modxcms Modxcms=0.9.1
Modxcms Modxcms<=0.9.6.2
Modxcms Modxcms=0.9.6.1
Modxcms Modxcms=0.9.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. 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

Jan 22, 2009
CVE Published
via MITRE·11:00 AM
Data Sourced
via MITRE·11:00 AM
Description
Data Sourced
via NVD·11:30 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203