<?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>158831</bug_id>
          
          <creation_ts>2006-12-22 07:03 0000</creation_ts>
          <short_desc>dev-util/cscope install includes insecure web frontend</short_desc>
          <delta_ts>2007-02-14 12:27:17 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>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <status_whiteboard>B4 [noglsa]</status_whiteboard>
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>160559</dependson>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>vapier@gentoo.org</reporter>
          <assigned_to>security@gentoo.org</assigned_to>
          <cc>emacs@gentoo.org</cc>
    
    <cc>vim@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2006-12-22 07:03:30 0000</bug_when>
            <thetext>if we&apos;re going to be installing the cscope web frontend, we should probably patch it so the default output includes a big warning:
&lt;h1&gt;this script is insecure and does no checking so you can do ask it to show random files on your server&lt;/h1&gt;

while generally not a terribly big issue in the normal case, i dont think people would go around installing this if they knew that it could be easily used to glean fun information about the configuration of their system

a quick test shows that you can display any file that is apache readable (so all of your apache config files)

just install cscope into your cgi-bin (i dont think you even need to configure the .pl file) and browse to like:
http://localhost/cgi-bin/cscope/cscope?fshow=1&amp;fshowfile=/etc/passwd</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fauli@gentoo.org</who>
            <bug_when>2007-01-05 03:50:34 0000</bug_when>
            <thetext>Security, you want the web frontend removed or the big warning?  I will inform upstream about the issue.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2007-01-06 13:00:51 0000</bug_when>
            <thetext>I think a warning would be sufficient.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fauli@gentoo.org</who>
            <bug_when>2007-01-06 18:30:20 0000</bug_when>
            <thetext>15.6-r1 with the warning in CVS now, security you now may cc arches if you think that it is needed, or close the bug.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fauli@gentoo.org</who>
            <bug_when>2007-02-03 11:44:22 0000</bug_when>
            <thetext>Security, all necessary steps from maintainers have been done.  What will happen here next?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2007-02-10 21:57:28 0000</bug_when>
            <thetext>(In reply to comment #4)
&gt; Security, all necessary steps from maintainers have been done.  What will
&gt; happen here next?
&gt; 


The end of the known universe :)

alpha	amd64	arm	ia64	mips	s390 :
please test and mark stable cscope-15.6-r1, thanks.

hppa, ppc, ppc64, sparc, x86, please test and mark stable cscope-15.6-r1 if everything is OK. That is a very weak security issue, so if something is wrong with it, it should be better to stay with 15.5.20060927-r1 and to patch it with the warning in it.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2007-02-10 21:59:00 0000</bug_when>
            <thetext>Forgot to add arches. And reassigning.


&quot;alpha   amd64   arm     ia64    mips    s390 :
please test and mark stable cscope-15.6-r1, thanks.

hppa, ppc, ppc64, sparc, x86, please test and mark stable cscope-15.6-r1 if
everything is OK. That is a very weak security issue, so if something is wrong
with it, it should be better to stay with 15.5.20060927-r1 and to patch it with
the warning in it.&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fauli@gentoo.org</who>
            <bug_when>2007-02-11 10:02:22 0000</bug_when>
            <thetext>x86 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dertobi123@gentoo.org</who>
            <bug_when>2007-02-11 11:14:15 0000</bug_when>
            <thetext>ppc stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>killerfox@gentoo.org</who>
            <bug_when>2007-02-11 21:47:39 0000</bug_when>
            <thetext>stable on hppa</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gustavoz@gentoo.org</who>
            <bug_when>2007-02-12 12:56:40 0000</bug_when>
            <thetext>sparc stable.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kloeri@gentoo.org</who>
            <bug_when>2007-02-12 20:35:28 0000</bug_when>
            <thetext>Stable on Alpha.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>blubb@gentoo.org</who>
            <bug_when>2007-02-12 21:54:35 0000</bug_when>
            <thetext>amd64 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>corsair@gentoo.org</who>
            <bug_when>2007-02-13 08:56:44 0000</bug_when>
            <thetext>ppc64 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2007-02-13 10:34:21 0000</bug_when>
            <thetext>I would vote for NOglsa</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>taviso@gentoo.org</who>
            <bug_when>2007-02-13 11:14:45 0000</bug_when>
            <thetext>also vote NO</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ahf@0x90.dk</who>
            <bug_when>2007-02-14 11:50:01 0000</bug_when>
            <thetext>Stable on MIPS.
Closing.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fauli@gentoo.org</who>
            <bug_when>2007-02-14 11:51:16 0000</bug_when>
            <thetext>Security hasn&apos;t finished its procedure.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2007-02-14 12:27:17 0000</bug_when>
            <thetext>yes, thanks.

But noone will vote except me and tavis, so closing without glsa. Feel free to rereopen if you disagree :)</thetext>
          </long_desc>
      
    </bug>

</bugzilla>