{"id":"CVE-2018-19127","sourceIdentifier":"cve@mitre.org","published":"2018-11-09T12:29:00.293","lastModified":"2026-06-17T01:48:49.853","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Una vulnerabilidad de inyección de código en /type.php en PHPCMS 2008 permite a los atacantes escribir contenido arbitrario en un archivo de caché de sitio web con un nombre de archivo controlable, lo que conduce a la ejecución arbitraria de código. El código PHP se envía a través del parámetro template y se escribe en un archivo data/cache_template/*.tpl.php junto con una subcadena \">?php function\"."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV30":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10.0,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-94"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:phpcms:phpcms:2008:*:*:*:*:*:*:*","matchCriteriaId":"F0C08765-CEB9-4EA8-BB50-F4FE305489D3"}]}]}],"references":[{"url":"https://github.com/ab1gale/phpcms-2008-CVE-2018-19127","source":"cve@mitre.org","tags":["Third Party Advisory"]},{"url":"https://github.com/ab1gale/phpcms-2008-CVE-2018-19127","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]}]}