Goal Reached Thanks to every supporter β€” we hit 100%!

Goal: 1000 CNY Β· Raised: 1000 CNY

100.0%

CVE-2012-10052 β€” AI Deep Analysis Summary

Q1What is this vulnerability? (Essence + Consequences)

🚨 **Essence**: EGallery 1.2 has a critical flaw in `uploadify.php`. It fails to verify file types or authentication.…

Q2Root Cause? (CWE/Flaw)

πŸ›‘οΈ **Root Cause**: **CWE-434** (Unrestricted Upload of File with Dangerous Type). <br>πŸ” **Flaw**: The script lacks validation for file extensions and ignores identity checks during upload.

Q3Who is affected? (Versions/Components)

πŸ“¦ **Affected**: **EGallery** by EGallery Inc. <br>πŸ“Œ **Version**: Specifically **Version 1.2**. <br>🌐 **Component**: The `uploadify.php` script is the entry point.

Q4What can hackers do? (Privileges/Data)

πŸ’€ **Attacker Actions**: <br>1. Upload malicious scripts (e.g., PHP webshells). <br>2. Execute arbitrary code remotely. <br>3. Gain full control over the web server's environment.

Q5Is exploitation threshold high? (Auth/Config)

⚑ **Threshold**: **LOW**. <br>πŸ”“ **Auth**: No authentication required for the vulnerable upload function. <br>βš™οΈ **Config**: Exploitable via standard HTTP requests to the upload endpoint.

Q6Is there a public Exp? (PoC/Wild Exploitation)

πŸ”₯ **Public Exploit**: **YES**. <br>πŸ“‚ **Sources**: Metasploit module available (`egallery_upload_exec.rb`). <br>πŸ’£ **Status**: Active exploitation tools exist (Exploit-DB #20029).

Q7How to self-check? (Features/Scanning)

πŸ” **Self-Check**: <br>1. Scan for `uploadify.php` in the root or upload directories. <br>2. Test file upload functionality without login. <br>3. Check if `.php` or `.exe` files are accepted without validation.

Q8Is it fixed officially? (Patch/Mitigation)

🩹 **Official Fix**: The provided data does not list a specific patch version. <br>⚠️ **Note**: The project appears archived (SourceForge/Web Archive). Official support may be discontinued.

Q9What if no patch? (Workaround)

πŸ›‘οΈ **Workaround**: <br>1. **Disable** the `uploadify.php` script if not needed. <br>2. Implement **WAF rules** to block PHP file uploads. <br>3. Restrict upload directory permissions (no execute rights).

Q10Is it urgent? (Priority Suggestion)

🚨 **Urgency**: **CRITICAL**. <br>⏱️ **Priority**: Immediate action required. <br>πŸ“‰ **Risk**: High impact (RCE) + Low barrier to entry (No auth) + Public exploits available.