CVE-2018-19520

Source
https://cve.org/CVERecord?id=CVE-2018-19520
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-19520.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-19520
Published
2018-11-25T20:29:00Z
Modified
2026-08-07T11:31:19Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:a:sdcms:sdcms:1.6:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "1.6"
                },
                {
                    "last_affected": "1.6"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "sdcms:sdcms"
        }
    ]
}
References

Affected packages

Git / github.com/php/php-src

Affected ranges

Type
GIT
Repo
https://github.com/php/php-src
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "5.0.0"
        },
        {
            "last_affected": "5.6.38"
        }
    ],
    "source": "CPE_RANGE"
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-19520.json"