What You Need To Know About Server Side Request Forgery (SSRF)

Keep on Guard!


SSRF or Server Side Request Forgery is an attack vector that has been around for a long time, but do you actually know what it is?

Server Side Request Forgery (SSRF) refers to an attack where in an attacker is able to send a crafted request from a vulnerable web application. SSRF is usually used to target internal systems behind firewalls that are normally inaccessible to an attacker from the external network.

What You Need To Know About SSRF - Server Side Request Forgery

Typically Server Side Request Forgery (SSRF) occurs when a web application is making a request, where an attacker has full or partial control of the request that is being sent. A common example is when an attacker can control all or part of the URL to which the web application makes a request to some third-party service.

There are various things you can use SSRF for such as:

  • Scanning other machines within the private network of the vulnerable server that aren’t externally accessible
  • Performing Remote File Inclusion (RFI) attacks
  • Bypassing firewalls and use the vulnerable server to carry out malicious attacks
  • Retrieving server files (including /etc/passwd etc)

This is example code in PHP that is vulnerable to SSRF:

You can read more from Acunetix here:

What is Server Side Request Forgery (SSRF)?

Posted in: Exploits/Vulnerabilities

, , ,


Latest Posts:


OWASP ZSC - Obfuscated Code Generator Tool OWASP ZSC – Obfuscated Code Generator Tool
OWASP ZSC is an open source obfuscated code generator tool in Python which lets you generate customized shellcodes and convert scripts to an obfuscated script.
A Look Back At 2017 – Tools & News Highlights A Look Back At 2017 – Tools & News Highlights
So here we are in 2018, taking a look back at 2017, quite a year it was. Here is a quick rundown of some of the best hacking/security tools released in 2017, the biggest news stories and the 10 most viewed posts on Darknet as a bonus.
Spectre & Meltdown Checker - Vulnerability Mitigation Tool For Linux Spectre & Meltdown Checker – Vulnerability Mitigation Tool For Linux
Spectre & Meltdown Checker is a simple shell script to tell if your Linux installation is vulnerable against the 3 "speculative execution" CVEs that were made public early 2018.
Hijacker - Reaver For Android Wifi Hacker App Hijacker – Reaver For Android Wifi Hacker App
Hijacker is a native GUI which provides Reaver for Android along with Aircrack-ng, Airodump-ng and MDK3 making it a powerful Wifi hacker app.
Sublist3r - Fast Python Subdomain Enumeration Tool Sublist3r – Fast Python Subdomain Enumeration Tool
Sublist3r is a Python-based tool designed to enumerate subdomains of websites using OSINT. It helps penetration testers and bug hunters collect and gather subdomains for the domain they are targeting.
coWPAtty Download - Audit Pre-shared WPA Keys coWPAtty Download – Audit Pre-shared WPA Keys
coWPAtty is a C-based tool for running a brute-force dictionary attack against WPA-PSK and audit pre-shared WPA keys.


2 Responses to What You Need To Know About Server Side Request Forgery (SSRF)

  1. bughunter August 18, 2017 at 8:40 pm #

    https://github.com/cujanovic/SSRF-Testing

    • Darknet August 18, 2017 at 11:44 pm #

      Oh that’s nice, thanks!