Code Injection in smarty.php.net Smarty



Published: 2014-11-03 | Updated: 2020-08-10
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2014-8350
CWE-ID CWE-94
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Smarty
Web applications / CMS

Vendor smarty.php.net

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Code Injection

EUVDB-ID: #VU41180

Risk: Medium

CVSSv3.1: 6.4 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2014-8350

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

Exploit availability: No

Description

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

Smarty before 3.1.21 allows remote attackers to bypass the secure mode restrictions and execute arbitrary PHP code as demonstrated by "{literal}<{/literal}script language=php>" in a template.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Smarty: 1.0 - 3.1.19

External links

http://advisories.mageia.org/MGASA-2014-0468.html
http://seclists.org/oss-sec/2014/q4/420
http://seclists.org/oss-sec/2014/q4/421
http://www.mandriva.com/security/advisories?name=MDVSA-2014:221
http://www.securityfocus.com/bid/70708
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765920
http://code.google.com/p/smarty-php/source/browse/trunk/distribution/change_log.txt?r=4902
http://exchange.xforce.ibmcloud.com/vulnerabilities/97725


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###