VYPR
High severity8.8OSV Advisory· Published Nov 25, 2018· Updated Jun 17, 2026

CVE-2018-19520

CVE-2018-19520

Description

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.

Affected products

4
  • PHP/PHPOSV2 versions
    (expand)+ 1 more
    • (no CPE)
    • cpe:2.3:a:php:php:*:*:*:*:*:*:*:*range: >=5.0.0,<=5.6.38
  • SDcms/SDcms2 versions
    cpe:2.3:a:sdcms:sdcms:1.6:*:*:*:*:*:*:*+ 1 more
    • cpe:2.3:a:sdcms:sdcms:1.6:*:*:*:*:*:*:*
    • (no CPE)range: = 1.6

Patches

Vulnerability mechanics

References

2

News mentions

0

No linked articles in our index yet.