hunt-file-upload

Detect file upload vulnerabilities like RCE, XSS, and SSRF using bypass techniques.

Updated Jul 1, 2026
One-click install
npx skills add https://github.com/bpnrockstar/UnifiedBugHunter --skill hunt-file-upload-bpnrockstar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hunt-file-upload
Source: https://github.com/bpnrockstar/UnifiedBugHunter/tree/main/skills/hunt-file-upload
Command: npx skills add https://github.com/bpnrockstar/UnifiedBugHunter --skill hunt-file-upload-bpnrockstar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps identify file upload vulnerabilities in web applications, such as remote code execution (RCE), cross-site scripting (XSS), and server-side request forgery (SSRF), by applying various bypass techniques and validation methods.

Core Features & Use Cases

  • File Upload Vulnerability Detection: Identifies vulnerabilities in file upload endpoints by testing with various payloads and bypass techniques.
  • Bypass Techniques: Utilizes a range of bypass techniques, including extension bypass, null byte, double extension, MIME spoofing, magic bytes prefix, polyglot files, SVG JavaScript, HTML/SVG XSS, DOCX with embedded XXE, ZIP slip, and filename injection.
  • Validation: Validates the effectiveness of the file upload bypasses through actual code execution for RCE, reflected XSS in profile-photo URL, and proper SSRF/XXE callbacks or responses.
  • Use Case: When testing a web application for file upload features, avatar/attachment endpoints, import/export functions, and XML/DOCX/ZIP processors, this Skill can help in identifying potential security issues.

Quick Start

Use the hunt-file-upload skill to test the 'upload' endpoint of a web application for possible file upload vulnerabilities by uploading a PHP shell and checking for command execution.

Frequently Asked Questions about hunt-file-upload

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test web application file upload endpoints for remote code execution?

You can detect file upload vulnerabilities by testing endpoints like /upload and /avatar with payloads including PHP shells, SVG JavaScript, and DOCX files with embedded XXE. The Skill applies bypass techniques such as extension bypass, null byte injection, and MIME spoofing to validate RCE, XSS, and SSRF outcomes.

What bypass techniques work against file upload validation mechanisms?

Effective file upload bypass techniques include extension bypass, null byte injection, double extension manipulation, MIME spoofing, magic bytes prefixing, and polyglot files. Additional vectors include SVG JavaScript for XSS, DOCX files with embedded XXE, ZIP slip, and filename injection to evade validation mechanisms.

How can I validate if an uploaded file leads to cross-site scripting or SSRF?

Validate file upload XSS and SSRF vulnerabilities by checking for reflected XSS in profile-photo URLs and confirming proper SSRF or XXE callbacks. This Skill validates bypass effectiveness through actual code execution for RCE and verifying server responses from SSRF or XXE callbacks.

Can I test avatar and profile-picture endpoints for file upload vulnerabilities?

Yes, you can test avatar and profile-picture endpoints for file upload vulnerabilities. This Skill specifically targets endpoints like /avatar, /profile-picture, /attachment, and /upload to identify RCE, XSS, and SSRF security issues using various attack vectors and validation mechanisms.

How do I exploit file upload features to detect XXE and ZIP slip vulnerabilities?

Detect XXE and ZIP slip vulnerabilities by uploading DOCX files with embedded XXE payloads and crafted ZIP archives to XML, DOCX, or ZIP processors. This Skill applies these bypass techniques to validate proper SSRF or XXE callbacks and identify path traversal outcomes.

Related Skills