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

Filename Description Type Creator Created Size Actions
web-lib.pl.diff usage of quotemeta patch Alin Năstac 2004-09-08 14:05 0000 9.56 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 63167 depends on: Show dependency tree
Bug 63167 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

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: 2004-09-07 14:45 0000
Seems that mantainer of usermin should bump version to 1.090 right away.

Overview:
A vulnerability in Usermin's Web mail function could result in arbitrary OS command execution upon viewing a specially crafted HTML mail.

Problem Description:
Usermin is a web interface that allows all users on a Unix system to easily receive mails and to perform SSH and mail forwarding configuration.

A vulnerability exists in Usermin because the module responsible for mail transmission fails to sanitize HTML mails including a link to another Usermin module. An attacker could take advantage of this problem to execute arbitrary OS commands with the privileges of the Usermin user.

Tested Versions:
Usermin Version 1.070
Usermin Version 1.080

Solution:
This problem can be addressed by upgrading Usermin to version 1.090.

------- Comment #1 From Luke Macken (RETIRED) 2004-09-07 15:02:30 0000 -------
eradicator,

please bump to 1.090. thanks!

------- Comment #2 From Jeremy Huddleston (RETIRED) 2004-09-07 15:42:11 0000 -------
ppc needs to mark stable before GLSA can be issued.

alpha & ppc64 should mark stable to benefit from this GLSA.

------- Comment #3 From SpanKY 2004-09-07 22:11:29 0000 -------
ppc is now stable

------- Comment #4 From Sune Kloppenborg Jeppesen 2004-09-08 00:05:29 0000 -------
Seems to be some confusion about what issues where fixed.

From http://www.webmin.com/uchanges.html

Fixed a security problem that can occur at installation time only, if the /tmp/.webmin directory has already been created by a malicious user. 

From http://www.webmin.com/uchanges-1.090.html

Fixed a security hole in the maketemp.pl script, used to create the /tmp/.usermin directory at install time. If an un-trusted user creates this directory before Webmin is installed, he could create in it a symbolic link pointing to a critical file on the system, which would be overwritten when Usermin writes to the link filename (CVE bug CAN-2004-0559). 

------- Comment #5 From Alin Năstac 2004-09-08 02:20:41 0000 -------
forgot to put app-admin/webmin on the spot as well, since it contains usermin
;)
should be bumped to 1.160

------- Comment #6 From Sune Kloppenborg Jeppesen 2004-09-08 03:04:39 0000 -------
Back to ebuild status. Eradicator please bump webmin as well.

Also if anyone can clear up what issues this actually fixes. The advisory seems to be coordinated with webmin, however the changelog mentions another security issue that was fixed.


------- Comment #7 From Alin Năstac 2004-09-08 03:20:53 0000 -------
Secunia has issued an announcement regarding this issue -
http://secunia.com/advisories/12488/

I tried to figure it out where was the problem but the diff is just too big
(~1M) to understand it few minutes.

I think that we need to update webmin/usermin right away even if we don't
understand the problem. The maintainer updated his packages on Sept the 5th,
you know? In addition, the original announcement is ambiguous to say the least.
Seems pretty big hole to me...

------- Comment #8 From Alin Năstac 2004-09-08 14:05:50 0000 -------
Created an attachment (id=39217) [details]
usage of quotemeta

The inserted line which contain quotemeta call is, without a doubt, a security
update.

------- Comment #9 From SpanKY 2004-09-08 20:04:08 0000 -------
ok, so what packages/versions need to get tested in stable ?

------- Comment #10 From Alin Năstac 2004-09-08 21:44:43 0000 -------
reply to comment #9:
   app-admin/usermin-1.090
   app-admin/webmin-1.160

------- Comment #11 From Sune Kloppenborg Jeppesen 2004-09-08 21:59:31 0000 -------
app-admin/webmin-1.160 is not in the tree yet. Eradicator please bump.

UnCC'ing arches until we get a bumped build for webmin.

------- Comment #12 From Jeremy Huddleston (RETIRED) 2004-09-09 10:31:16 0000 -------
ok, webmin has been bumped now too... not too many of the sf mirrors have it
yet, so it may take a couple tries to get it...

amd64, sparc, and x86 were marked by me

ppc hppa ppc64 alpha: you need to mark either usermin, webmin, or both stable.

------- Comment #13 From Pieter Van den Abeele 2004-09-10 03:02:48 0000 -------
ppc stable

------- Comment #14 From Thierry Carrez (RETIRED) 2004-09-10 05:24:33 0000 -------
Confirmation from Webmin's Jamie Cameron :

-------------------------------------------------------------------------
> Your ChangeLog says it solves CAN-2004-0559 (the installation-time
> local symlink vulnerability), but a SNS Advisory (and a Secunia
> reference) disclose a remote arbitrary shell execution vulnerability
> that would also be solved by the latest release.
> 
> Could you confirm if that second vulnerability was also solved in
> release 1.090 ? [...]

Yes, all those vulnerabilities are addressed in the latest release. [...]
-------------------------------------------------------------------------

------- Comment #15 From Bryan Østergaard (RETIRED) 2004-09-10 07:57:05 0000 -------
Alpha is stable.

------- Comment #16 From Dan Margolis (RETIRED) 2004-09-12 13:37:22 0000 -------
GLSA 200409-15

------- Comment #17 From Guy Martin 2004-09-13 03:00:52 0000 -------
Stable on hppa.

------- Comment #18 From Tom Gall 2004-10-09 12:00:27 0000 -------
stable on ppc64 

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