1 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 |
Gentoo Linux Security Advisory GLSA 201707-03 |
3 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
4 |
https://security.gentoo.org/ |
5 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
6 |
|
7 |
Severity: Normal |
8 |
Title: phpMyAdmin: Security bypass |
9 |
Date: July 08, 2017 |
10 |
Bugs: #614522 |
11 |
ID: 201707-03 |
12 |
|
13 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
14 |
|
15 |
Synopsis |
16 |
======== |
17 |
|
18 |
A vulnerability in phpMyAdmin might allow remote attackers to bypass |
19 |
authentication. |
20 |
|
21 |
Background |
22 |
========== |
23 |
|
24 |
phpMyAdmin is a web-based management tool for MySQL databases. |
25 |
|
26 |
Affected packages |
27 |
================= |
28 |
|
29 |
------------------------------------------------------------------- |
30 |
Package / Vulnerable / Unaffected |
31 |
------------------------------------------------------------------- |
32 |
1 dev-db/phpmyadmin < 4.0.10.20 >= 4.0.10.20 |
33 |
< 4.7.0 >= 4.7.0 |
34 |
|
35 |
Description |
36 |
=========== |
37 |
|
38 |
A vulnerability was discovered where the restrictions caused by |
39 |
"$cfg['Servers'][$i]['AllowNoPassword'] = false" are bypassed under |
40 |
certain PHP versions. This can lead compromised user accounts, who have |
41 |
no passwords set, even if the administrator has set |
42 |
"$cfg['Servers'][$i]['AllowNoPassword']" to false (which is the |
43 |
default). |
44 |
|
45 |
This behavior depends on the PHP version used (it seems PHP 5 is |
46 |
affected, while PHP 7.0 is not). |
47 |
|
48 |
Impact |
49 |
====== |
50 |
|
51 |
A remote attacker, who only needs to know the username, could bypass |
52 |
security restrictions and access phpMyAdmin. |
53 |
|
54 |
Workaround |
55 |
========== |
56 |
|
57 |
Set a password for all users. |
58 |
|
59 |
Resolution |
60 |
========== |
61 |
|
62 |
All phpMyAdmin 4.0.x users should upgrade to the latest version: |
63 |
|
64 |
# emerge --sync |
65 |
# emerge --ask --oneshot -v ">=dev-db/phpmyadmin-4.0.10.20:4.0.10.20" |
66 |
|
67 |
All other phpMyAdmin users should upgrade to the latest version: |
68 |
|
69 |
# emerge --sync |
70 |
# emerge --ask --oneshot --verbose ">=dev-db/phpmyadmin-4.7.0:4.7.0" |
71 |
|
72 |
References |
73 |
========== |
74 |
|
75 |
[ 1 ] PMASA-2017-8 |
76 |
https://www.phpmyadmin.net/security/PMASA-2017-8/ |
77 |
|
78 |
Availability |
79 |
============ |
80 |
|
81 |
This GLSA and any updates to it are available for viewing at |
82 |
the Gentoo Security Website: |
83 |
|
84 |
https://security.gentoo.org/glsa/201707-03 |
85 |
|
86 |
Concerns? |
87 |
========= |
88 |
|
89 |
Security is a primary focus of Gentoo Linux and ensuring the |
90 |
confidentiality and security of our users' machines is of utmost |
91 |
importance to us. Any security concerns should be addressed to |
92 |
security@g.o or alternatively, you may file a bug at |
93 |
https://bugs.gentoo.org. |
94 |
|
95 |
License |
96 |
======= |
97 |
|
98 |
Copyright 2017 Gentoo Foundation, Inc; referenced text |
99 |
belongs to its owner(s). |
100 |
|
101 |
The contents of this document are licensed under the |
102 |
Creative Commons - Attribution / Share Alike license. |
103 |
|
104 |
http://creativecommons.org/licenses/by-sa/2.5 |