Bug 24324 - CVE-2010-3349: insecure library loading
Summary: CVE-2010-3349: insecure library loading
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: ardour (show other bugs)
Version: unstable
Hardware: all Linux
: P3 blocker
Assignee: Sergey Bolshakov
QA Contact: qa-sisyphus
URL: http://bugs.debian.org/598283
Keywords: security
Depends on:
Blocks:
 
Reported: 2010-10-15 21:08 MSD by Vladimir Lettiev
Modified: 2013-06-18 23:30 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Lettiev 2010-10-15 21:08:25 MSD
The vulnerability is introduced by an insecure change to
LD_LIBRARY_PATH, and environment variable used by ld.so(8) to look for
libraries on a directory other than the standard paths.

Vulnerable code follows:

/usr/bin/ardour2 line 5:
export LD_LIBRARY_PATH=/usr/lib/ardour2:$LD_LIBRARY_PATH 

When there's an empty item on the colon-separated list of
LD_LIBRARY_PATH, ld.so treats it as '.' (i.e. CWD/$PWD.)
If the given script is executed from a directory where a potential,
local, attacker can write files to, there's a chance to exploit this
bug.


Proposed patch: here http://patch-tracker.debian.org/patch/series/view/ardour/1:2.8.11-3/130_ldpath.patch
Comment 1 karpov 2011-02-10 16:10:47 MSK
At last - this one will be fixed in 2.8.11-alt1.1.
Comment 2 AEN 2013-06-18 23:30:54 MSK
Давно исправлено