CVE-2016-6621: phpMyAdmin Server-Side Request Forgery (SSRF) Vulnerability

phpmyadmin/phpmyadmin Updated 02 Oct 2025

Summary

14/05/2022
Yes i
High
8.6

CVE-2016-6621: phpMyAdmin server-side request forgery (SSRF). Affects phpmyadmin/phpmyadmin across 3 version ranges.

< 4.0.10.19 >= 4.4.0, < 4.4.15.10 >= 4.6.0, < 4.6.6

Fixed in 4.0.10.19, 4.4.15.10 or 4.6.6, depending on the release line you run. How to fix ↓

Also tracked for

The same CVE-2016-6621 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

phpMyAdmin is a widely-used open-source tool for managing MySQL databases through a web interface. It allows users to perform various database operations such as creating, modifying, and deleting databases and tables. The tool is popular among developers and system administrators due to its user-friendly interface and extensive features. However, certain versions of phpMyAdmin are vulnerable to a server-side request forgery (SSRF) attack, which can allow remote attackers to manipulate server requests.

Vulnerability Detail

The vulnerability arises from the setup script of phpMyAdmin versions prior to 4.0.10.19, 4.4.x before 4.4.15.10, and 4.6.x before 4.6.6. Attackers can exploit this flaw to conduct SSRF attacks, potentially leading to unauthorized access to internal resources or sensitive information. The vulnerability is classified under CWE-918, indicating that it allows attackers to send requests to internal services that should not be accessible from the outside.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 4.0.10.19 4.0.10.19
    composer require phpmyadmin/phpmyadmin:4.0.10.19
  • >= 4.4.0, < 4.4.15.10 4.4.15.10
    composer require phpmyadmin/phpmyadmin:4.4.15.10
  • >= 4.6.0, < 4.6.6 4.6.6
    composer require phpmyadmin/phpmyadmin:4.6.6

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

If immediate upgrading is not possible, consider restricting access to the phpMyAdmin setup script by implementing firewall rules or using web server configurations to limit access to trusted IP addresses only.

Conclusion

The phpMyAdmin SSRF vulnerability (CVE-2016-6621) poses significant risks to users of affected versions. It is essential to update to the latest patched versions to mitigate these risks. Regular monitoring and vulnerability management practices, such as using tools like Vulert, can help maintain the security of your applications.

See every vulnerability recorded for phpmyadmin/phpmyadmin →

Share this vulnerability

FAQ

SSRF is a type of attack where an attacker can send crafted requests from the server to internal or external resources, potentially leading to data exposure or unauthorized actions.

The affected versions include phpMyAdmin before 4.0.10.19, 4.4.x before 4.4.15.10, and 4.6.x before 4.6.6.

Exploitation of this vulnerability can lead to unauthorized access to internal services, data leaks, and potential compromise of the server.

You can use Vulert, which monitors open-source vulnerabilities in your software. You can check your application against this vulnerability using the Vulert playground without any signup at Vulert Scanner.

The CVSS score for this vulnerability is 8.6, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for phpmyadmin/phpmyadmin.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 4.0.10.19 4.0.10.19
    composer require phpmyadmin/phpmyadmin:4.0.10.19
  • >= 4.4.0, < 4.4.15.10 4.4.15.10
    composer require phpmyadmin/phpmyadmin:4.4.15.10
  • >= 4.6.0, < 4.6.6 4.6.6
    composer require phpmyadmin/phpmyadmin:4.6.6

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback