{"schema":"threatline.record/2","record":{"id":"CVE-2017-9841","aliases":[],"summary":"PHPUnit Command Injection Vulnerability","details":"PHPUnit 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.","categories":["Unclassified"],"product":"PHPUnit","vendor":"PHPUnit","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2017-9841","source_modified_at":"2025-10-21T23:55:39.301Z","fetched_at":"2026-10-23T18:42:43.628194Z","product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}],"defaultStatus":null}],"fixed_versions":[],"cvss":9.8,"severity":"Critical","kev":{"listed":true,"date_added":"2022-02-15","due_date":"2022-08-15","required_action":"Apply updates per vendor instructions.","ransomware_campaign_use":"Unknown"},"epss":{"probability":0.99999,"percentile":0.99994,"score_date":"2026-10-23"},"published_at":"2017-06-27T17:00:00.000Z","modified_at":"2025-10-21T23:55:39.301Z","provenance":[{"source":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23T17:00:09.9001Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2017-9841","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2025-10-21T23:55:39.301Z"},{"source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/50702","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2022-02-02"},{"source":"Nuclei","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2017/CVE-2017-9841.yaml","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":null},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-9841","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CISA KEV","CVE List","Exploit-DB","Nuclei","EPSS"],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-9841","source":"CISA KEV"},{"source":"CVE List","url":"https://security.gentoo.org/glsa/201711-15","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"source":"CVE List","url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["x_refsource_MISC","x_transferred"]},{"source":"CVE List","url":"https://github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5","tags":["x_refsource_MISC","x_transferred"]},{"source":"CVE List","url":"https://github.com/sebastianbergmann/phpunit/pull/1956","tags":["x_refsource_MISC","x_transferred"]},{"source":"CVE List","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9841","tags":["government-resource"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CISA ADP","ssvc":{"exploitation":"active","automatable":"yes","technical_impact":"total","assessed_at":"2025-02-07T14:09:44.475817Z"},"exploits":[{"source":"Exploit-DB","kind":"Webapps exploit","name":"PHP Unit 4.8.28 - Remote Code Execution (RCE) (Unauthenticated)","url":"https://www.exploit-db.com/exploits/50702","date":"2022-02-02","added":"2022-02-02","verified":false},{"source":"Nuclei","kind":"Scanner template","name":"PHPUnit - Remote Code Execution","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2017/CVE-2017-9841.yaml"}],"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2025-10-21T23:55:39.301Z","content_hash":"86f33a2ea515d306cf46efc4aa9f17afe81c0d60b16bf7ee1570d52495353919"}}
