QID 730715

Date Published: 2023-02-01

QID 730715: Hypertext Preprocessor (PHP) Development Server Remote Source Disclosure Vulnerability

PHP development server prior to version 7.4.22 have a bug that can expose the source code of PHP files as if they were static files rather than executing them as intended.
Affected Versions:
PHP development server versions prior to 7.4.22.

QID Detection Logic (Unauthenticated): This QID checks for vulnerable instances of PHP development server by sending a crafted payload to the webserver.

Note: PHP files can be named anything depending on the web application. It is not feasible to detect all PHP files with our detections. This QID will only detect some common files such as index.php, phpinfo.php, admin.php, wp-config.php etc in the web root.

Successful exploitation of the vulnerability may allow remote attackers to view the source code of PHP files and steal sensitive information.

  • CVSS V3 rated as High - 7.5 severity.
  • CVSS V2 rated as High - 7.8 severity.
  • Solution
    PHP has fixed the bug in version 7.4.22. Customers can download the latest version of PHP from the following: PHP Download

    Vendor References

    CVEs related to QID 730715

    Software Advisories
    Advisory ID Software Component Link
    NA URL Logo www.php.net/downloads.php

    © CVE.report 2026

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report