### [CVE-2018-19520](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-19520) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### 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. ### POC #### Reference No PoCs from references. #### Github - https://github.com/syadg123/pigat - https://github.com/teamssix/pigat