Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 111990
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sune Kloppenborg Jeppesen <jaervosz@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:
Flags: Requestee:
 
 
  ()

Filename Description Type Creator Created Size Actions
index.lok.diff index.lok.diff patch Sune Kloppenborg Jeppesen 2005-11-13 22:46 0000 3.17 KB Details | Diff
tmpfile.diff tmpfile.diff patch Sune Kloppenborg Jeppesen 2005-11-13 22:47 0000 1.16 KB Details | Diff
gnump3d-traversal.diff gnump3d-traversal.diff patch Sune Kloppenborg Jeppesen 2005-11-14 22:44 0000 693 bytes Details | Diff
gnump3d-index.lok.diff gnump3d-index.lok.diff patch Jeremy Huddleston (RETIRED) 2005-11-16 09:24 0000 3.17 KB Details | Diff
gnump3d-tmpfile.diff gnump3d-tmpfile.diff patch Jeremy Huddleston (RETIRED) 2005-11-16 09:25 0000 1.17 KB Details | Diff
gnump3d-traversal.diff gnump3d-traversal.diff patch Jeremy Huddleston (RETIRED) 2005-11-16 09:25 0000 702 bytes Details | Diff
gnump3d-2.9.7-r1.ebuild gnump3d-2.9.7-r1.ebuild text/plain Jeremy Huddleston (RETIRED) 2005-11-16 09:25 0000 2.18 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 111990 depends on: Show dependency tree
Bug 111990 blocks:

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-11-09 11:47 0000
Reported by Ludwig Nussel from SUSE: 
 
There is still another directory traversal bug that allows to escape 
the theme directory. Our package installs to /usr/share/gnump3d so 
you can access the whole /usr tree: 
http://localhost:8888/include/zlib.h?theme=../.. 
 
cu 
Ludwig 
 
--- 
And while we are already at it ... 
 
$ grepr -w /tmp 
./bin/gnump3d-index:  $lockfile = &getConfig( "lockfile",  "/tmp/index.lok" ); 
./bin/gnump3d-index:  $cache    = &getConfig( "tag_cache", 
"/tmp/tags.cache" ); 
./bin/gnump3d2:  $tag_cache   = getConfig( "tag_cache", "/tmp/tags.cache" ); 
./lib/gnump3d/plugins/search.pm:    my $tagCache = &getConfig( "tag_cache", 
"/tmp/tags.cache" ); 
./lib/gnump3d/tagcache.pm:    $tagCache->setCacheFile( '/tmp/tags.cache' ); 
 
cu 
Ludwig

------- Comment #1 From Sune Kloppenborg Jeppesen 2005-11-13 22:45:52 0000 -------
Fixes for the /tmp issues attached. 
 
tmpfile.diff - Change fallback default for tag cache to "". 
index.lok.diff - Remove unsafe /tmp lockfile usage. 

------- Comment #2 From Sune Kloppenborg Jeppesen 2005-11-13 22:46:31 0000 -------
Created an attachment (id=72860) [details]
index.lok.diff

------- Comment #3 From Sune Kloppenborg Jeppesen 2005-11-13 22:47:07 0000 -------
Created an attachment (id=72861) [details]
tmpfile.diff

------- Comment #4 From Sune Kloppenborg Jeppesen 2005-11-13 22:48:16 0000 -------
CVE-2005-3349 for the insecure files 

------- Comment #5 From Sune Kloppenborg Jeppesen 2005-11-14 02:02:32 0000 -------
CVE-2005-3355 for the directory traversal  

------- Comment #6 From Sune Kloppenborg Jeppesen 2005-11-14 14:16:29 0000 -------
Jeremy we're still waiting for the directory traversal issue but the patch 
should probably be available by tomorrow. CC'ing you already so you can be 
ready for disclosure on the 17th.  

------- Comment #7 From Sune Kloppenborg Jeppesen 2005-11-14 22:44:30 0000 -------
Created an attachment (id=72928) [details]
gnump3d-traversal.diff

Patch for the directory traversal.

------- Comment #8 From Sune Kloppenborg Jeppesen 2005-11-14 22:45:17 0000 -------
Jeremy please attach an updated ebuild to this bug. Do NOT commit anything to 
Portage at this time. 

------- Comment #9 From Jeremy Huddleston (RETIRED) 2005-11-16 09:24:59 0000 -------
Created an attachment (id=73012) [details]
gnump3d-index.lok.diff

------- Comment #10 From Jeremy Huddleston (RETIRED) 2005-11-16 09:25:19 0000 -------
Created an attachment (id=73013) [details]
gnump3d-tmpfile.diff

------- Comment #11 From Jeremy Huddleston (RETIRED) 2005-11-16 09:25:35 0000 -------
Created an attachment (id=73014) [details]
gnump3d-traversal.diff

------- Comment #12 From Jeremy Huddleston (RETIRED) 2005-11-16 09:25:52 0000 -------
Created an attachment (id=73015) [details]
gnump3d-2.9.7-r1.ebuild

------- Comment #13 From Sune Kloppenborg Jeppesen 2005-11-16 12:01:30 0000 -------
Arch security liaisons please test and report back on this bug. 

------- Comment #14 From Olivier Crete 2005-11-16 12:34:01 0000 -------
Adding halcy0n for x86 because I dont have my x86 box close.

------- Comment #15 From Markus Rothe 2005-11-16 12:45:12 0000 -------
this looks on ppc64? 
 
Error 
The requested file /include/zlib.h couldn't be found. Please try returning to 
the index. 

------- Comment #16 From Gustavo Zacarias (RETIRED) 2005-11-16 13:08:09 0000 -------
sparc looks ok.

------- Comment #17 From Thierry Carrez (RETIRED) 2005-11-17 01:57:53 0000 -------
Now public with the release of upstream 2.9.8
http://www.gnu.org/software/gnump3d/

Jeremy: please commit the 2.9.7-r1 with already-tested keywords (or if you
prefer push 2.9.8 as ~ and we'll have arch retest this one)

------- Comment #18 From Simon Stelling (RETIRED) 2005-11-17 11:40:21 0000 -------
with 2.9.7-r1, when starting it, i get the following:

 * Caching service dependencies ...                                       [ ok ]
* Starting gnump3d ...
 * Updating index of music files (may take a while for the first time) ...
Undefined subroutine &main::removeLock called at /usr/bin/gnump3d-index line
194.                                                                         [ ok ]

other than that, it seems to work fine on amd64

------- Comment #19 From Jeremy Huddleston (RETIRED) 2005-11-17 17:35:30 0000 -------
2.9.7-r1 and 2.9.8 are both in portage now

------- Comment #20 From Sune Kloppenborg Jeppesen 2005-11-17 22:10:11 0000 -------
CC'ing remaining arches to mark stable (alpha and ppc64) and unCC'ing arch 
security liaisons. 

------- Comment #21 From Markus Rothe 2005-11-18 00:54:56 0000 -------
stable on ppc64

------- Comment #22 From Fernando J. Pereda (RETIRED) 2005-11-18 02:09:34 0000 -------
alpha done

------- Comment #23 From Sune Kloppenborg Jeppesen 2005-11-18 02:41:26 0000 -------
Time for GLSA decision. We did a similar one in the past so I vote YES. 

------- Comment #24 From Thierry Carrez (RETIRED) 2005-11-18 04:35:00 0000 -------
Yes, we need one. And it's more than just an update since the issues changed
(tmpfile vulns in).

------- Comment #25 From Thierry Carrez (RETIRED) 2005-11-21 05:12:49 0000 -------
GLSA 200511-16

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug