Bug 501564 (CVE-2009-1669)
Summary: | CVE-2009-1669 Smarty: arbitrary commands execution via shell metacharacters in the equation attribute of the math function | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Jan Lieskovsky <jlieskov> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | chris.stone, vdanen |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.smarty.net/ | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-06-16 18:52:56 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jan Lieskovsky
2009-05-19 18:53:24 UTC
From the Debian bug tracker equivalent (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=529810): However in Linux after putting an empty file with a command as name ('uptime' for example): {math equation="`*u*`"} This will launch the "uptime" command. I doubt this can be considered an issue, to exploit it at least one file must be written and shell_exec() must not to be disabled. At this point writing a simple .php file with shell_exec('whatever I want') is equivalent and simplest... Looks like I am a couple revisions behind on Smarty. ;-) Luckily it is a three day weekend. I will upgrade the package to 2.6.24 sometime this weekend. My time is extremely limited, but most likely tomorrow afternoon. Thanks for the notice. php-Smarty-2.6.25-1.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/php-Smarty-2.6.25-1.fc11 php-Smarty-2.6.25-1.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/php-Smarty-2.6.25-1.fc10 php-Smarty-2.6.25-1.fc9 has been submitted as an update for Fedora 9. http://admin.fedoraproject.org/updates/php-Smarty-2.6.25-1.fc9 php-Smarty-2.6.25-1.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report. php-Smarty-2.6.25-1.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report. php-Smarty-2.6.25-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. |