Summery
Request-baskets is a web application built to collect and register requests on a specific route, so called basket. When creating it, the user can specify another server to forward the request. The issue here is that the user can specify unintended services, such as network-closed applications.
For example: let’s suppose that the server hosts Request-baskets (port 55555) and a Flask web server on port 8000. The Flask is also configured to only interact with localhost. By creating a basket which forwards to http://localhost:8000, the attacker can access the before restricted Flask web server.
Affected versions:
All request-basket versions up to version 1.2.1.
Exploitation
CVE-2023-27163 PoC by entr0pie
git clone https://github.com/entr0pie/CVE-2023-27163.git- Clone the repo./CVE-2023-27163.sh http://10.129.89.111:55555/ http://127.0.0.1:8338/- Access target host’s other service
References
NIST article
Good read about the vulnerability
CVE-2023-27163 PoC by entr0pie
CVE-2023-27163 PoC by Khalidhaimur