* [gentoo-announce] [ GLSA 201711-15 ] PHPUnit: Remote code execution
@ 2017-11-19 20:47 99% Christopher Díaz Riveros
0 siblings, 0 replies; 1+ results
From: Christopher Díaz Riveros @ 2017-11-19 20:47 UTC (permalink / raw
To: gentoo-announce
[-- Attachment #1: Type: text/plain, Size: 3080 bytes --]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 201711-15
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: Normal
Title: PHPUnit: Remote code execution
Date: November 19, 2017
Bugs: #635356
ID: 201711-15
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
========
A vulnerability was discovered in PHPUnit which may allow an
unauthenticated remote attacker to execute arbitrary PHP code.
Background
==========
PHPUnit is a programmer-oriented testing framework for PHP. It is an
instance of the xUnit architecture for unit testing frameworks.
Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 dev-php/phpunit < 5.7.15-r1 >= 5.7.15-r1
Description
===========
When PHPUnit is installed in a production environment via composer and
these modules are in a web accessible directory, the eval-stdin.php
file in PHPUnit contains vulnerable statements that trigger the
vulnerability.
Impact
======
A remote attacker could possibly execute arbitrary PHP code or cause a
Denial of Service condition.
Workaround
==========
There are several ways to fix or mitigate this vulnerability:
Remove PHPUnit from the production environment.
Update PHPUnit.
Manually apply the patch.
Disable direct access to the composer packages by placing .htaccess
file to /vendor folder.
Resolution
==========
All PHPUnit users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-php/phpunit-5.7.15-r1"
References
==========
[ 1 ] CVE-2017-9841
https://nvd.nist.gov/nvd.cfm?cvename=CVE-2017-9841
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
https://security.gentoo.org/glsa/201711-15
Concerns?
=========
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.
License
=======
Copyright 2017 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).
The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.
http://creativecommons.org/licenses/by-sa/2.5
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 636 bytes --]
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2017-11-19 20:47 99% [gentoo-announce] [ GLSA 201711-15 ] PHPUnit: Remote code execution Christopher Díaz Riveros
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox