Bug 748761 (CVE-2009-5054) - CVE-2009-5054 php-Smarty: Does not consider the umask value when setting the permissions of files
Summary: CVE-2009-5054 php-Smarty: Does not consider the umask value when setting the ...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2009-5054
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-25 10:12 UTC by Jan Lieskovsky
Modified: 2019-09-29 12:48 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-25 10:26:39 UTC


Attachments (Terms of Use)
Smarty r3351 upstream patch (6.08 KB, patch)
2011-10-25 10:18 UTC, Jan Lieskovsky
no flags Details | Diff

Description Jan Lieskovsky 2011-10-25 10:12:31 UTC
Common Vulnerabilities and Exposures assigned an identifier CVE-2009-5054 to
the following vulnerability:

Smarty before 3.0.0 beta 4 does not consider the umask value when setting the permissions of files, which might allow attackers to bypass intended access restrictions via standard filesystem operations. 

References:
[1] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-5054
[2] http://smarty-php.googlecode.com/svn/trunk/distribution/change_log.txt

Comment 1 Jan Lieskovsky 2011-10-25 10:18:02 UTC
Relevant Changelog entry:

------- beta 4
11/18/2009
- observe umask settings when setting file permissions

And particular SVN log entry to it:

r3351 | Uwe.Tews | 2009-11-18 18:25:18 +0100 (Wed, 18 Nov 2009) | 3 lines

- observe umask settings when setting file permissions
- avoide unneeded cache file creation for subtemplates which did occur in some situations

Comment 2 Jan Lieskovsky 2011-10-25 10:18:44 UTC
Created attachment 530046 [details]
Smarty r3351 upstream patch

Comment 3 Jan Lieskovsky 2011-10-25 10:26:39 UTC
This issue did NOT affect the versions of the php-Smarty package, as shipped with Fedora release of 14 and 15 (the particular code in question is not present in those versions yet).

--

This issue did NOT affect the versions of the php-Smarty package, as shipped with Fedora EPEL 5 and Fedora EPEL 6 repositories (the particular code in question is not present in those versions yet).


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