Loading...
Skip to main content

CVE-2017-18264 — Vulnerability in phpmyadmin/phpmyadmin — CVE Details

CRITICAL

phpMyAdmin Improper Privilege Management

Published May 13, 2022Updated April 24, 2024Source: osv

Summary

An issue was discovered in libraries/common.inc.php in phpMyAdmin 4.0 before 4.0.10.20, 4.4.x, 4.6.x, and 4.7.0 prereleases. The restrictions caused by $cfg['Servers'][$i]['AllowNoPassword'] = false are bypassed under certain PHP versions (e.g., version 5). This can allow the login of users who have no password set even if the administrator has set $cfg['Servers'][$i]['AllowNoPassword'] to false (which is also the default). This occurs because some implementations of the PHP substr function return false when given '' as the first argument.

Advisory Timeline

  • First published May 13, 2022 (1613 days ago).
  • Last revised April 24, 2024 — 713 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update phpmyadmin/phpmyadmin to 4.7.0 or later
composer require "phpmyadmin/phpmyadmin:^4.7.0"
Composer
Update phpmyadmin/phpmyadmin to 4.0.10.20 or later
composer require "phpmyadmin/phpmyadmin:^4.0.10.20"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 1 ecosystem: packagist (1).

PackageEcosystemAffectedFixed In
phpmyadmin/phpmyadmin
packagist
All versions4.7.0
phpmyadmin/phpmyadmin
packagist
4.0.0, 4.0.1, 4.0.10, 4.0.10.1 (+18 more)4.0.10.20
phpmyadmin/phpmyadmin
packagist
All versionsRange-based data available
phpmyadmin/phpmyadmin
packagist
All versionsRange-based data available

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-269
    Improper Privilege ManagementMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2017-18264?
phpMyAdmin Improper Privilege Management This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2017-18264?
CVE-2017-18264 affects phpmyadmin/phpmyadmin. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2017-18264 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-5868-g58j-vrj5

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies