Soham7-dev/AspGoat

SSRF Bypass Challenge

オープン

#2 opened on 2025/08/31

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (92 件のフォーク)auto 404
bugenhancementhelp wanted

Repository metrics

Stars
 (106 個のスター)
PR merge metrics
 (PR metrics pending)

説明

🔒 Security Lab Enhancement : SSRF Bypass Challenge

Description

Currently, AspGoat includes one SSRF lab with both:

  • ❌ Vulnerable version
  • ✅ Secure version (with basic whitelist)

However, in real-world scenarios, attackers may find ways to bypass the secure code as well (e.g., via redirects, alternate encodings, or dns rebinding).

Tasks

  • Analyze the current SSRF "secure" implementation via AspGoat UI (Login -> SSRF lab -> Identify Vulnerability -> Secure Code Modal).
  • Copy the Secure Code and replace the Vulnerable Code with the Secure Code inside Controllers/HomeController.cs under SSRF POST ACTION
  • Now try various methods to bypass this protection. (Note: Modifying the /etc/hosts file via RCE or manually to gain access to an internal ip address does not count 😅)

コントリビューターガイド