Bug 460180 (CVE-2008-3791)
Summary: | CVE-2008-3791 gpicview: Insecure auxiliary /tmp file usage (symlink attack possible) | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Jan Lieskovsky <jlieskov> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED UPSTREAM | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | marc, vdanen |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-04-19 21:59:27 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
2008-08-26 16:41:54 UTC
This issue affects the versions of the gpicview package as shipped within the Fedora releases of 8, 9 and 10. According to the current findings, this issue can allow arbitrary code execution via crafted file name: http://marc.info/?l=oss-security&m=122040004828615&w=4 Related Debian and Gentoo bug reports: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=495968 http://bugs.gentoo.org/show_bug.cgi?id=236525 Was unable to reproduce the arbitrary code execution (CVE-2008-3904) neither in LXDE (by using lxterminal) nor in Gnome(by using gnome-terminal),by following the steps as mentioned in: http://www.openwall.com/lists/oss-security/2008/09/03/1 References: http://www.openwall.com/lists/oss-security/2008/08/30/1 http://www.openwall.com/lists/oss-security/2008/09/03/1 Proposed patch: http://lxde.svn.sourceforge.net/viewvc/lxde/trunk/gpicview/src/main-win.c?sortby=date&r1=762&r2=845&pathrev=845 This has been corrected upstream and the fix is in version 0.1.10 which is in EPEL5. The corrected code also exists in the rotate_and_save_jpeg_lossless() function (relocated to jpeg-tran.c in 0.2.1, which is in Fedora 11+). |