Skip to content

GHSA-8wf2-3ggj-78q9 BIT-phpmyadmin-2022-23807 CVE-2022-23807

Improper Authentication in phpmyadmin

Medium Packagist
Severity
4.3 / 10
Medium · CVSS 3.1
Exploit chance (EPSS)
0.74%
Chance of exploitation in the next 30 days. Higher than 54.53% of scored vulnerabilities.
Known exploited
No
Not in CISA's catalog
Weakness
CWE-287 Improper Authentication
Fix
4.9.8
Upgrade phpmyadmin/phpmyadmin to this version or later

Description

An issue was discovered in phpMyAdmin 4.9 before 4.9.8 and 5.1 before 5.1.2. A valid user who is already authenticated to phpMyAdmin can manipulate their account to bypass two-factor authentication for future login instances.

Affected versions

Packagist

PackageVulnerableFixed in
phpmyadmin/phpmyadmin
>= 4.9.0, < 4.9.8
4.9.8
phpmyadmin/phpmyadmin
>= 5.1.0, < 5.1.2
5.1.2

How to fix

Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.

phpmyadmin/phpmyadmin Packagist → 4.9.8

composer
composer require phpmyadmin/phpmyadmin:^4.9.8

Severity breakdown

CVSS 3.1 4.3

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

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Weakness

CWE-287: Improper Authentication

When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.

How to prevent it
  • Architecture and Design: Use an authentication framework or library such as the OWASP ESAPI Authentication feature.

References

Timeline

  1. Published
  2. Last updated by the source
  3. Latest EPSS score
AdvisorySeverityWhy it's related
GHSA-222v-cx2c-q2f5
phpMyAdmin XSS when checking tables
Medium Also affects phpmyadmin/phpmyadmin
GHSA-6hr3-44gx-g6wh
Cross-site Scripting vulnerability in drag-and-drop upload of phpMyAdmin
Medium Also affects phpmyadmin/phpmyadmin
GHSA-prcg-mc23-hgjh
phpmyadmin contains SQL Injection vulnerability
Critical Also affects phpmyadmin/phpmyadmin
GHSA-4c9q-64gq-xhx4
phpMyAdmin Cross-Site Request Forgery (CSRF)
Medium Also affects phpmyadmin/phpmyadmin
GHSA-7ff4-cv53-4cjq
phpMyAdmin SQL injection vulnerability
Critical Also affects phpmyadmin/phpmyadmin
GHSA-6349-53vr-7hcr
phpMyAdmin Cross-site Scripting (XSS)
Medium Also affects phpmyadmin/phpmyadmin
GHSA-h65r-8fp8-w7cx
phpMyAdmin SQL Injection
High Also affects phpmyadmin/phpmyadmin
GHSA-fcww-8wvc-38q9
phpMyAdmin SQL injection vulnerability
Medium Also affects phpmyadmin/phpmyadmin
Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor