summaryrefslogtreecommitdiff
blob: 64c44c93e7a7c30e5f19ca476bec13a3e2b9265d (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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201707-03">
  <title>phpMyAdmin: Security bypass</title>
  <synopsis>A vulnerability in phpMyAdmin might allow remote attackers to
    bypass authentication.
  </synopsis>
  <product type="ebuild">phpmyadmin</product>
  <announced>2017-07-08</announced>
  <revised count="2">2017-08-06</revised>
  <bug>614522</bug>
  <access>remote</access>
  <affected>
    <package name="dev-db/phpmyadmin" auto="yes" arch="*">
      <unaffected range="ge">4.0.10.20</unaffected>
      <unaffected range="ge">4.7.0</unaffected>
      <vulnerable range="lt">4.0.10.20</vulnerable>
      <vulnerable range="lt">4.7.0</vulnerable>
    </package>
  </affected>
  <background>
    <p>phpMyAdmin is a web-based management tool for MySQL databases.</p>
  </background>
  <description>
    <p>A vulnerability was discovered where the restrictions caused by
      “$cfg[‘Servers’][$i][‘AllowNoPassword’] = false” are bypassed
      under certain PHP versions. This can lead compromised user accounts, who
      have no passwords set, even if the administrator has set
      “$cfg[‘Servers’][$i][‘AllowNoPassword’]” to false (which is
      the default).
    </p>
    
    <p>This behavior depends on the PHP version used (it seems PHP 5 is
      affected, while PHP 7.0 is not).
    </p>
  </description>
  <impact type="normal">
    <p>A remote attacker, who only needs to know the username, could bypass
      security restrictions and access phpMyAdmin.
    </p>
  </impact>
  <workaround>
    <p>Set a password for all users.</p>
  </workaround>
  <resolution>
    <p>All phpMyAdmin 4.0.x users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose
      "&gt;=dev-db/phpmyadmin-4.0.10.20:4.0.10.20"
    </code>
    
    <p>All other phpMyAdmin users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=dev-db/phpmyadmin-4.7.0:4.7.0"
    </code>
  </resolution>
  <references>
    <uri link="https://www.phpmyadmin.net/security/PMASA-2017-8/">PMASA-2017-8</uri>
  </references>
  <metadata tag="requester" timestamp="2017-04-28T01:10:27Z">BlueKnight</metadata>
  <metadata tag="submitter" timestamp="2017-08-06T11:05:30Z">whissi</metadata>
</glsa>