Share
## https://sploitus.com/exploit?id=63291729-1A9D-564F-86C3-7BDAD2C4A7E2
## About
A simple Python tool that automates Shodan searches and filters target IPs/domains to identify assets potentially vulnerable to CVE-2025-29927 in Next.js deployments.

## Usage
Extract both IPs and domains
```
python3 nextjs-CVE-2025-29927-hunter.py -t target.com
```

Only extract domains
```
python3 nextjs-CVE-2025-29927-hunter.py -t target.com -dom
```

Only extract IPs
```
python3 nextjs-CVE-2025-29927-hunter.py -t target.com -ip
```


## Screenshot
![Image](https://github.com/user-attachments/assets/33711a3f-575a-4157-b957-0e9a0e1260a9)


## Installation
```
git clone https://github.com/darklotuskdb/nextjs-CVE-2025-29927-hunter.git && cd nextjs-CVE-2025-29927-hunter && chmod +x *.py && chmod +x *.sh 
```

```
./install.sh
```

## References
* [Next.js and the corrupt middleware: the authorizing artifact](https://zhero-web-sec.github.io/research-and-things/nextjs-and-the-corrupt-middleware)
* [Doing the Due Diligence: Analyzing the Next.js Middleware Bypass (CVE-2025-29927)](https://www.assetnote.io/resources/research/doing-the-due-diligence-analyzing-the-next-js-middleware-bypass-cve-2025-29927)
* [I Scanned 100,000+ Subdomains For CVE-2025-29927](https://www.youtube.com/watch?v=7hqBePL0C_I)


## Support me?
[BuyMeACoffee](https://www.buymeacoffee.com/darklotus) If you like my work <3

## About Me

* **DarkLotus** - *CyberSecurity Researcher* - [DarkLotusKDB](https://github.com/darklotuskdb)

### Social Media Handles
* [Twitter](https://twitter.com/darklotuskdb)
* [Medium](https://darklotus.medium.com/)
* [Linkedin](https://www.linkedin.com/in/kamaldeepbhati/)
* [Instagram](https://www.instagram.com/kamaldeepbhati/)