
PoC and internal port brute-forcer for CVE-2023-27163
This is a proof-of-concept (PoC) exploit and a localhost port bruteforcer for CVE-2023-27163, a server-side request forgery (SSRF) vulnerability in Request-Baskets.
The PoC abuses the forward_url parameter to perform a brute-force scan of active services bound to the local interface. Once discovered, these services can then be accessed by the attacker through the vulnerable forwarding mechanism.
requests librarypip install requests
python3 CVE-2023-27163.py -u https://TARGET_URL -b BASKET_NAME -p ports.txt