<?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>72750</bug_id>
          
          <creation_ts>2004-11-28 10:54 0000</creation_ts>
          <short_desc>kde-base/kdebase Konqueror Java vulnerabilities</short_desc>
          <delta_ts>2006-03-23 19:17:38 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>
          <bug_file_loc>http://www.kde.org/info/security/advisory-20041220-1.txt</bug_file_loc>
          <status_whiteboard>A2 [glsa] jaervosz</status_whiteboard>
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>73759</blocked>
    
    <blocked>73795</blocked>
    
    <blocked>75204</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>jaervosz@gentoo.org</reporter>
          <assigned_to>security@gentoo.org</assigned_to>
          <cc>bugreports@tittel.net</cc>
    
    <cc>kde@gentoo.org</cc>
    
    <cc>roger55@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2004-11-28 10:54:18 0000</bug_when>
            <thetext>Konqueror 3.3.1 with sun-jdk 1.4.2_06 is listed as vulnerable according to the heise test:

http://www.heise.de/security/dienste/browsercheck/tests/java.shtml</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2004-11-29 02:05:02 0000</bug_when>
            <thetext>kde please test and confirm (remember blackdown on a web browser) asap.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2004-11-29 03:00:15 0000</bug_when>
            <thetext>tested with blackdown-jdk-1.4.2_01 and konqueror 3.3.1 and it is listed as vulnerable too.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>carlo@gentoo.org</who>
            <bug_when>2004-11-29 06:26:37 0000</bug_when>
            <thetext>It is a test for the Java sandbox bypassing issue, you could read about lately everywhere. This has nothing to do with any special browser. &gt;=sun-jdk 1.4.2_06 and blackdown-jdk-1.4.2_01 (Bug 72221) are the safe versions.

I did not try blackdown, but the &quot;Sie k</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>carlo@gentoo.org</who>
            <bug_when>2004-11-29 06:26:37 0000</bug_when>
            <thetext>It is a test for the Java sandbox bypassing issue, you could read about lately everywhere. This has nothing to do with any special browser. &gt;=sun-jdk 1.4.2_06 and blackdown-jdk-1.4.2_01 (Bug 72221) are the safe versions.

I did not try blackdown, but the &quot;Sie können dies &gt;hier&lt; testen&quot; popup with the text &quot;Sieht gut aus, der Versuch lieferte einen Fehler: undefined&quot; means that you&apos;re fine.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2004-11-29 07:36:06 0000</bug_when>
            <thetext>I&apos;m getting &quot;Sie</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2004-11-29 07:36:06 0000</bug_when>
            <thetext>I&apos;m getting &quot;Sie sind verwundbar: [object Object ref=11299397]&quot; with 1.4.2-01 from Blackdown Java-Linux Team according to the version string on heise.de.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2004-11-29 10:01:21 0000</bug_when>
            <thetext>Same with 1.4.2_06 from Sun Microsystems Inc. it gives &quot;Sie</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2004-11-29 10:01:21 0000</bug_when>
            <thetext>Same with 1.4.2_06 from Sun Microsystems Inc. it gives &quot;Sie sind verwundbar: [object Object ref=5218268]&quot;

However this test: http://bcheck.scanit.be/bcheck/ seems to claim that konqueror is clean with both Blackdown and Sun jdk.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>langthang@gentoo.org</who>
            <bug_when>2004-11-29 10:57:57 0000</bug_when>
            <thetext>I get &quot;Sieht gut aus, der Versuch lieferte einen Fehler: undefined&quot; with blackdown-jdk-1.4.2.01.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>carlo@gentoo.org</who>
            <bug_when>2004-11-29 11:13:54 0000</bug_when>
            <thetext>Um, after having a look at my konqueror config and replacing /opt/sun-jdk-1.4.2.05/bin/java with the correct path /opt/sun-jdk-1.4.2.06/bin/java, I can reproduce your results, Sune. My main browser is Firebird, so I guess I muddled the Java is active samples from the one browser with the test of the other... 

Tuan, same for you?

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>roger55@gentoo.org</who>
            <bug_when>2004-11-29 11:38:51 0000</bug_when>
            <thetext>Results with konqueror 3.3.1 and dev-java/blackdown-jdk-1.4.2.01 :

On the heise.de site: First the test said vulnerable, I adjusted the java path, then it said invulnerable once (maybe the page wasn&apos;t fully loaded?), then vulnerable again.
 
The http://bcheck.scanit.be/bcheck/ reports no vulnerabilities.


</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jg@cms.ac</who>
            <bug_when>2004-11-29 12:13:35 0000</bug_when>
            <thetext>installed/used software:
konqueror: v3.3.1
firefox: 1.0
dev-java/sun-jdk-1.4.2.06
dev-java/blackdown-jdk-1.4.1
dev-java/blackdown-jre-1.4.1

settings in konqueror: enable java globally is set.
path to java executable, or &apos;java&apos;: will change in every test.

testing: both the heise and bcheck tests

plugin-settings untouched. i always restarted knqueror between each test and config change.

test 1)
 path to java executable: /opt/blackdown-jdk-1.4.1/bin/java
 expected results: vulnerable
 results:
   heise: vulnerable
   bcheck: test1 (java): no result (0 vulnerabilities)

test 2)
 path to java executable: /opt/blackdown-jre-1.4.1/bin/java
 expected results: vulnerable
 results:
   heise: vulnerable
   bcheck: test1 (java): no result (0 vulnerabilities)

test 3)
 path to java executable: /opt/sun-jdk-1.4.2.06/bin/java
 expected results: NOT vulnerable
 results:
   heise: vulnerable
   bcheck: test1 (java): no result (0 vulnerabilities)

-----
plugin settings:
under plugins i still have the old paths that are expected to be vulnerable:
/opt/sun-jdk-1.4.2.04/jre/plugin/i386/ns610-gcc32/
/opt/sun-jdk-1.4.2.04/jre/plugin/i386

scanning for new plugins doesn&apos;t remove them (of course...).
i removed those old paths and did NOT enter the new ones for now.

test 4)
 path to java executable: /opt/sun-jdk-1.4.2.06/bin/java
 expected results: NOT vulnerable
 results:
   heise: vulnerable
   bcheck: test1 (java): no result (0 vulnerabilities)

i now entered the new paths for the plugins:
/opt/sun-jdk-1.4.2.06/bin/java

test 5)
 path to java executable: /opt/sun-jdk-1.4.2.06/bin/java
 expected results: NOT vulnerable
 results:
   heise: vulnerable
   bcheck: test1 (java): no result (0 vulnerabilities)

entering &quot;about:plugins&quot; in the location bar, konqueror says: 
Java Plug-in | Java Plug-in KJAS for Konqueror | kjavaappletviewer.so
removing this shared object file renders java unusable (heise reports deactivated).

deactivating plugins globally doesn&apos;t help either. the heise test still reports vulnerable.

i think it could be related to the kjavaappletviewer.so file. any kde pros here? 
i&apos;ll recompile kdelibs (will take 1-2h), maybe the kjava* stuff is linked to some java version during compilation?

---
last tests for now:
emerge latest blackdown* versions - rerunning the heise test still says vulnerable (though correct sun-jdk path).

BUT:
====
moving all vulnerable java-versions (sun, blackdown) from /opt to /tmp did help!
heise now says: NOT vulnerable: undefined.
(bcheck still doesn&apos;t report anything, i won&apos;t check this test anymore)

JG</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jg@cms.ac</who>
            <bug_when>2004-11-29 13:07:33 0000</bug_when>
            <thetext>well, i did not recompile kdelibs yet.
but i can confirm comment #8. my system still reports &quot;vulnerable&quot; although i moved all older java-versions to /tmp. if i click the link *before* the page is fully loaded it says &quot;undefined&quot; afterwards: &quot;vulnerable&quot;

JG


</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>carlo@gentoo.org</who>
            <bug_when>2004-11-30 05:12:42 0000</bug_when>
            <thetext>http://bugs.kde.org/show_bug.cgi?id=94164</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>michael.mauch@gmx.de</who>
            <bug_when>2004-11-30 08:25:16 0000</bug_when>
            <thetext>I unemerged all vulnerable Java versions, then re-emerged kdelibs and even rebooted: the Heise test still says &quot;vulnerable&quot;.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2004-12-06 09:22:49 0000</bug_when>
            <thetext>Still nothing from upstream.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>carlo@gentoo.org</who>
            <bug_when>2004-12-09 08:52:44 0000</bug_when>
            <thetext>According to Stepan Kulow, this is fixed with KDE 3.3.2.

Caleb, Motaboy, anyone else: I&apos;m still not subscribed to any kde lists, do you have more information about the issue? Do we have to backport for 3.2.3?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caleb@gentoo.org</who>
            <bug_when>2004-12-09 09:31:37 0000</bug_when>
            <thetext>I haven&apos;t seen anything from any list about this as a vulnerability.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>carlo@gentoo.org</who>
            <bug_when>2004-12-09 10:03:00 0000</bug_when>
            <thetext>Well, I did not try to write a real exploit, but it looks similar to Opera&apos;s recent Java sandbox problem, just revealed by the tests for the other Java sandbox issue and thanks to Sune, testing Konqueror. I&apos;ll ask Stephen.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2004-12-09 11:27:41 0000</bug_when>
            <thetext>kde please confirm if this is fixed with 3.3.2?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>carlo@gentoo.org</who>
            <bug_when>2004-12-11 07:45:55 0000</bug_when>
            <thetext>Sune, the result is now &quot;Sie sind verwundbar: undefined&quot; so it seems this is not a problem anymore. I just don&apos;t have any information on the quality of the problem and the fix itself causes a new problem. I reopened the above kde.org bug report, please follow it for more information.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caleb@gentoo.org</who>
            <bug_when>2004-12-19 06:06:06 0000</bug_when>
            <thetext>This is fixed with 3.3.2.  A fix will is made available for 3.2.3, which I will attempt to get into portage soon, but it&apos;s a bit complicated.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2004-12-20 06:28:58 0000</bug_when>
            <thetext>Caleb please provide an updated ebuild.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caleb@gentoo.org</who>
            <bug_when>2004-12-20 06:31:12 0000</bug_when>
            <thetext>3.2.3 will be fixed as soon as I can (tonight).  

There is no fix for 3.3.1 other than to upgrade to 3.3.2, unfortunately.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2004-12-20 08:42:26 0000</bug_when>
            <thetext>Caleb it would be really nice if 3.3.2 is ready to go stable to fix this one.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caleb@gentoo.org</who>
            <bug_when>2004-12-27 07:17:47 0000</bug_when>
            <thetext>Going to bump 3.3.2 to stable shortly (x86) - this is the recommended fix for this bug.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2004-12-27 10:34:41 0000</bug_when>
            <thetext>Thx Caleb.

Arches please mark stable:

kde-base/arts-1.3.2
kde-base/kdelibs-3.3.2-r1
kde-base/kdebase-3.3.2-r1
kde-base/kdepim-3.3.2
kde-base/kdegraphics-3.3.2-r1
kde-base/kdenetwork-3.3.2
kde-base/kdeaccessibility-3.3.2
kde-base/kdewebdev-3.3.2
kde-base/kdeadmin-3.3.2
kde-base/kdeartwork-3.3.2
kde-base/kdeutils-3.3.2
kde-base/kdemultimedia-3.3.2
kde-base/kdeaddons-3.3.2
kde-base/kdetoys-3.3.2
kde-base/kdeedu-3.3.2
kde-base/kdegames-3.3.2
kde-base/kde-3.3.2
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kloeri@gentoo.org</who>
            <bug_when>2004-12-29 11:39:28 0000</bug_when>
            <thetext>Stable on alpha.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hardave@gentoo.org</who>
            <bug_when>2005-01-01 13:36:28 0000</bug_when>
            <thetext>Does this bug affect archs, such as mips, that do not have a java implementation?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2005-01-03 04:15:34 0000</bug_when>
            <thetext>Hardave 3.3.2 also fixes xpdf issues for kde 3.3.1. See bug 75204</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2005-01-03 12:03:01 0000</bug_when>
            <thetext>Arches please mark kdelibs-3.3.2-r2 instead of -r1 (fix for bug #73759)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gmsoft@gentoo.org</who>
            <bug_when>2005-01-03 16:49:32 0000</bug_when>
            <thetext>Stable on hppa.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cryos@gentoo.org</who>
            <bug_when>2005-01-03 19:58:54 0000</bug_when>
            <thetext>All ebuilds mentioned in comments 24 and 28 are already stable on amd64.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pvdabeel@gentoo.org</who>
            <bug_when>2005-01-05 10:02:37 0000</bug_when>
            <thetext>ppc done</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gustavoz@gentoo.org</who>
            <bug_when>2005-01-05 14:22:59 0000</bug_when>
            <thetext>Currently arts is broken for sparc, the problem being on kde 3.3.2 is breaks kicker. It&apos;s been broken since kde 3.2.x, but it never broke other stuff, except from the annoying arts startup problem messages.
I&apos;m currently rebuilding kdelibs/base without arts support to check if masking arts would solve this. Once this is done i&apos;ll mask arts in the sparc profiles and then bump all the kde* stuff, hopefully for tomorrow morning.
Sorry for the delay on this, but i&apos;m short on horsepower to build stuff, basically my box is just 7% idle for a cumulative uptime of 9 days, doing GLSAs, releng and porting stuff.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2005-01-11 05:17:37 0000</bug_when>
            <thetext>GLSA 200501-17

This bug will stay open until sparc has a stable version at which time the GLSA will be updated.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>weeve@gentoo.org</who>
            <bug_when>2005-01-11 19:51:16 0000</bug_when>
            <thetext>Stable on sparc</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2005-01-11 22:34:23 0000</bug_when>
            <thetext>sparc stable closing with GLSA 200501-16

ia64 and mips remember to mark stable to benifit from the GLSA.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>