CVE-2017-9841

Source
https://cve.org/CVERecord?id=CVE-2017-9841
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-9841.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-9841
Aliases
Downstream
Published
2017-06-27T17:29:00Z
Modified
2026-07-08T05:52:22Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP code via HTTP POST data beginning with a "<?php " substring, as demonstrated by an attack on a site with an exposed /vendor folder, i.e., external access to the /vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php URI.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:a:oracle:communications_diameter_signaling_router:*:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "8.0.0"
                },
                {
                    "last_affected":  "8.5.0"
                }
            ],
            "source":  "CPE_RANGE",
            "vendor_product":  "oracle:communications_diameter_signaling_router"
        }
    ]
}
References

Affected packages

Git / github.com/sebastianbergmann/phpunit

Affected ranges

Type
GIT
Repo
https://github.com/sebastianbergmann/phpunit
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:phpunit_project:phpunit:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "last_affected":  "4.8.27"
        },
        {
            "introduced":  "5.0.0"
        },
        {
            "fixed":  "5.6.3"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

3.*
3.5.0RC2
3.5.0beta1
3.6.0
3.6.0RC1
3.6.0RC2
3.6.0RC3
3.6.0RC4
3.6.1
3.6.2
3.7.0
3.7.0RC2
3.7.0RC3
3.7.0RC4
3.7.0RC5
4.*
4.8.0
4.8.1
4.8.10
4.8.11
4.8.12
4.8.13
4.8.14
4.8.16
4.8.17
4.8.18
4.8.19
4.8.2
4.8.20
4.8.21
4.8.22
4.8.23
4.8.24
4.8.25
4.8.26
4.8.27
4.8.3
4.8.4
4.8.5
4.8.6
4.8.7
4.8.8
4.8.9
5.*
5.4.0
5.6.0
5.6.1
5.6.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-9841.json"