<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>24332</bug_id>
          
          <creation_ts>2010-10-16 12:44:26 +0400</creation_ts>
          <short_desc>CVE-2010-3384: insecure library loading</short_desc>
          <delta_ts>2010-10-16 12:44:26 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>TORCS</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://bugs.debian.org/598306</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>security</keywords>
          <priority>P3</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vladimir Lettiev">crux</reporter>
          <assigned_to name="Vitaly Lipatov">lav</assigned_to>
          <cc>arbars</cc>
    
    <cc>lav</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>113835</commentid>
    <comment_count>0</comment_count>
    <who name="Vladimir Lettiev">crux</who>
    <bug_when>2010-10-16 12:44:26 +0400</bug_when>
    <thetext>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/nfsperf line 30:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBDIR/lib
/usr/bin/accc line 30:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBDIR/lib
/usr/bin/texmapper line 30:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBDIR/lib
/usr/bin/trackgen line 30:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBDIR/lib
/usr/bin/nfs2ac line 30:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBDIR/lib
/usr/bin/torcs line 40:
    export LD_LIBRARY_PATH=$LIBDIR/lib:$LD_LIBRARY_PATH

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

    </bug>

</bugzilla>