cybersecurity Request an audit

Actively exploited vulnerability / CVE-2017-9841

PHPUnit: an attacker can take control of your PHP website remotely

A vulnerability in PHPUnit lets an attacker run their own code on a website's server, without an account or password, when the component is reachable from the internet. This means they could steal data, change the site or use the server for further attacks. It is on the lists of vulnerabilities used in real attacks kept by CISA, the US cybersecurity agency, and by ENISA, the EU cybersecurity agency.

Identifier
CVE-2017-9841 · EUVD-2022-1528
Severity
Critical (9.8/10)
On the CISA list (US)
yes, since 15 February 2022
Deadline given to US federal agencies
15 August 2022
On the ENISA list (EU)
yes
Probability of exploitation (EPSS)
100.0% (FIRST's estimate for the next 30 days)

Does it concern you?

PHPUnit is a tool developers use to test applications written in PHP, and it often ends up on live website servers by mistake. It may concern you if you have a website or online shop built in PHP; Oracle Communications Diameter Signaling Router is also listed as affected.

Affected are PHPUnit versions before 4.8.28 and 5.x versions before 5.6.3, as well as Oracle Communications Diameter Signaling Router from 8.0.0 up to and including 8.5.0. The easiest way is to ask whoever manages your website or server whether PHPUnit is installed and which version it is.

Affected products and versions

  • PHPUnit
  • communications diameter signaling router: from 8.0.0 up to and including 8.5.0
  • phpunit: up to and including 4.8.27; from 5.0.0 before 5.6.3

What to do

Have PHPUnit updated to version 5.6.3 or later and have testing components removed from the public server. For the Oracle product, follow the vendor's update instructions.

Versions that contain the fix: 5.6.3.

The official description

The text below is the description from the public database.

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.

Sources

Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.

What you can do next

Request an audit

Find out what you expose, before someone else does.

Tell us who you are, confirm by email, and we will call you. Nothing is checked until you agree.

  1. You confirm by email, then we call you within two working days to understand your company and what should be checked.
  2. You get a fixed quote and a permission form that says exactly what we may test, and when.
  3. We do the work in the window you chose, and keep you posted.
  4. You get the report and a walkthrough call, then one retest of its findings within 30 days.

Only systems you own or may have checked / written permission first

Request an audit

No passwords or access details here. We ask for what we need after you sign the permission form.

After you send this, we email you a link to confirm it. We contact you only after you confirm.