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

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 135020 depends on: Show dependency tree
Bug 135020 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: 2006-05-31 03:14 0000
Hi;

i thought this was an old issue (GLSA200512-11, CVE-2005-3694, CVE-2005-3863)
but at least dev-utils/motor seems to remain unpatched.
3.3.0 is stable in our tree; 3.4.0 is ~arched  (x86, ppc)
(Last dev-utils/motor/Changelog mtime = Apr 24  2005)

Debian has just issued DSA-1083-1 concerning this issue :
http://www.debian.org/security/2006/dsa-1083
Debian mentions execution of arbitrary code.

----------------

Software:       Motor 3.x

CVE reference:  CVE-2005-3863

Description:
A vulnerability has been reported in Motor, which potentially can be exploited
by malicious, local users to perform certain actions with escalated privileges.

The vulnerability is caused due to the use of a vulnerable version of the
ktools library.

For more information:
SA17768

The vulnerability has been reported in version 3.4.0. Other versions may also
be affected.

Solution:
Restrict use of affected applications to only accept input from trusted
sources.

Some Linux vendors have issued fixed packages.

------- Comment #1 From Raphael Marichez 2006-05-31 03:18:24 0000 -------
patch below :

--- motor-3.2.2.orig/kkstrtext/kkstrtext.h
+++ motor-3.2.2/kkstrtext/kkstrtext.h
@@ -83,7 +83,7 @@
     { \
        va_list vgs__ap; char vgs__buf[1024]; \
        va_start(vgs__ap, fmt); \
-       vsprintf(vgs__buf, fmt, vgs__ap); c = vgs__buf; \
+       vsnprintf(vgs__buf, 1024, fmt, vgs__ap); c = vgs__buf; \
        va_end(vgs__ap); \
     }


http://security.debian.org/pool/updates/main/m/motor/motor_3.2.2-2woody1.diff.gz

i'm not sure this is exploitable for code injection

------- Comment #2 From Raphael Marichez 2006-06-11 14:28:25 0000 -------
Hi liquidx, please provide a fixed ebuild if possible. Thanks in advance.

Sec-team, we should decide if this is exploitable or not for a GLSA decision.

------- Comment #3 From Wolf Giesen (RETIRED) 2006-06-12 00:10:47 0000 -------
Hm, as far as I can see, local threat -> execute code, but I don't yet see the
privilege escalation here.

Did somebody check whether the other apps depending on ktools were fixed?
centericq had glsa-200512-11, groan seems not to be in portage, but Orpheus is,
and looking at the Changelog the last change was before the bug was discovered.
Not sure of the impact, though.

------- Comment #4 From Sune Kloppenborg Jeppesen 2006-07-24 07:12:43 0000 -------
Any news on this one?

------- Comment #5 From Thierry Carrez (RETIRED) 2006-07-29 05:43:07 0000 -------
liquidx please advise

------- Comment #6 From Thierry Carrez (RETIRED) 2006-08-12 07:42:48 0000 -------
We should probably patch this one ourselves or hunt that maintainer down.

------- Comment #7 From Alastair Tse (RETIRED) 2006-08-22 02:22:08 0000 -------
Sorry, I didn't even realise I still maintain this package. So what is the
solution? Get 3.4.0 to portage or apply that patch?

------- Comment #8 From Alastair Tse (RETIRED) 2006-08-22 03:14:14 0000 -------
Committed patch from debian that is the same as the one in the comments. bumped
for motor-3.3.0-r1 and motor-3.4.0-r1 for stable and unstable respectively.
I've taken the liberty to mark it stable for motor-3.3.0 for x86, so we need
ppc to mark motor-3.3.0-r1 stable as well

------- Comment #9 From Wormo 2006-08-22 15:24:28 0000 -------
3.3.0-r1 doesn't seem to work too well here, after I create a project it
doesn't get added to the project list.

On the other hand, 3.4.0-r1 does work fine, so I'll stable it and you can get
rid of the vulnerable 3.3.0

------- Comment #10 From Sune Kloppenborg Jeppesen 2006-08-23 08:20:39 0000 -------
This one is ready for GLSA.

------- Comment #11 From Raphael Marichez 2006-08-31 10:06:41 0000 -------
GLSA 200608-27 sent but does not appear on some gentoo-announce recipients...

------- Comment #12 From Sune Kloppenborg Jeppesen 2006-09-05 06:03:31 0000 -------
Falco, either we should close this one or resend (unless it has mysteriously
appeared in the meantime).

------- Comment #13 From Raphael Marichez 2006-09-07 14:14:55 0000 -------
glsa resent and received :)

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