QID 38883

Date Published: 2022-11-28

QID 38883: Hypertext Preprocessor (PHP) Multiple Security Vulnerabilities (81719, 81720)

PHP is a programming language originally designed for use in web-based applications with HTML content. PHP supports a wide variety of platforms and is used by numerous web-based software applications.

Affected versions of PHP has multiple vulnerabilities:
CVE-2022-31626 : mysqlnd/pdo password buffer overflow leading to RCE
CVE-2022-31625 : Uninitialized array in pg_query_params() leading to RCE

Affected Versions:
PHP versions 7.4.x prior to 7.4.30
PHP versions 8.0.x prior to 8.0.20
PHP versions 8.1.x prior to 8.1.7

QID Detection Logic (Unauthenticated):
This QID checks the HTTP Server header to see if the server is running a vulnerable version of PHP.

Successful exploitation of this vulnerability could allow a remote attacker to execute arbitrary code on the target system.

  • CVSS V3 rated as Critical - 8.8 severity.
  • CVSS V2 rated as High - 6.8 severity.
  • Solution
    Customers are advised to upgrade to the latest version of PHP.
    For more information please refer to Sec Bug 81719 and Sec Bug 81720 .

    Vendor References

    CVEs related to QID 38883

    Software Advisories
    Advisory ID Software Component Link
    81719 URL Logo bugs.php.net/81719
    81720 URL Logo bugs.php.net/81720