Bug 89092 - kde-base/kdewebdev - Kommander untrusted code execution
Bug#: 89092 Product:  Gentoo Security Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: security@gentoo.org Reported By: carlo@gentoo.org
Component: Vulnerabilities
URL:  http://www.kde.org/info/security/advisory-20050420-1.txt
Summary: kde-base/kdewebdev - Kommander untrusted code execution
Keywords:  
Status Whiteboard: B2 [glsaupdate] jaervosz
Opened: 2005-04-14 07:36 0000
Description:   Opened: 2005-04-14 07:36 0000
from the advisory draft:

20/04/2005 Coordinated Public Disclosure

1. Systems affected:

        Quanta 3.1.x, KDE 3.2 and new up to including KDE 3.4.0.


2. Overview:

        Kommander is a visual editor and interpreter to edit and
        interpret visual dialogs and execute scripts attached to
        dialog actions. 

        Kommander executes without user confirmation data files
        from possibly untrusted locations. As they contain 
        scripts, the user might accidentally run arbitrary code.


3. Impact:

        Remotly supplied kommander files from untrusted sources
        are executed without confirmation. 


4. Solution:

        Source code patches have been made available which fix these
        vulnerabilities. Contact your OS vendor / binary package provider
        for information about how to obtain updated binary packages.

------- Comment #1 From Carsten Lohrke 2005-04-19 17:04:59 0000 -------
<<< kdewebdev-3.3.2-r1

Arch herds, please mark stable. Thanks! :)


------- Comment #2 From Sune Kloppenborg Jeppesen 2005-04-19 22:30:39 0000 -------
Arches can't access restricted bugs -> uncc'ing arches and cc'ing individual
devs. (We'll handle it public later today if we see any advisories.)

Please test and mark kdewebdev-3.3.2-r1 stable.

alpha: kloeri
amd64: absinthe
ppc: pylon
ppc64: corsair
sparc: weeve
x86: tester
mips: hardave
hppa: gmsoft
ia64: ?

If you are not able to mark stable please cc another dev for your arch.

------- Comment #3 From Olivier Crete 2005-04-19 22:42:30 0000 -------
x86 is already stable.. (you're lucky since I dont have kde ;)

------- Comment #4 From Markus Rothe 2005-04-19 23:44:06 0000 -------
stable on ppc64

------- Comment #5 From Jason Wever (RETIRED) 2005-04-20 06:03:42 0000 -------
Stable on SPARC.

------- Comment #6 From Carsten Lohrke 2005-04-20 09:04:40 0000 -------
Sune: Sorry, I thought we can immediatly open when the discosure date is met.
Would it be possible to establish a always up to date arch/security contact
list I can grab with a script?

cc'd cryos for amd64 since he has time, agriffis for ia64 (and alpha maybe)

------- Comment #7 From Marcus D. Hanwell 2005-04-20 09:57:10 0000 -------
Stable on amd64.

------- Comment #8 From Bryan Østergaard (RETIRED) 2005-04-20 13:59:56 0000 -------
Stable on alpha + ia64.

------- Comment #9 From Sune Kloppenborg Jeppesen 2005-04-21 23:00:27 0000 -------
This is public now -> opening.

------- Comment #10 From Sune Kloppenborg Jeppesen 2005-04-21 23:04:30 0000 -------
Ehh sorry, now it is open. Sorry for the spam.

------- Comment #11 From John Myers 2005-04-22 11:35:36 0000 -------
The GLEP should probably mention the split-out kommander as well as the
monolithic one.

------- Comment #12 From Matthias Geerdsen 2005-04-22 13:18:27 0000 -------
s/GLEP/GLSA ;-)

but sounds correct, kde-base/kommander was also fixed with 3.4.0-r1
It has been ~arch masked though.

------- Comment #13 From Sune Kloppenborg Jeppesen 2005-04-23 00:27:21 0000 -------
The KDE split ebuilds are not stable yet and therefor not mentioned. Until we
have a better staffing situtation we do not issue GLSAs about unstable
packages.

See Non-stable packages in the first chapter of the Vulnerability Policy:
http://www.gentoo.org/security/en/vulnerability-policy.xml

------- Comment #14 From Sune Kloppenborg Jeppesen 2005-04-23 00:27:46 0000 -------
GLSA 200504-23

mips, hppa remember to mark stable to benifit from GLSA.

------- Comment #15 From Carsten Lohrke 2005-05-02 17:25:11 0000 -------
There's a bug in the original patch, causing a trailing / to be stripped, so
e.g. not only /tmp/foo, but /tmpfoo would cause a temp directory warning as
well. 

This is a minor issue, but it would be nice, if you would mark 

<<< kdewebdev-3.3.2-r2.ebuild

stable as well. The kde.org guys plan to update their advisory. Don't know, if
we do in such a case.


Thanks.

------- Comment #16 From Sune Kloppenborg Jeppesen 2005-05-02 22:03:12 0000 -------
Thx Carlo. Arches please test and mark stable.

We'll update our GLSA but not issue an update as the security issue is fixed already.

------- Comment #17 From Jan Brinkmann (RETIRED) 2005-05-03 08:05:35 0000 -------
stable on amd64

------- Comment #18 From Jason Wever (RETIRED) 2005-05-03 09:10:53 0000 -------
Got SPARC?

------- Comment #19 From Michael Hanselmann (hansmi) (RETIRED) 2005-05-03 13:08:05 0000 -------
Stable on ppc.

------- Comment #20 From Carsten Lohrke 2005-05-03 16:41:08 0000 -------
Um, my 2 o'clock in the mornin' brain just doesn't work. :( The url to test got
stripped, so the test wouldn't succeed, leaving the door wide open - as far as
anyone is using kommander scripts.

An updated kde.org advisory regarding this bug and Bug 88862 follows later
today. 

------- Comment #21 From Markus Rothe 2005-05-04 09:36:00 0000 -------
stable on ppc64

------- Comment #22 From Bryan Østergaard (RETIRED) 2005-05-05 00:20:44 0000 -------
Stable on alpha + ia64.

------- Comment #23 From Michael Hanselmann (hansmi) (RETIRED) 2005-05-05 04:21:11 0000 -------
Stable on hppa.

------- Comment #24 From Sune Kloppenborg Jeppesen 2005-05-07 10:51:04 0000 -------
Carlo is this ready to be closed again now?

------- Comment #25 From Carsten Lohrke 2005-05-07 11:11:54 0000 -------
Up to you Sune. No GLSA update in order?

------- Comment #26 From Thierry Carrez (RETIRED) 2005-05-15 08:15:09 0000 -------
Time for a GLSA update...

------- Comment #27 From Sune Kloppenborg Jeppesen 2005-05-15 08:49:32 0000 -------
As far as I understand the latest patch, it's just an extra/wrong warning. So
no security issue. So I'll close it without a GLSA update. 

------- Comment #28 From Sune Kloppenborg Jeppesen 2005-05-19 23:59:34 0000 -------
I was wrong it apparently is an issue, reopening for GLSA update.

http://www.kde.org/info/security/advisory-20050504-1.txt

The Kommander patch was incorrect and still allowed execution of files served from /tmp.

------- Comment #29 From Sune Kloppenborg Jeppesen 2005-05-20 05:53:34 0000 -------
GLSA UPDATE sent. 

------- Comment #30 From Thierry Carrez (RETIRED) 2005-05-20 10:52:59 0000 -------
Then we close it.

------- Comment #31 From Hardave Riar (RETIRED) 2005-07-07 22:46:55 0000 -------
Stable on mips.