SSRF
This research series focuses on Server-Side Request Forgery (SSRF) scenarios and will be updated periodically. The goal is to explore SSRF across different technology stacks and real-world scenarios
PHP
<?php
if (!isset($_GET['url'])){
echo "Provide url as: ?url";
exit;
}
$url = $_GET['url'];
$output = file_get_contents($url);
echo "<pre>";
echo htmlspecialchars($output);
echo "</pre>";
?>Wrapper
Purpose
SSRF relevance
Variant 2:
Fetcher
Internals
Instructions for your Research Lab
Function
Executes code?
Attacks
Cloud Metdata:
2. RCE via PHP Wrappers
4. Bypassing the "Localhost" Block
Lab Exercise: Redis to RCE
Practical:
dict:// (Internal Recon)
dict:// (Internal Recon)PHP wrappers
Gophers
Data://
Payloads:
Some non usual ways to find
Good Blogs
Last updated