CVE-2016-2039
libraries/session.inc.php in phpMyAdmin 4.0.x before 4.0.10.13, 4.4.x before 4.4.15.3, and 4.5.x...
libraries/session.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 properly generate CSRF token values, which allows remote attackers to bypass intended access restrictions by predicting a value.
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
- Low
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
5.3
libraries/session.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 properly generate CSRF token values, which allows remote attackers to bypass intended access restrictions by predicting a value.
- Record
CVE-2016-2039- CVSS 3.0
- 5.3 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:P/I:N/A:N - Weakness
- CWE-200
- Updated
- 2026-11-02
CVE List No score
libraries/session.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 properly generate CSRF token values, which allows remote attackers to bypass intended access restrictions by predicting a value.
- Record
CVE-2016-2039- Updated
- 2026-11-02
EUVDEUVD-2016-3147 No score
libraries/session.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 properly generate CSRF token values, which allows remote attackers to bypass intended access restrictions by predicting a value.
- Record
EUVD-2016-3147- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-hc8v-m2rw-4fc4
5.3
libraries/session.inc.php in phpMyAdmin 4.0.x before 4.0.10.13, 4.4.x before 4.4.15.3, and 4.5.x...
libraries/session.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 properly generate CSRF token values, which allows remote attackers to bypass intended access restrictions by predicting a value.
- Record
GHSA-hc8v-m2rw-4fc4- CVSS 3.0
- 5.3 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-200
- Updated
- 2026-11-02
OSV
5.3
libraries/session.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 properly generate CSRF token values, which allows remote attackers to bypass intended access restrictions by predicting a value.
- Record
CVE-2016-2039- CVSS 3.0
- 5.3 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2016-2039
5.3
libraries/session.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 properly generate CSRF token values, which allows remote attackers to bypass intended access restrictions by predicting a value.
- Record
DEBIAN-CVE-2016-2039- CVSS 3.0
- 5.3 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2016-2039
5.3
libraries/session.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 properly generate CSRF token values, which allows remote attackers to bypass intended access restrictions by predicting a value.
- Record
UBUNTU-CVE-2016-2039- CVSS 3.0
- 5.3 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/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 |
|---|---|---|
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 |
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-2039 is a medium vulnerability (CVSS 5.3) 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.48%, the 84th percentile. Fixed in phpmyadmin 4:4.5.4-1.
References
github.com/phpmyadmin/phpmyadmin/commit/f20970d32c3dfdf82aef7b6c244da1f769043813
lists.opensuse.org/opensuse-updates/2016-02/msg00049.html
debian.org/security/2016/dsa-3627
lists.opensuse.org/opensuse-updates/2016-02/msg00028.html
lists.fedoraproject.org/pipermail/package-announce/2016-February/176739.html
lists.fedoraproject.org/pipermail/package-announce/2016-February/176483.html
Show 142 moreShow less
phpmyadmin.net/home_page/security/PMASA-2016-2.php
github.com/phpmyadmin/phpmyadmin/commit/cb7748ac9cffcd1cd0f3081499cd4aafa9d1065e
nvd.nist.gov/vuln/detail/CVE-2016-2039
github.com/advisories/GHSA-hc8v-m2rw-4fc4
security-tracker.debian.org/tracker/CVE-2016-2039
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-2039
cve.org/CVERecord?id=CVE-2016-2039
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