Bug 469648 (CVE-2008-4811) - CVE-2008-4811 php-Smarty: PHP code execution via templates with \ escaped $ sign
Summary: CVE-2008-4811 php-Smarty: PHP code execution via templates with \ escaped $ sign
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2008-4811
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL: http://nvd.nist.gov/nvd.cfm?cvename=C...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-03 09:01 UTC by Tomas Hoger
Modified: 2019-09-29 12:26 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-11-26 08:20:07 UTC
Embargoed:


Attachments (Terms of Use)

Description Tomas Hoger 2008-11-03 09:01:21 UTC
Common Vulnerabilities and Exposures assigned an identifier CVE-2008-4811 to the following vulnerability:

The _expand_quoted_text function in libs/Smarty_Compiler.class.php in
Smarty 2.6.20 r2797 and earlier allows remote attackers to execute
arbitrary PHP code via vectors related to templates and a \
(backslash) before a dollar-sign character.

References:
http://www.openwall.com/lists/oss-security/2008/10/25/2
http://securityvulns.ru/Udocument746.html
http://secunia.com/advisories/32329

Comment 1 Christopher Stone 2008-11-03 16:43:14 UTC
Again, this bug description is confusing an inaccurate.

If I understand this correctly, r2797 *fixes* the problem, and the bug description should say "...in Smarty 2.6.20 r2796 and earlier..."

Comment 2 Fedora Update System 2008-11-03 17:29:38 UTC
php-Smarty-2.6.20-2.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/php-Smarty-2.6.20-2.fc9

Comment 3 Fedora Update System 2008-11-03 17:30:22 UTC
php-Smarty-2.6.20-2.fc8 has been submitted as an update for Fedora 8.
http://admin.fedoraproject.org/updates/php-Smarty-2.6.20-2.fc8

Comment 4 Fedora Update System 2008-11-07 02:50:15 UTC
php-Smarty-2.6.20-2.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2008-11-07 02:52:00 UTC
php-Smarty-2.6.20-2.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2008-11-23 18:57:08 UTC
php-Smarty-2.6.20-2.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/php-Smarty-2.6.20-2.fc10

Comment 7 Fedora Update System 2008-11-26 06:24:58 UTC
php-Smarty-2.6.20-2.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.