<?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>68857</bug_id>
          
          <creation_ts>2004-10-25 09:40 0000</creation_ts>
          <short_desc>x11-wm/windowmaker: Unspecified &quot;WMGLOBAL&quot; Vulnerability</short_desc>
          <delta_ts>2006-12-27 01:06:44 0000</delta_ts>
          
          
          <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>INVALID</resolution>
          
          <status_whiteboard>C? [stable+ ppc64] koon</status_whiteboard>
          
          <priority>P2</priority>
          <bug_severity>trivial</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>69467</dependson>
    
    <dependson>72258</dependson>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>lewk@gentoo.org</reporter>
          <assigned_to>security@gentoo.org</assigned_to>
          <cc>gnustep@gentoo.org</cc>
    
    <cc>ppc64@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>lewk@gentoo.org</who>
            <bug_when>2004-10-25 09:40:26 0000</bug_when>
            <thetext>TITLE:
WindowMaker Unspecified &quot;WMGLOBAL&quot; Vulnerability

SECUNIA ADVISORY ID:
SA12961

VERIFY ADVISORY:
http://secunia.com/advisories/12961/

CRITICAL:
Less critical

IMPACT:
Unknown

WHERE:
Local system

SOFTWARE:
WindowMaker 0.x
http://secunia.com/product/4132/

DESCRIPTION:
A vulnerability with an unknown impact has been reported in
WindowMaker.

The vulnerability is caused due to insufficient validation of font
specifications in &quot;WMGLOBAL&quot;.

SOLUTION:
Update to version 0.90.0:
ftp://windowmaker.org/pub/source/release/WindowMaker-0.90.0.tar.gz

PROVIDED AND/OR DISCOVERED BY:
Reported by vendor.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>solar@gentoo.org</who>
            <bug_when>2004-10-25 10:00:53 0000</bug_when>
            <thetext>Can we get some arch testing for the windowmaker-0.90.0 ebuild?
It&apos;s curently KEYWORDS=&quot;~ppc ~sparc&quot;

x86, sparc and alpha have windowmaker-0.80.2-r2.ebuild marked stable
ppc, ppc64 and amd64 are on windowmaker-0.80.2-r4
mips has never marked any version as stable

windowmaker-0.90.0 appears to only have been added to the tree yesterday 
and with so little details coming from upstream the chances of calling it 
stable are probably slim to none.
Perhaps if we could atleast get our arches on ~arch for this package so testing can underway that would be great.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2004-10-26 01:28:42 0000</bug_when>
            <thetext>More details on how it is vulnerable would be good...

Arches: please test and mark &quot;~&quot; as a first step toward stable-ization :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lewk@gentoo.org</who>
            <bug_when>2004-10-26 05:40:37 0000</bug_when>
            <thetext>Here is a bit more info from the ChangeLog.

- Added a check that only %d is used in a font specification in WMGLOBAL and at
  most once for each font in a fontset (eliminates a possible security exploit)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2004-10-29 01:22:19 0000</bug_when>
            <thetext>Looks like a privilege escalation through format string issues. Rating &quot;B1?&quot;.

alpha, amd64, mips, ppc64 : please test and KEYWORD as &quot;~&quot; so that we can start getting bug reports on this... and get it stable one day.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kloeri@gentoo.org</who>
            <bug_when>2004-10-31 04:11:06 0000</bug_when>
            <thetext>~alpha keyworded.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>blubb@gentoo.org</who>
            <bug_when>2004-11-05 14:16:56 0000</bug_when>
            <thetext>0.90.0 amd64 testing</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fafhrd@gentoo.org</who>
            <bug_when>2004-11-06 15:11:17 0000</bug_when>
            <thetext>Testing arch&apos;s on windowmaker-0.91.0 would be great as well.  (Basically, the first 0.9X.0 release had some bugs on some platforms.)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>blubb@gentoo.org</who>
            <bug_when>2004-11-07 01:44:31 0000</bug_when>
            <thetext>0.91.0 testing too</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hardave@gentoo.org</who>
            <bug_when>2004-11-14 22:29:06 0000</bug_when>
            <thetext>windowmaker-0.90.0 and windowmaker-0.91.0-r1 marked ~mips.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2004-11-23 07:39:48 0000</bug_when>
            <thetext>gnustep herd : do you think it&apos;s ready for stable ? Is there outstanding bugs that need fixing first (if, so please list them as blockers of this bug).

We can&apos;t sit on this one for too long.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>corsair@gentoo.org</who>
            <bug_when>2004-11-23 10:48:45 0000</bug_when>
            <thetext>I&apos;ve problems using this on ppc64, as libffi doesn&apos;t compile, but this is only
needed, if I USE=&quot;gnustep&quot;. So gnustep could be added to use.mask and I could
add the ~ppc64 keyword.

Please let me know, if I should do that or if I should wait until gnustep is useable.

I opened this bug for gnustep on ppc64: bug #72258

Markus</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fafhrd@gentoo.org</who>
            <bug_when>2004-11-23 11:29:55 0000</bug_when>
            <thetext>&quot;gnustep&quot; should definitely not be added to your use flags unless you&apos;re feeling a bit adventurous, atm ;-)

However, windowmaker-0.91.0 has been quite stable for me on ppc and x86.  The only issues I&apos;ve come across are some focusing issues directly related to GNUstep interaction with WindowMaker, so this wouldn&apos;t be a concern for most.

All arches should test on 0.91.0, and not 0.90.0, as 0.90.0 was quite bug ridden wrt NETWM support.  Arches please test the latest revision, currently at 0.91.0-r1, in case any of your users do what to try out GNUstep.  No file location changes will (likely) appear after this revision w/o a good reason.

windowmaker-0.91-0.r1 seems to have KEYWORDS=&quot;~x86 ~ppc ~sparc ~amd64 ~mips&quot;, so it looks like we just need alpha and ppc64 as well to cover the 0.80* series ebuilds.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2004-11-23 11:52:09 0000</bug_when>
            <thetext>Let&apos;s try to mark windowmaker-0.91-0.r1 stable...
Target KEYWORDS=&quot;x86 ppc sparc alpha ppc64 amd64 ~mips&quot;

Arches : please test and mark stable if you can.
Alpha and ppc64 should try to mark ~ first.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2004-11-23 12:44:42 0000</bug_when>
            <thetext>stable amd64... fafhrd: please check the versions of the gnustep-base/* packages I marked stable to see if there is reason I should&apos;ve picked a different version that I was unaware of...

I also took the liberty of adding /etc/X11/dm/Sessions/wmaker.desktop so it shows up in gdm&apos;s list of sessions.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>seemant@gentoo.org</who>
            <bug_when>2004-11-23 12:59:04 0000</bug_when>
            <thetext>eradicator, for gdm in recent gnome&apos;s I thought it&apos;s /usr/share/xsessions?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tgall@gentoo.org</who>
            <bug_when>2004-11-23 14:31:33 0000</bug_when>
            <thetext>0.91.0-r1 doesn&apos;t look to be stable on ppc64, least if you want to use the preferences app :-)

0.90.0 however is working and I intend to mark that stable shortly.  Currently working through the forest of gnustep deps</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fafhrd@gentoo.org</who>
            <bug_when>2004-11-23 17:53:02 0000</bug_when>
            <thetext>I was about to remove the file locations alterations dependant on the use of the &quot;gnustep&quot; USE flag, and then create a rev version bump for testing with this flag, hoping to speed up this security issue.  It looks like amd64 went stable already for the original 0.91.0-r1 ebuild (with the gnustep USE flag), so for platforms where GNUstep is quite unlikely to build/work atm, such as ppc64 (no idea if it can/will work here), could those platforms add &quot;gnustep&quot; to their own use.mask?  Does this sound reasonable?

This scenario is just kind of odd, because WindowMaker can be configured to be tightly coupled to a GNUstep based installation, but it doesn&apos;t have to be (and, good to note, it usually isn&apos;t, for most), and I wouldn&apos;t want to slow down fixing a security issue just &apos;cause GNUstep isn&apos;t happy. ;-)
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>weeve@gentoo.org</who>
            <bug_when>2004-11-23 20:28:58 0000</bug_when>
            <thetext>To follow up to comment #16, the reason prefs doesn&apos;t work here is the default menu references /usr/GNUstepSystem/Applications/WPrefs.app/WPrefs which doesn&apos;t exist.  The correct path is /usr/GNUstep/System/Applications/WPrefs.app/WPrefs</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2004-11-24 00:35:46 0000</bug_when>
            <thetext>seemant: I added it locally to the /etc/X11/dm/Sessions, and it showed up in my sessions list for gdm-2.6.0.4-r1

I&apos;m guessing one of those is deprecated... and knowing my luck, I used the deprecated one... I&apos;ll double check.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>josejx@gentoo.org</who>
            <bug_when>2004-11-24 03:06:27 0000</bug_when>
            <thetext>I tested windowmaker-0.91.0-r1 on ppc and it seems to work fine, but when trying to commit for this bug, repoman complains of IUSE.invalid (profile), bad RDEPENDS for ~mips on gnustep-base/gnustep-env and the xinerama patch is 26K.

Thanks!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tester@gentoo.org</who>
            <bug_when>2004-11-24 11:38:40 0000</bug_when>
            <thetext>marked 0.91.0-r1 stable on x86</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>josejx@gentoo.org</who>
            <bug_when>2004-11-26 04:07:23 0000</bug_when>
            <thetext>Marked ppc stable.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>weeve@gentoo.org</who>
            <bug_when>2004-11-26 11:01:25 0000</bug_when>
            <thetext>Stable on sparc (with gnustep useflag masking).  Let us know when the gnustep people feel confident with stablizing it and we&apos;ll unmask.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2004-11-26 14:10:49 0000</bug_when>
            <thetext>Sent email upstream for more information</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2004-11-29 06:24:40 0000</bug_when>
            <thetext>From WindowMaker team :

----------
The impact is that if you have your configuration files (most specifically
~/GNUstep/Defaults/WMGLOBAL) world writable, someone could put one of
those string format exploits in there. So, I guess it&apos;s nothing
alarming...
----------

So it&apos;s a local root in case you screw up your configuration badly. I think I&apos;m going to drop that one as invalid.

There is a local root if you set /etc/init.d files world writeable too, and it&apos;s not a vulnerability.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2004-11-29 06:47:51 0000</bug_when>
            <thetext>It&apos;s not even a local root, it&apos;s a local user exploit. This is hardly a vulnerability, so it will be closed without GLSA.

Keeping the bug open to track stable marks</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kloeri@gentoo.org</who>
            <bug_when>2004-11-29 18:10:21 0000</bug_when>
            <thetext>Stable on alpha.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>corsair@gentoo.org</who>
            <bug_when>2004-12-18 12:01:13 0000</bug_when>
            <thetext>added dependency, which blocks me from marking it stable on ppc64.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2004-12-30 06:45:48 0000</bug_when>
            <thetext>Time to close this... This is not a vulnerability anyway. I still hope ppc64 will be able to mark it stable someday, but security doesn&apos;t care, in fact.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>