QID 150663

Date Published: 2023-03-30

QID 150663: PHP Buffer Overflow Vulnerability (CVE-2022-37454)

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.

The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow that allows attackers to execute arbitrary code or eliminate expected cryptographic properties. This occurs in the sponge function interface.

Affected Versions:
PHP versions before 7.4.33
PHP versions 8.0.0 prior to 8.0.25
PHP versions 8.1.0 prior to 8.1.12

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

Allows attackers to execute arbitrary code or eliminate expected cryptographic properties.

  • CVSS V3 rated as Critical - 9.8 severity.
  • CVSS V2 rated as Critical - 10 severity.
  • Solution
    Customers are advised to upgrade to the latest version of PHP.
    For more information please refer to Sec Bug 81738 .

    Vendor References

    CVEs related to QID 150663

    Software Advisories
    Advisory ID Software Component Link
    Sec Bug 81738 URL Logo bugs.php.net/bug.php?id=81738