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

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

    <bug>
          <bug_id>24331</bug_id>
          
          <creation_ts>2010-10-16 12:37:28 +0400</creation_ts>
          <short_desc>CVE-2010-3382: insecure library loading</short_desc>
          <delta_ts>2010-10-20 09:16:34 +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>tau</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://bugs.debian.org/598303</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="Evgeny Sinelnikov">sin</assigned_to>
          <cc>antohami</cc>
    
    <cc>cas</cc>
    
    <cc>cow</cc>
    
    <cc>darktemplar</cc>
    
    <cc>enp</cc>
    
    <cc>evg</cc>
    
    <cc>george</cc>
    
    <cc>glebfm</cc>
    
    <cc>hiddenman</cc>
    
    <cc>imz</cc>
    
    <cc>lav</cc>
    
    <cc>ldv</cc>
    
    <cc>mithraen</cc>
    
    <cc>nbr</cc>
    
    <cc>qa_viy</cc>
    
    <cc>real</cc>
    
    <cc>rider</cc>
    
    <cc>sem</cc>
    
    <cc>shaba</cc>
    
    <cc>sin</cc>
    
    <cc>solo</cc>
    
    <cc>vitty</cc>
    
    <cc>viy</cc>
    
    <cc>vvk</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>113832</commentid>
    <comment_count>0</comment_count>
    <who name="Vladimir Lettiev">crux</who>
    <bug_when>2010-10-16 12:37:28 +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/tauex line 197:
export LD_LIBRARY_PATH=$TAUROOT/$TAUARCH/lib/$theBinding:$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><long_desc isprivate="0" >
    <commentid>113912</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2010-10-18 14:23:15 +0400</bug_when>
    <thetext>tau-2.19.2-alt6 -&gt; sisyphus:

* Mon Oct 18 2010 Eugeny A. Rostovtsev (REAL) &lt;real at altlinux&gt; 2.19.2-alt6
- Fixed insecure setting of LD_LIBRARY_PATH (ALT #24331)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114022</commentid>
    <comment_count>2</comment_count>
    <who name="Vladimir Lettiev">crux</who>
    <bug_when>2010-10-20 09:16:34 +0400</bug_when>
    <thetext>Более педантичный подход к проверке на пустую строку ` if [ -n &quot;$VAR&quot; ]; `</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>