Remote Code Execution (RCE) Affecting php package, versions [5.0.0,5.6.39)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.36% (72nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Remote Code Execution (RCE) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PHP-2335512
  • published12 Jan 2022
  • disclosed25 Nov 2018
  • creditUnknown

Introduced: 25 Nov 2018

CVE-2018-19520  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade php to version 5.6.39 or higher.

Overview

Affected versions of this package are vulnerable to Remote Code Execution (RCE). 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.

References

CVSS Scores

version 3.1