
This Python script automates the Proof of Concept (PoC) for CVE-2023-36845, a vulnerability impacting Juniper Networks Junos OS on EX and SRX Series devices. The vulnerability resides in the J-Web component, allowing remote manipulation of the PHPRC variable, potentially leading to code injection.
CVE-2023-36845
This script provides an automated Proof of Concept (PoC) for CVE-2023-36845, a vulnerability affecting Juniper Networks Junos OS on EX and SRX Series devices. It exploits the J-Web component, allowing remote modification of the PHPRC variable and potential code injection.
Affected Versions:
Prerequisites
Installation
git clone https://github.com/0xNehru/CVE-2023-36845-Juniper-Vulnerability.git
cd CVE-2023-36845-Juniper-Vulnerability
Install required libraries:
pip install -r requirements.txt
Usage
python3 CVE-2023-36845-POC.py
Warning: Use responsibly with explicit permission. Unauthorized testing may have legal consequences.
Contributing: Pull requests welcome. For major changes, open an issue to discuss. Script designed to exploit multiple IPs concurrently.
Noted - This version includes instructions to save the target hosts' IP addresses in a hosts.txt file before running the script.