Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2017-9841 PoC — PHPUnit 安全漏洞

Source
Associated Vulnerability
Title: PHPUnit 安全漏洞 (CVE-2017-9841)
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.
Description
CVE-2017-9841
Readme
# CVE-2017-9841-


# Installation et Exécution du script 💻
### Prérequis

Avant de commencer, assurez-vous que vous avez les outils suivants installés sur votre machine :

- **Python 3.x**  
- **Git**  
- **pip** (pour gérer les dépendances Python)

### Étapes d'Installation

1. **Cloner le dépôt**  
   Utilisez `git` pour cloner le dépôt :

   ```bash
   git clone https://github.com/dream434/CVE-2017-9841-


 2. **Accéder au répertoire du projet**
     ```bash
     cd CVE-2017-9841-

 
3.  **Lancer l'application**
     ```bash
      python3 app.py 
      ```

4.  **Lancer l'exploit dans le navigateur **
 
    ```bash
    http://127.0.0.1:5000
    ```

     
  **Telecharger le docker pour le test en Local**

  
      ```bash
      docker pull 528934778/cve-2017-9841
      docker run it 528934778/cve-2017-9841
      URL VULNERABLE http://0.0.0.0:8080     
      ```     

  

  
 

   
**⚠️ Avertissement** :L'utilisation de cet outil à des fins malveillantes est **formellement interdite**.
Veuillez l'utiliser de manière responsable et uniquement dans un cadre de test et d'éducation.**
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →