Bug 252294 (CVE-2005-4790)

Summary: CVE-2005-4790 tomboy and blam uses insecure LD_LIBRARY_PATH
Product: [Other] Security Response Reporter: Lubomir Kundrak <lkundrak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: peter, rstrode
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://bugs.gentoo.org/show_bug.cgi?id=188806
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-11 19:14:50 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:
Bug Depends On: 362941, 362951, 362961, 395751, 395761, 395771    
Bug Blocks:    

Description Lubomir Kundrak 2007-08-15 06:14:44 UTC
From Gentoo bugzilla:

/usr/bin/tomboy from app-misc/tomboy contains line:

    export LD_LIBRARY_PATH="/usr/lib64/tomboy:$LD_LIBRARY_PATH"

which yields to LD_LIBRARY_PATH="/usr/lib64/tomboy:", what means that required
libraries are also looked up in current directory. In the case of tomboy, it is
usually user's home directory, but user may run application from directories
like /tmp as well. If someone is able to copy bogus system libraries to this
directory, user could potentially run enemy code.

Comment 1 Lubomir Kundrak 2007-08-15 06:36:56 UTC
A CVE name for the issue has been requested.

Comment 2 Lubomir Kundrak 2007-08-21 21:21:14 UTC
This is covered by CVE-2005-4790, though it will most likely will get another
CVE name (as CVE-2005-4790 describes more unrelated issues and just for SuSE).

Comment 3 Lubomir Kundrak 2007-08-21 22:07:26 UTC
Please use CVE-2005-4790. Mitre person changed his mind and he will not assign
another identifier.

Comment 4 Lubomir Kundrak 2007-11-01 16:51:50 UTC
This also need fixing for F8 and devel.
This is wel lover 2 months old. Please make an update as soon as possible!

Comment 6 Tomas Hoger 2007-11-22 15:36:32 UTC
CVE id CVE-2005-4790 actually covers this issue for three apps: (1) beagle, (2)
tomboy, or (3) blam.

beagle and tomboy are fixed and use ${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}

latest versions of blam are affected:

/usr/bin/blam
LD_LIBRARY_PATH="/usr/lib/blam:/usr/lib/firefox-2.0.0.9:$LD_LIBRARY_PATH"


Comment 7 Tomas Hoger 2007-11-22 15:43:41 UTC
Upstream blam 1.8.4 contains updated startup script, which addresses this issue.

Comment 8 Peter Gordon 2007-11-22 20:24:27 UTC
Thanks, Tomas. Builds for Blam which include the upstream fix for it are
churning through Koji now.