8.8
CWE
94
Advisory Published
Updated

CVE-2018-19520: Code Injection

First published: Sun Nov 25 2018(Updated: )

An issue was discovered in SDCMS 1.6 with PHP 5.x. app/admin/controller/themecontroller.php uses a check_bad function in an attempt to block certain PHP functions such as eval, but does not prevent use of preg_replace 'e' calls, allowing users to execute arbitrary code by leveraging access to admin template management.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Sdcms=1.6
PHP>=5.0.0<=5.6.38

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2018-19520?

    CVE-2018-19520 is categorized as a critical vulnerability due to its potential to allow arbitrary code execution.

  • How do I fix CVE-2018-19520?

    To fix CVE-2018-19520, ensure you upgrade SDCMS to a newer version that addresses this vulnerability and avoid using PHP 5.x.

  • What software is affected by CVE-2018-19520?

    CVE-2018-19520 affects SDCMS version 1.6 running on PHP versions from 5.0.0 to 5.6.38.

  • Can CVE-2018-19520 be exploited remotely?

    Yes, CVE-2018-19520 can be exploited remotely if an attacker has access to the administrative interface of the affected SDCMS application.

  • What types of attacks can CVE-2018-19520 facilitate?

    CVE-2018-19520 can facilitate arbitrary code execution attacks, allowing attackers to execute malicious code on the server.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203