summaryrefslogtreecommitdiff
blob: c1f1ed6418e1d62160fffe8173ae23103fc22fdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200409-15">
  <title>Webmin, Usermin: Multiple vulnerabilities in Usermin</title>
  <synopsis>
    A vulnerability in the webmail function of Usermin could be used by an
    attacker to execute shell code via a specially-crafted e-mail. A bug in the
    installation script of Webmin and Usermin also allows a local user to
    execute a symlink attack at installation time.
  </synopsis>
  <product type="ebuild">Usermin</product>
  <announced>2004-09-12</announced>
  <revised count="02">2006-05-22</revised>
  <bug>63167</bug>
  <access>remote</access>
  <affected>
    <package name="app-admin/usermin" auto="yes" arch="*">
      <unaffected range="ge">1.090</unaffected>
      <vulnerable range="lt">1.090</vulnerable>
    </package>
    <package name="app-admin/webmin" auto="yes" arch="*">
      <unaffected range="ge">1.160</unaffected>
      <vulnerable range="lt">1.160</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    Webmin and Usermin are web-based system administration consoles. Webmin
    allows an administrator to easily configure servers and other features.
    Usermin allows users to configure their own accounts, execute commands,
    and read e-mail. The Usermin functionality, including webmail, is also
    included in Webmin.
    </p>
  </background>
  <description>
    <p>
    There is an input validation bug in the webmail feature of Usermin.
    </p>
    <p>
    Additionally, the Webmin and Usermin installation scripts write to
    /tmp/.webmin without properly checking if it exists first.
    </p>
  </description>
  <impact type="normal">
    <p>
    The first vulnerability allows a remote attacker to inject arbitrary
    shell code in a specially-crafted e-mail. This could lead to remote
    code execution with the privileges of the user running Webmin or
    Usermin.
    </p>
    <p>
    The second could allow local users who know Webmin or Usermin is going
    to be installed to have arbitrary files be overwritten by creating a
    symlink by the name /tmp/.webmin that points to some target file, e.g.
    /etc/passwd.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All Usermin users should upgrade to the latest version:
    </p>
    <code>
    # emerge sync
    
    # emerge -pv "&gt;=app-admin/usermin-1.090"
    # emerge "&gt;=app-admin/usermin-1.090"</code>
    <p>
    All Webmin users should upgrade to the latest version:
    </p>
    <code>
    # emerge sync
    
    # emerge -pv "&gt;=app-admin/webmin-1.160"
    # emerge "&gt;=app-admin/webmin-1.160"</code>
  </resolution>
  <references>
    <uri link="https://secunia.com/advisories/12488/">Secunia Advisory SA12488</uri>
    <uri link="http://www.webmin.com/uchanges.html">Usermin Changelog</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0559">CVE-2004-0559</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-1468">CVE-2004-1468</uri>
  </references>
  <metadata tag="requester" timestamp="2004-09-10T12:32:20Z">
    koon
  </metadata>
  <metadata tag="bugReady" timestamp="2004-09-11T10:07:56Z">
    koon
  </metadata>
  <metadata tag="submitter" timestamp="2004-09-11T16:34:02Z">
    dmargoli
  </metadata>
</glsa>