跳到正文
Skillpedia
安全35k · #8314

performing-ssrf-vulnerability-exploitation

它能做什么

这个工具可以帮你检查一个网站是否可能被诱导去访问内部或云端信息。它会尝试访问一些特殊地址,这些地址可能会暴露敏感数据。

适用场景

  • ✓在获得授权的前提下,测试网站的安全性时。
  • ✓调查可能存在的数据泄露问题时。
  • ✓检查网站能否有效防止未经授权的访问时。

技能链接

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-ssrf-vulnerability-exploitation/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-ssrf-vulnerability-exploitation/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“帮我检查一下 example.com 这个网站能否被利用来访问 AWS 数据。”

每周 5 个新技能,1 分钟读完。

工作原理

工具会向那些可能暴露信息的地址发送请求。它会尝试访问云端地址和内部服务,并使用不同的协议来查找漏洞。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

When to Use

  • When conducting security assessments that involve performing ssrf vulnerability exploitation
  • When following incident response procedures for related security events
  • When performing scheduled security testing or auditing activities
  • When validating security controls through hands-on testing

Prerequisites

  • Familiarity with security operations concepts and tools
  • Access to a test or lab environment for safe execution
  • Python 3.8+ with required dependencies installed
  • Appropriate authorization for any testing activities

Instructions

  1. Install dependencies: pip install requests
  2. Identify URL parameters in the target application that accept URLs or hostnames.
  3. Test SSRF payloads:
    • Cloud metadata: http://169.254.169.254/latest/meta-data/
    • Internal services: http://127.0.0.1:port/, http://10.0.0.1/
    • Protocol handlers: file:///etc/passwd, gopher://, dict://
    • Bypass techniques: IP encoding, DNS rebinding, URL redirects
  4. Analyze responses for information disclosure or internal access confirmation.
  5. Generate a vulnerability assessment report.
# For authorized penetration testing and lab environments only
python scripts/agent.py --target-url https://app.example.com/fetch?url= --output ssrf_report.json

Examples

AWS Metadata SSRF

GET /fetch?url=http://169.254.169.254/latest/meta-data/iam/security-credentials/

If the response contains AWS credentials (AccessKeyId, SecretAccessKey), SSRF is confirmed with critical impact.

常见问题

什么是 SSRF?

SSRF(服务端请求伪造)是一种安全漏洞,攻击者可以让受害者的 Web 服务器去请求其他服务器,从而可能暴露内部数据。

我可以用它测试任何网站吗?

不可以。你只能在明确获得安全测试授权的网站上使用这个工具。未经许可使用是违法的。

什么是“云端地址”?

这些是 AWS、Google Cloud、Azure 等云服务商使用的特殊地址,可以提供运行代码的服务器实例的相关信息。

详情

作者的原始描述

Tests web application URL parameters for Server-Side Request Forgery by probing cloud metadata endpoints (AWS/GCP/Azure at 169.254.169.254), internal network services, and protocol handlers (file://, gopher://, dict://) using a Python script, including IP-encoding bypass and DNS rebinding checks. Use during authorized penetration testing to confirm SSRF in a URL-fetching parameter and generate a v

repo: mukul975/Anthropic-Cybersecurity-Skills

热度

GitHub 星标
35k
排名
#8314
许可证
Apache-2.0
更新时间
2026/8/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能