Chuyển đến nội dung
Skillpedia
Bảo mật35k · #8314

performing-ssrf-vulnerability-exploitation

Skill này làm gì

Công cụ này giúp kiểm tra xem một website có thể bị lừa truy cập thông tin nội bộ hoặc thông tin trên cloud hay không. Nó thử truy cập các địa chỉ đặc biệt có thể lộ dữ liệu nhạy cảm.

Khi nào nên dùng

  • ✓Khi bạn kiểm thử bảo mật một website có sự cho phép.
  • ✓Khi bạn điều tra một nguy cơ rò rỉ dữ liệu.
  • ✓Khi bạn kiểm tra xem website có được bảo vệ tốt trước truy cập trái phép hay không.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-ssrf-vulnerability-exploitation/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Kiểm tra xem website 'example.com' có thể bị khai thác để truy cập dữ liệu AWS không.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ gửi yêu cầu đến các địa chỉ có thể lộ thông tin. Nó thử truy cập địa chỉ cloud, dịch vụ nội bộ và dùng nhiều giao thức khác nhau để tìm lỗ hổng.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.

Câu hỏi thường gặp

SSRF là gì?

SSRF (Server-Side Request Forgery) là một lỗ hổng bảo mật, trong đó kẻ tấn công có thể khiến máy chủ web của nạn nhân gửi yêu cầu đến các máy chủ khác, có thể làm lộ dữ liệu nội bộ.

Tôi có thể dùng công cụ này trên bất kỳ website nào không?

Không. Bạn chỉ được dùng công cụ này trên website mà bạn có sự cho phép rõ ràng để kiểm thử bảo mật. Dùng khi chưa được phép là vi phạm pháp luật.

“Địa chỉ cloud” là gì?

Đây là các địa chỉ đặc biệt mà nhà cung cấp cloud như AWS, Google Cloud và Azure dùng để cung cấp thông tin về máy chủ đang chạy mã.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
35k
Vị trí xếp hạng
#8314
Giấy phép
Apache-2.0
Cập nhật
31/8/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự