CVE-2017-9841

Scores

EPSS

0.944High94.4%
0%20%40%60%80%100%

Percentile: 94.4%

CVSS

9.8Critical3.x
0246810

CVSS Score: 9.8/10

All CVSS Scores

CVSS 3.x
9.8

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS 2.0
7.5

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

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.

Scaner-VS 7 — a modern vulnerability management solution

Uses this database for vulnerability detection. High-speed search, cross-platform, advanced configuration audit, and flexible filtering. Suitable for organizations of any size.
Learn more about Scaner-VS 7

Sources

debiannvdubuntu

CWEs

CWE-94

Related Vulnerabilities

Exploits

Exploit ID: 50702

Source: exploitdb

URL: https://www.exploit-db.com/exploits/50702

Exploit ID: CVE-2017-9841

Source: github-poc

URL: https://github.com/K3ysTr0K3R/CVE-2017-9841-EXPLOIT

Recommendations

Source: nvd

All PHPUnit users should upgrade to the latest version:
# emerge –sync
# emerge –ask –oneshot –verbose “>=dev-php/phpunit-5.7.15-r1”

URL: https://security.gentoo.org/glsa/201711-15

Vulnerable Software (22)

Type: Configuration

Product: phpunit

Operating System: ubuntu kinetic 22.10

Trait:
{
  "unaffected": true
}

Source: ubuntu

Type: Configuration

Product: phpunit

Operating System: debian wheezy 7

Trait:
{
  "unaffected": true
}

Source: debian

Type: Configuration

Product: phpunit

Operating System: debian jessie 8

Trait:
{
  "unaffected": true
}

Source: debian

Type: Configuration

Product: phpunit

Operating System: debian stretch 9

Trait:
{
  "fixed": "5.4.6-2~deb9u1"
}

Source: debian

Type: Configuration

Product: phpunit

Operating System: debian

Trait:
{
  "fixed": "5.4.6-2"
}

Source: debian

Type: Configuration

Product: phpunit

Operating System: ubuntu zesty 17.04

Trait:
{
  "unfixed": true
}

Source: ubuntu

Type: Configuration

Product: phpunit

Operating System: ubuntu yakkety 16.10

Trait:
{
  "unfixed": true
}

Source: ubuntu

Type: Configuration

Product: phpunit

Operating System: ubuntu xenial 16.04

Trait:
{
  "unfixed": true
}

Source: ubuntu

Type: Configuration

Product: phpunit

Operating System: ubuntu trusty 14.04

Trait:
{
  "unaffected": true
}

Source: ubuntu

Type: Configuration

Product: phpunit

Operating System: ubuntu lunar 23.04

Trait:
{
  "unaffected": true
}

Source: ubuntu