{ "schema_version": "1.4.0", "id": "GHSA-vrx7-96gv-r795", "modified": "2022-05-14T01:37:06Z", "published": "2022-05-14T01:37:06Z", "aliases": [ "CVE-2018-19520" ], "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.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" } ], "affected": [], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-19520" }, { "type": "WEB", "url": "https://blog.whiterabbitxyj.com/cve/SDCMS_1.6_code_execution.doc" }, { "type": "WEB", "url": "https://github.com/WhiteRabbitc/WhiteRabbitc.github.io/blob/master/cve/SDCMS_1.6_code_execution.doc" } ], "database_specific": { "cwe_ids": [ "CWE-94" ], "severity": "HIGH", "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2018-11-25T20:29:00Z" } }