Code Injection in phpCMS - CVE-2018-19127

 

Code Injection in phpCMS - CVE-2018-19127

Published: November 9, 2018 / Updated: August 8, 2020


Vulnerability identifier: #VU36438
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2018-19127
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: phpcms.de
Affected software:
phpCMS

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

A code injection vulnerability in /type.php in PHPCMS 2008 allows attackers to write arbitrary content to a website cache file with a controllable filename, leading to arbitrary code execution. The PHP code is sent via the template parameter, and is written to a data/cache_template/*.tpl.php file along with a "<?php function " substring.


How to mitigate CVE-2018-19127

Install update from vendor's website.

Sources