summaryrefslogtreecommitdiff
blob: c3479137c62f803626d182a66afd668b34e83575 (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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200412-19">
  <title>phpMyAdmin: Multiple vulnerabilities</title>
  <synopsis>
    phpMyAdmin contains multiple vulnerabilities which could lead to file
    disclosure or command execution.
  </synopsis>
  <product type="ebuild">phpmyadmin</product>
  <announced>2004-12-19</announced>
  <revised count="01">2004-12-19</revised>
  <bug>74303</bug>
  <access>remote</access>
  <affected>
    <package name="dev-db/phpmyadmin" auto="yes" arch="*">
      <unaffected range="ge">2.6.1_rc1</unaffected>
      <vulnerable range="lt">2.6.1_rc1</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    phpMyAdmin is a tool written in PHP intended to handle the
    administration of MySQL databases from a web-browser.
    </p>
  </background>
  <description>
    <p>
    Nicolas Gregoire (exaprobe.com) has discovered two vulnerabilities
    that exist only on a webserver where PHP safe_mode is off. These
    vulnerabilities could lead to command execution or file disclosure.
    </p>
  </description>
  <impact type="high">
    <p>
    On a system where external MIME-based transformations are enabled,
    an attacker can insert offensive values in MySQL, which would start a
    shell when the data is browsed. On a system where the UploadDir is
    enabled, read_dump.php could use the unsanitized sql_localfile variable
    to disclose a file.
    </p>
  </impact>
  <workaround>
    <p>
    You can temporarily enable PHP safe_mode or disable external
    MIME-based transformation AND disable the UploadDir. But instead, we
    strongly advise to update your version to 2.6.1_rc1.
    </p>
  </workaround>
  <resolution>
    <p>
    All phpMyAdmin users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=dev-db/phpmyadmin-2.6.1_rc1"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1147">CAN-2004-1147</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1148">CAN-2004-1148</uri>
    <uri link="https://www.phpmyadmin.net/home_page/security.php?issue=PMASA-2004-4">PHPMyAdmin advisory: PMASA-2004-4</uri>
    <uri link="http://www.exaprobe.com/labs/advisories/esa-2004-1213.html">Exaprobe.com advisory: esa-2004-1213</uri>
  </references>
  <metadata tag="submitter" timestamp="2004-12-16T13:35:32Z">
    SeJo
  </metadata>
  <metadata tag="bugReady" timestamp="2004-12-18T14:47:08Z">
    koon
  </metadata>
</glsa>