ghsa-5868-g58j-vrj5
Vulnerability from github
Published
2022-05-13 01:44
Modified
2024-04-24 18:14
Severity ?
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.

Show details on source website


{
   affected: [
      {
         package: {
            ecosystem: "Packagist",
            name: "phpmyadmin/phpmyadmin",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "4.0",
                  },
                  {
                     fixed: "4.0.10.20",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
      {
         package: {
            ecosystem: "Packagist",
            name: "phpmyadmin/phpmyadmin",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "4.7.0-beta1",
                  },
                  {
                     fixed: "4.7.0",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
      {
         package: {
            ecosystem: "Packagist",
            name: "phpmyadmin/phpmyadmin",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "4.4.0",
                  },
                  {
                     last_affected: "4.4.15.10",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
      {
         package: {
            ecosystem: "Packagist",
            name: "phpmyadmin/phpmyadmin",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "4.6.0",
                  },
                  {
                     last_affected: "4.6.6",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
   ],
   aliases: [
      "CVE-2017-18264",
   ],
   database_specific: {
      cwe_ids: [
         "CWE-269",
      ],
      github_reviewed: true,
      github_reviewed_at: "2024-04-24T18:14:02Z",
      nvd_published_at: "2018-05-01T17:29:00Z",
      severity: "CRITICAL",
   },
   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.",
   id: "GHSA-5868-g58j-vrj5",
   modified: "2024-04-24T18:14:02Z",
   published: "2022-05-13T01:44:38Z",
   references: [
      {
         type: "ADVISORY",
         url: "https://nvd.nist.gov/vuln/detail/CVE-2017-18264",
      },
      {
         type: "PACKAGE",
         url: "https://github.com/phpmyadmin/composer",
      },
      {
         type: "WEB",
         url: "https://lists.debian.org/debian-lts-announce/2018/07/msg00006.html",
      },
      {
         type: "WEB",
         url: "https://www.phpmyadmin.net/security/PMASA-2017-8",
      },
      {
         type: "WEB",
         url: "http://www.securityfocus.com/bid/97211",
      },
   ],
   schema_version: "1.4.0",
   severity: [
      {
         score: "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
         type: "CVSS_V3",
      },
   ],
   summary: "phpMyAdmin Improper Privilege Management",
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.