GHSA-5868-g58j-vrj5

    Dashboard / Vulnerabilities / GHSA-5868-g58j-vrj5

    GHSA-5868-g58j-vrj5

    Published: 13 May 2022Last Modified: 24 Apr 2024

    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.

    Affected packages

    Package

    Name: phpmyadmin/phpmyadmin

    Purl: pkg:composer/phpmyadmin/phpmyadmin

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 4.0
    Fixed -4.0.10.20

    Affected versions

    4.0.0
    4.0.1
    4.0.10
    4.0.10.1
    4.0.10.2
    4.0.10.3
    4.0.10.4
    4.0.10.5
    4.0.10.6
    4.0.10.7
    4.0.10.8
    4.0.10.9
    4.0.2
    4.0.3
    4.0.4
    4.0.4.1
    4.0.4.2
    4.0.5
    4.0.6
    4.0.7
    4.0.8
    4.0.9

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High