summaryrefslogtreecommitdiff
blob: 43481dc89a6b86361081ad3cd546ca87a7c0dffd (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
<?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>December 19, 2004</announced>
  <revised>December 19, 2004: 01</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 &quot;&gt;=dev-db/phpmyadmin-2.6.1_rc1&quot;</code>
  </resolution>
  <references>
    <uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1147">CAN-2004-1147</uri>
    <uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1148">CAN-2004-1148</uri>
    <uri link="http://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="Thu, 16 Dec 2004 13:35:32 +0000">
    SeJo
  </metadata>
  <metadata tag="bugReady" timestamp="Sat, 18 Dec 2004 14:47:08 +0000">
    koon
  </metadata>
</glsa>