BreachSpiderVerified, not vibes

CVE-2017-9841 in Oracle Communications Diameter Signaling Router and 1 more product

Known-exploited (CISA) since 2022-02-15 Critical 9.8 Public exploit reported

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/...

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 3.19.8
EPSS100.0%
EPSS percentile100th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Oracle Communications Diameter Signaling Router ≥ 8.0.0, ≤ 8.5.0
Phpunit Project Phpunit ≤ 4.8.27 ≥ 5.0.0, < 5.6.3

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedYes added 2022-02-15
Public exploitReported · reference

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2017-9841
BreachSpider IDBS-2017-GLOBAL-191767-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2017-06-27
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-94: Code Injection

Attacker injects arbitrary code that is executed by the application process.

Related attack patterns (CAPEC)

CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-94

CAPEC-77 Manipulating User-Controlled Variables via CWE-94

CAPEC-242 Code Injection via CWE-94

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2017-9841 affects versions of PHPUnit prior to 4.8.28 and 5.6.3, allowing remote attackers to execute arbitrary PHP code via HTTP POST data. This vulnerability has a high CVSS score of 9.8 and is listed in the KEV catalog with a public proof-of-concept and known exploits. Immediate action is required to mitigate the risk of unauthorized code execution and potential system compromise.

The vulnerability exists in the Util/PHP/eval-stdin.php script of PHPUnit. An attacker can exploit this by sending a specially crafted HTTP POST request containing PHP code that begins with the '<?php ' substring. If the /vendor folder is exposed, the attacker can target the /vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php URI, leading to remote code execution.

Compensating controls AI-drafted, review before use

Ensure that the /vendor directory is not accessible from the web server. Implement strict access controls and monitor for suspicious activity. Regularly update and patch all software components.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Questions

What is CVE-2017-9841?

CVE-2017-9841 affects versions of PHPUnit prior to 4.8.28 and 5.6.3, allowing remote attackers to execute arbitrary PHP code via HTTP POST data. This vulnerability has a high CVSS score of 9.8 and is listed in the KEV catalog with a public proof-of-concept and known exploits. Immediate action is required to mitigate the risk of unauthorized code execution and potential system compromise.

What is the CVSS score for CVE-2017-9841?

CVE-2017-9841 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 100.0%.

Is CVE-2017-9841 actively exploited?

Yes. CVE-2017-9841 is in the CISA known-exploited catalog (added 2022-02-15). Active exploitation confirmed. Immediate patching required.

How do I remediate CVE-2017-9841?

Priority: IMMEDIATE.

What systems are affected by CVE-2017-9841?

CVE-2017-9841 affects Oracle Communications Diameter Signaling Router; Phpunit Project Phpunit.

What NERC-CIP standard applies to CVE-2017-9841?

NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows unauthorized access to critical cyber assets, which could lead to the compromise of control systems and the potential disruption of power delivery.

What IEC 62443 requirement maps to CVE-2017-9841?

IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a vulnerability that can be exploited remotely to execute arbitrary code, which poses a significant risk to the security and integrity of industrial control systems.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Oracle","product":"Communications Diameter Signaling Router","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.