SB2024052913 - PHP code injection in Smarty



SB2024052913 - PHP code injection in Smarty

Published: May 29, 2024

Security Bulletin ID SB2024052913
CSH Severity
High
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Code Injection (CVE-ID: CVE-2024-35226)

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber


The vulnerability allows a remote attacker to execute arbitrary PHP code on the target system.

The vulnerability exists due to improper input validation when handling "extends-tag" attribute. Template authors can inject and execute arbitrary PHP code by choosing a malicious file name for an extends-tag.


Remediation

Install update from vendor's website.