CVE-2018-19520 Code injection in n/a
Administrators can execute arbitrary code via preg_replace e modifier in SDCMS template management due to insufficient input filtering.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-19520?
CVE-2018-19520 is a high-severity code injection vulnerability in Php Php, published on 25 Nov 2018. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-94
Which versions are affected by CVE-2018-19520?
It affects 2 products.
Products include Php Php, Sdcms Sdcms.
How do I fix CVE-2018-19520?
No fix has been published for CVE-2018-19520 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2018-19520 being exploited?
There is no known exploitation of CVE-2018-19520 in the wild and no public exploit code.
Other vulnerabilities in Php Php
Sources
Also known as GHSA-vrx7-96gv-r795.