Soham7-dev/AspGoat

SSRF Bypass Challenge

開放

#2 建立於 2025年8月31日

 (0 則留言) (0 個反應) (0 位負責人)JavaScript (92 個分叉)auto 404
bugenhancementhelp wanted

倉庫指標

星標
 (106 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

🔒 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 😅)

貢獻者指南