Skip to content
SSRF Write-up Intermediate

Exploit Analysis Request Baskets v1 2 1 Server Side Request Forgery Ssrf

Request-Baskets v1.2.1 let a user create a basket whose forward_url pointed at any address, so the server would later send requests to that address on the attacker's behalf. An attacker could make the victim's server contact internal or attacker-chosen resources, potentially exposing data or reaching otherwise unreachable services.

Security Lit Limited Follow

Published on infosecwriteups.com

In the world of cybersecurity, vulnerabilities and exploits are constantly evolving. One such vulnerability is the Server-side Request Forgery (SSRF), which allows attackers to manipulate a vulnerable server into making potentially malicious requests on their behalf.

Security Lit Limited, on infosecwriteups.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the application accepted an arbitrary user-supplied forward_url when creating a basket without validating or restricting the destination.

Impact

The victim's server could be made to send requests to internal or attacker-controlled resources, which may lead to data leakage, unauthorised access, or further attacks; the text does not show a working internal-target exploit.

What the attacker needed

Access to the Request-Baskets instance; ability to create a basket; victim or service visits the basket URL

The fix

The application should validate and restrict basket forward URLs, for example by whitelisting allowed destinations and blocking internal addresses.

How it was found

  1. Provide the base URL of the target Request-Baskets server and the attacker's server URL to the script.
  2. The script builds a JSON payload configuring a new basket with the attacker's server as forward_url.
  3. The payload is sent to the target server with a POST request to create the basket.
  4. The script builds the new basket's URL and optionally shows the returned Authorization token.
  5. When someone accesses the basket URL, the victim's server sends a request to the attacker's server.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A server-side request forgery bug means the server can be told to fetch a web address of the attacker's choosing. Here the tool that forwards requests let anyone set the forwarding address, so the server itself made the call. That can let an outsider reach machines that are not normally reachable from the internet.

What is SSRF?

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.

More by Security Lit Limited

View all

5 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Server-side request forgery (SSRF)

The lesson behind this report.

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.