<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>129470</bug_id>
          
          <creation_ts>2006-04-10 05:34 0000</creation_ts>
          <short_desc>media-gfx/fbida: insecure temp. file creation (CVE-2006-1695)</short_desc>
          <delta_ts>2006-04-23 12:59:46 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Security</product>
          <component>Vulnerabilities</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://secunia.com/advisories/19559/</bug_file_loc>
          <status_whiteboard>B3 [glsa] Falco</status_whiteboard>
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>falco@gentoo.org</reporter>
          <assigned_to>security@gentoo.org</assigned_to>
          <cc>spock@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2006-04-10 05:34:19 0000</bug_when>
            <thetext>Description:
Jan Braun has reported a vulnerability in fbida, which can be exploited by malicious, local users to perform certain actions on a vulnerable system with escalated privileges.

The &quot;fbgs&quot; script creates temporary files insecurely in the &quot;/var/tmp&quot; directory when the &quot;TMPDIR&quot; environment variable isn&apos;t defined. This can be exploited to create or overwrite arbitrary files via symlink attacks with the privileges of a user running the vulnerable script.

The vulnerability has been reported in versions 2.01 and 2.03. Other versions may also be affected.


see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=361370</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2006-04-10 05:43:25 0000</bug_when>
            <thetext>patch proposed from debian http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=361370

&gt;  # tmp dir
&gt; -DIR=&quot;${TMPDIR-/var/tmp}/fbps-$$&quot;
&gt; -mkdir -p $DIR	|| exit 1
&gt; +DIR=`mktemp -dtp /tmp fbgs-XXXXXX`
&gt; +[ -d $DIR ]  || exit 1

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2006-04-15 05:26:54 0000</bug_when>
            <thetext>spock, please bump with provided patch</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>spock@gentoo.org</who>
            <bug_when>2006-04-15 14:43:24 0000</bug_when>
            <thetext>Done, the patch is included in -r3.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2006-04-15 21:32:20 0000</bug_when>
            <thetext>x86 please test and mark stable.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2006-04-16 03:47:45 0000</bug_when>
            <thetext>i might be wrong, but fbida-2.03-r2 is marked stable for ppc64, and -r2 is vulnerable.

So ppc64 has to test fbida-2.03-r3 and mark it stable too, thanks you in advance.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>corsair@gentoo.org</who>
            <bug_when>2006-04-16 12:31:52 0000</bug_when>
            <thetext>it was commited staight so stable on ppc64...

anyway.. seems to build and run just fine.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2006-04-17 08:51:17 0000</bug_when>
            <thetext>np, thank you corsair</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tsunam@gentoo.org</who>
            <bug_when>2006-04-17 20:42:10 0000</bug_when>
            <thetext>x86 is done \(^.^)/</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2006-04-18 12:07:38 0000</bug_when>
            <thetext>OK; glsa?

i tend to vote &quot;yes&quot; (we have already provided several glsas concerning such symlink attacks and B3)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2006-04-18 21:09:42 0000</bug_when>
            <thetext>I tend to vote YES.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2006-04-19 10:44:33 0000</bug_when>
            <thetext>Half yes here too. One more look please</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dercorny@gentoo.org</who>
            <bug_when>2006-04-21 08:52:13 0000</bug_when>
            <thetext>another half yes</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2006-04-23 02:20:01 0000</bug_when>
            <thetext>thanks to jaervosz for the CVE reference</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2006-04-23 12:59:46 0000</bug_when>
            <thetext>Thx Falco. GLSA 200604-13 is out.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>