PHUnit dependancy in PrestaShop and modules allow remote arbitrary PHP code execution
CISA confirma la explotación de esta vulnerabilidad en ataques reales. Prioriza comprobar si afecta a tu aplicación. CISA KEV · CC0 1.0
Modules include the vulnerable dependancy are:
1-Click Upgrade (autoupgrade) from 4.0.0 to 4.10.1
Cart Abandonment Pro (pscartabandonmentpro) from 2.0.1 to 2.0.10
Faceted Search (ps_facetedsearch) from 2.2.1 to 3.4.1
Merchant Expertise (gamification) from 2.1.0 to 2.3.2
PrestaShop Checkout (ps_checkout) from 1.0.8 to 1.2.9
In addition, if PrestaShop had been initially installed prior to ~1.7.6.0 with composer in dev mode can contain a critical vulnerability if .htaccess in vendor directory is not set in order to denied access.
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.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Paquete de Composer | phpunit/phpunit | >= 4.8.19, < 4.8.28, >= 5.0.10, < 5.6.3 | 4.8.28, 5.6.3 |
| PrestaShop (núcleo) | PrestaShop | < 1.7.6.0 ~< 1.7.6.0 |
sin corrección |
Referencias
- https://security.friendsofpresta.org/dependancies/2020/01/07/phpunit-CVE-2017-9841.html
- https://nvd.nist.gov/vuln/detail/CVE-2017-9841
- https://github.com/sebastianbergmann/phpunit/pull/1955
- https://github.com/sebastianbergmann/phpunit/pull/1956
- https://github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5
- https://github.com/sebastianbergmann/phpunit/commit/3aaddb1c5bd9b9b8d070b4cf120e71c36fd08412
- https://github.com/FriendsOfPHP/security-advisories/blob/master/phpunit/phpunit/CVE-2017-9841.yaml
- https://github.com/sebastianbergmann/phpunit
- https://security.gentoo.org/glsa/201711-15
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9841
- https://www.oracle.com/security-alerts/cpuoct2021.html
- http://web.archive.org/web/20170701212357/http://phpunit.vulnbusters.com
- http://www.securityfocus.com/bid/101798
- http://www.securitytracker.com/id/1039812
- Vector CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Debilidad (CWE)
CWE-94- Plataforma
- Composer, PrestaShop
- Paquete
phpunit/phpunit, PrestaShop- Publicada
- 20.01.2020
- Actualizado
- 11.10.2026 10:22
Fuentes y licencias
OSV / GitHub Advisory Database - GHSA-r7c9-c69m-rph8 - CC BY 4.0
Friends-Of-Presta - CVE-2017-9841 - MIT
MIT
The MIT License (MIT) Copyright (c) 2016-present Parker Moore and the minima contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Historial de vulnerabilidades: PrestaShop
Todas las vulnerabilidades publicadas de este paquete (PrestaShop (núcleo)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 32
- Primera → última
- 01.2020 05.2026
- Sin corrección
- 9
- Explotada en ataques
- 1
Distribución por gravedad
- Crítica 6
- Alta 8
- Media 17
- Baja 1
Divulgaciones por año
- 2020: 1
- 2021: 1
- 2022: 10
- 2023: 10
- 2024: 5
- 2025: 1
- 2026: 4
-
PHUnit dependancy in PrestaShop and modules allow remote arbitrary PHP code execution esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.