CVE-2016-2041
phpMyAdmin Unsafe comparison of XSRF/CSRF token
libraries/common.inc.php in phpMyAdmin 4.0.x before 4.0.10.13, 4.4.x before 4.4.15.3, and 4.5.x before 4.5.4 does not use a constant-time algorithm for comparing CSRF tokens, which makes it easier for remote attackers to bypass intended access restrictions by measuring time differences.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
7.5
libraries/common.inc.php in phpMyAdmin 4.0.x before 4.0.10.13, 4.4.x before 4.4.15.3, and 4.5.x before 4.5.4 does not use a constant-time algorithm for comparing CSRF tokens, which makes it easier for remote attackers to bypass intended access restrictions by measuring time differences.
- Record
CVE-2016-2041- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:P/A:N - Weakness
- CWE-254
- Updated
- 2026-11-02
CVE List No score
libraries/common.inc.php in phpMyAdmin 4.0.x before 4.0.10.13, 4.4.x before 4.4.15.3, and 4.5.x before 4.5.4 does not use a constant-time algorithm for comparing CSRF tokens, which makes it easier for remote attackers to bypass intended access restrictions by measuring time differences.
- Record
CVE-2016-2041- Updated
- 2026-11-02
EUVDEUVD-2022-3200 No score
libraries/common.inc.php in phpMyAdmin 4.0.x before 4.0.10.13, 4.4.x before 4.4.15.3, and 4.5.x before 4.5.4 does not use a constant-time algorithm for comparing CSRF tokens, which makes it easier for remote attackers to bypass intended access restrictions by measuring time differences.
- Record
EUVD-2022-3200- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-8m97-xc46-rw9w
7.5
phpMyAdmin Unsafe comparison of XSRF/CSRF token
libraries/common.inc.php in phpMyAdmin 4.0.x before 4.0.10.13, 4.4.x before 4.4.15.3, and 4.5.x before 4.5.4 does not use a constant-time algorithm for comparing CSRF tokens, which makes it easier for remote attackers to bypass intended access restrictions by measuring time differences.
- Record
GHSA-8m97-xc46-rw9w- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-203
- Updated
- 2026-11-02
OSV
7.5
libraries/common.inc.php in phpMyAdmin 4.0.x before 4.0.10.13, 4.4.x before 4.4.15.3, and 4.5.x before 4.5.4 does not use a constant-time algorithm for comparing CSRF tokens, which makes it easier for remote attackers to bypass intended access restrictions by measuring time differences.
- Record
CVE-2016-2041- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2016-2041
7.5
libraries/common.inc.php in phpMyAdmin 4.0.x before 4.0.10.13, 4.4.x before 4.4.15.3, and 4.5.x before 4.5.4 does not use a constant-time algorithm for comparing CSRF tokens, which makes it easier for remote attackers to bypass intended access restrictions by measuring time differences.
- Record
DEBIAN-CVE-2016-2041- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
Show 4 moreShow less
OSVGHSA-8m97-xc46-rw9w
7.5
phpMyAdmin Unsafe comparison of XSRF/CSRF token
libraries/common.inc.php in phpMyAdmin 4.0.x before 4.0.10.13, 4.4.x before 4.4.15.3, and 4.5.x before 4.5.4 does not use a constant-time algorithm for comparing CSRF tokens, which makes it easier for remote attackers to bypass intended access restrictions by measuring time differences.
- Record
GHSA-8m97-xc46-rw9w- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-203
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2016-2041
7.5
libraries/common.inc.php in phpMyAdmin 4.0.x before 4.0.10.13, 4.4.x before 4.4.15.3, and 4.5.x before 4.5.4 does not use a constant-time algorithm for comparing CSRF tokens, which makes it easier for remote attackers to bypass intended access restrictions by measuring time differences.
- Record
UBUNTU-CVE-2016-2041- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVMGASA-2016-0051 No score
Updated phpmyadmin/phpseclib packages fix security vulnerability
Password suggestion functionality uses Math.random() which does not provide cryptographically secure random numbers (CVE-2016-1927).
By calling some scripts that are part of phpMyAdmin in an unexpected way, it is possible to trigger phpMyAdmin to display a PHP error message which contains the full path of the directory where phpMyAdmin is installed (CVE-2016-2038).
The XSRF/CSRF token is generated with a weak algorithm using functions that do not return cryptographically secure values (CVE-2016-2039).
With a crafted table name it is possible to trigger an XSS attack in the database search page. With a crafted SET value or a crafted search query, it is possible to trigger an XSS attacks in the zoom search page. With a crafted hostname header, it is possible to trigger an XSS attacks in the home page (CVE-2016-2040).
The comparison of the XSRF/CSRF token parameter with the value saved in the session is vulnerable to timing attacks. Moreover, the comparison could be bypassed if the XSRF/CSRF token matches a particular pattern (CVE-2016-2041).
The phpmyadmin package has been updated to version 4.4.15.4 in the 4.4.x stable branch, and the phpseclib dependency has been updated to version 2.0.1.
- Record
MGASA-2016-0051- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10054-1 No score
phpMyAdmin-4.6.5.2-1.1 on GA media
These are all security issues fixed in the phpMyAdmin-4.6.5.2-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10054-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
phpmyadmin/phpmyadminPackagist |
4.0 up to 4.0.10.13 | 4.0.10.13 |
phpmyadmin/phpmyadminPackagist |
4.4 up to 4.4.15.3 | 4.4.15.3 |
phpmyadmin/phpmyadminPackagist |
4.5 up to 4.5.4 | 4.5.4 |
phpmyadminDebian:12 |
before 4:4.5.4-1 | 4:4.5.4-1 |
phpmyadminDebian:13 |
before 4:4.5.4-1 | 4:4.5.4-1 |
phpmyadminDebian:14 |
before 4:4.5.4-1 | 4:4.5.4-1 |
phpmyadminDebian:6.0 |
before 4:3.3.7-11, plus listed versions 4:3.3.7-104:3.3.7-34:3.3.7-54:3.3.7-64:3.3.7-74:3.3.7-84:3.3.7-9 |
4:3.3.7-11 |
phpmyadminDebian:7 |
before 4:3.4.11.1-2+deb7u3, plus listed versions 4:3.4.11.1-24:3.4.11.1-2+deb7u14:3.4.11.1-2+deb7u2 |
4:3.4.11.1-2+deb7u3 |
phpmyadminDebian:8 |
before 4:4.2.12-2+deb8u2, plus listed versions 4:4.2.12-24:4.2.12-2+deb8u1 |
4:4.2.12-2+deb8u2 |
phpmyadmin/phpmyadminPackagist |
4.0 up to 4.0.10.13, plus listed versions 4.0.04.0.14.0.104.0.10.14.0.10.2 Show 17 moreShow less4.0.10.34.0.10.44.0.10.54.0.10.64.0.10.74.0.10.84.0.10.94.0.24.0.34.0.44.0.4.14.0.4.24.0.54.0.64.0.74.0.84.0.9 |
4.0.10.13 |
Show 4 moreShow less
| Package | Affected | Fixed |
|---|---|---|
phpmyadminMageia:5 |
before 4.4.15.4-1.mga5 | 4.4.15.4-1.mga5 |
phpseclibMageia:5 |
before 2.0.1-1.mga5 | 2.0.1-1.mga5 |
phpmyadminUbuntu:Pro:14.04:LTS |
All versions, plus listed versions 4:4.0.6-14:4.0.8-14:4.0.9-14:4.0.10-14:4.0.10-1ubuntu0.1 Show 4 moreShow less4:4.0.10-1ubuntu0.1+esm14:4.0.10-1ubuntu0.1+esm24:4.0.10-1ubuntu0.1+esm34:4.0.10-1ubuntu0.1+esm4 |
None known |
phpMyAdminopenSUSE:Tumbleweed |
before 4.6.5.2-1.1 | 4.6.5.2-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2016-2041 is a high vulnerability (CVSS 7.5) in Phpmyadmin, published January 30, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.58%, the 85th percentile. Fixed in phpmyadmin/phpmyadmin 4.0.10.13.
References
lists.opensuse.org/opensuse-updates/2016-02/msg00049.html
debian.org/security/2016/dsa-3627
lists.opensuse.org/opensuse-updates/2016-02/msg00028.html
phpmyadmin.net/home_page/security/PMASA-2016-5.php
github.com/phpmyadmin/phpmyadmin/commit/ec0e88e37ef30a66eada1c072953f4ec385a3e49
lists.fedoraproject.org/pipermail/package-announce/2016-February/176739.html
Show 142 moreShow less
lists.fedoraproject.org/pipermail/package-announce/2016-February/176483.html
nvd.nist.gov/vuln/detail/CVE-2016-2041
github.com/advisories/GHSA-8m97-xc46-rw9w
security-tracker.debian.org/tracker/CVE-2016-2041
github.com/phpmyadmin/composer
advisories.mageia.org/MGASA-2016-0051.html
bugs.mageia.org/show_bug.cgi?id=17633
phpmyadmin.net/security/PMASA-2016-1
phpmyadmin.net/security/PMASA-2016-2
phpmyadmin.net/security/PMASA-2016-3
phpmyadmin.net/security/PMASA-2016-4
phpmyadmin.net/security/PMASA-2016-5
phpmyadmin.net/files/4.4.15.3
phpmyadmin.net/news/2016/1/28/phpmyadmin-454-44153-and-401013-are-released
phpmyadmin.net/news/2016/1/29/phpmyadmin-401014-44154-and-451
lwn.net/Vulnerabilities/674259
ubuntu.com/security/CVE-2016-2041
cve.org/CVERecord?id=CVE-2016-2041
suse.com/security/cve/CVE-2011-4107
suse.com/security/cve/CVE-2011-4634
suse.com/security/cve/CVE-2011-4780
suse.com/security/cve/CVE-2011-4782
suse.com/security/cve/CVE-2012-4219
suse.com/security/cve/CVE-2012-4345
suse.com/security/cve/CVE-2012-5339
suse.com/security/cve/CVE-2012-5368
suse.com/security/cve/CVE-2013-1937
suse.com/security/cve/CVE-2013-3238
suse.com/security/cve/CVE-2013-3239
suse.com/security/cve/CVE-2013-3240
suse.com/security/cve/CVE-2013-3241
suse.com/security/cve/CVE-2013-3242
suse.com/security/cve/CVE-2013-4729
suse.com/security/cve/CVE-2013-4995
suse.com/security/cve/CVE-2013-4996
suse.com/security/cve/CVE-2013-4997
suse.com/security/cve/CVE-2013-4998
suse.com/security/cve/CVE-2013-4999
suse.com/security/cve/CVE-2013-5000
suse.com/security/cve/CVE-2013-5001
suse.com/security/cve/CVE-2013-5002
suse.com/security/cve/CVE-2013-5003
suse.com/security/cve/CVE-2013-5029
suse.com/security/cve/CVE-2014-1879
suse.com/security/cve/CVE-2014-4348
suse.com/security/cve/CVE-2014-4349
suse.com/security/cve/CVE-2014-4954
suse.com/security/cve/CVE-2014-4955
suse.com/security/cve/CVE-2014-4986
suse.com/security/cve/CVE-2014-4987
suse.com/security/cve/CVE-2014-5273
suse.com/security/cve/CVE-2014-5274
suse.com/security/cve/CVE-2014-6300
suse.com/security/cve/CVE-2014-7217
suse.com/security/cve/CVE-2014-8326
suse.com/security/cve/CVE-2014-8958
suse.com/security/cve/CVE-2014-8959
suse.com/security/cve/CVE-2014-8960
suse.com/security/cve/CVE-2014-8961
suse.com/security/cve/CVE-2014-9218
suse.com/security/cve/CVE-2014-9219
suse.com/security/cve/CVE-2015-2206
suse.com/security/cve/CVE-2015-3902
suse.com/security/cve/CVE-2015-3903
suse.com/security/cve/CVE-2015-6830
suse.com/security/cve/CVE-2015-7873
suse.com/security/cve/CVE-2015-8669
suse.com/security/cve/CVE-2016-1927
suse.com/security/cve/CVE-2016-2038
suse.com/security/cve/CVE-2016-2039
suse.com/security/cve/CVE-2016-2040
suse.com/security/cve/CVE-2016-2041
suse.com/security/cve/CVE-2016-2042
suse.com/security/cve/CVE-2016-2043
suse.com/security/cve/CVE-2016-2044
suse.com/security/cve/CVE-2016-2045
suse.com/security/cve/CVE-2016-2559
suse.com/security/cve/CVE-2016-2560
suse.com/security/cve/CVE-2016-2561
suse.com/security/cve/CVE-2016-2562
suse.com/security/cve/CVE-2016-5097
suse.com/security/cve/CVE-2016-5099
suse.com/security/cve/CVE-2016-5701
suse.com/security/cve/CVE-2016-5702
suse.com/security/cve/CVE-2016-5703
suse.com/security/cve/CVE-2016-5704
suse.com/security/cve/CVE-2016-5705
suse.com/security/cve/CVE-2016-5706
suse.com/security/cve/CVE-2016-5730
suse.com/security/cve/CVE-2016-5731
suse.com/security/cve/CVE-2016-5732
suse.com/security/cve/CVE-2016-5733
suse.com/security/cve/CVE-2016-5734
suse.com/security/cve/CVE-2016-5739
suse.com/security/cve/CVE-2016-6606
suse.com/security/cve/CVE-2016-6607
suse.com/security/cve/CVE-2016-6608
suse.com/security/cve/CVE-2016-6609
suse.com/security/cve/CVE-2016-6610
suse.com/security/cve/CVE-2016-6611
suse.com/security/cve/CVE-2016-6612
suse.com/security/cve/CVE-2016-6613
suse.com/security/cve/CVE-2016-6614
suse.com/security/cve/CVE-2016-6615
suse.com/security/cve/CVE-2016-6616
suse.com/security/cve/CVE-2016-6617
suse.com/security/cve/CVE-2016-6618
suse.com/security/cve/CVE-2016-6619
suse.com/security/cve/CVE-2016-6620
suse.com/security/cve/CVE-2016-6621
suse.com/security/cve/CVE-2016-6622
suse.com/security/cve/CVE-2016-6623
suse.com/security/cve/CVE-2016-6624
suse.com/security/cve/CVE-2016-6625
suse.com/security/cve/CVE-2016-6626
suse.com/security/cve/CVE-2016-6627
suse.com/security/cve/CVE-2016-6628
suse.com/security/cve/CVE-2016-6629
suse.com/security/cve/CVE-2016-6630
suse.com/security/cve/CVE-2016-6631
suse.com/security/cve/CVE-2016-6632
suse.com/security/cve/CVE-2016-6633
suse.com/security/cve/CVE-2016-9847
suse.com/security/cve/CVE-2016-9848
suse.com/security/cve/CVE-2016-9849
suse.com/security/cve/CVE-2016-9850
suse.com/security/cve/CVE-2016-9851
suse.com/security/cve/CVE-2016-9852
suse.com/security/cve/CVE-2016-9853
suse.com/security/cve/CVE-2016-9854
suse.com/security/cve/CVE-2016-9855
suse.com/security/cve/CVE-2016-9856
suse.com/security/cve/CVE-2016-9857
suse.com/security/cve/CVE-2016-9858
suse.com/security/cve/CVE-2016-9859
suse.com/security/cve/CVE-2016-9860
suse.com/security/cve/CVE-2016-9861
suse.com/security/cve/CVE-2016-9862
suse.com/security/cve/CVE-2016-9863
suse.com/security/cve/CVE-2016-9864
suse.com/security/cve/CVE-2016-9865
suse.com/security/cve/CVE-2016-9866