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.
Branches: PHP 5.6, PHP 5.5, PHP 5.4, PHP 5.3, PHP 5.2, PHP 5.1, PHP 5.0 · Check: 5.6.38
ext/standard/var_unserializer.c in PHP 5.x through 7.1.24 allows attackers to cause a denial of service (application crash) via an unserialize call for the com, dotnet, or variant class.
Branches: PHP 7.1, PHP 7.0, PHP 5.6, PHP 5.5, PHP 5.4, PHP 5.3, PHP 5.2, PHP 5.1 +1 more · Check: 7.1.24
ext/standard/var.c in PHP 5.x through 7.1.24 on Windows allows attackers to cause a denial of service (NULL pointer dereference and application crash) because com and com_safearray_proxy return NULL in com_properties_get in ext/com_dotnet/com_handlers.c, as demonstrated by a serialize call on COM("WScript.Shell").
Branches: PHP 7.1, PHP 7.0, PHP 5.6, PHP 5.5, PHP 5.4, PHP 5.3, PHP 5.2, PHP 5.1 +1 more · Check: 7.1.24
In PHP before 5.5.32, 5.6.x before 5.6.18, and 7.x before 7.0.3, all of the return values of stream_get_meta_data can be controlled if the input can be controlled (e.g., during file uploads). For example, a "$uri = stream_get_meta_data(fopen($file, "r"))['uri']" call mishandles the case where $file is data:text/plain;uri=eviluri, -- in other words, metadata can be set by an attacker.
Branches: PHP 7.0, PHP 5.6, PHP 5.5 · Check: 7.0.2, 5.6.17, 5.5.31