Advisory

GHSA-5868-g58j-vrj5

Also known as: CVE-2017-18264

Summary

phpMyAdmin Improper Privilege Management

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-05-13 01:44 UTC
Modified
2024-04-24 18:42 UTC

Affected packages and fixes

phpmyadmin/phpmyadmin

Packagist · All systems

Affected

  • introduced 4.0, fixed 4.0.10.20 (ecosystem)

Fixed versions

4.0.10.20

Fix

The export has no generic command for this ecosystem.

phpmyadmin/phpmyadmin

Packagist · All systems

Affected

  • introduced 4.7.0-beta1, fixed 4.7.0 (ecosystem)

Fixed versions

4.7.0

Fix

The export has no generic command for this ecosystem.

phpmyadmin/phpmyadmin

Packagist · All systems

Affected

  • introduced 4.4.0, last affected 4.4.15.10 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

phpmyadmin/phpmyadmin

Packagist · All systems

Affected

  • introduced 4.6.0, last affected 4.6.6 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences