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

Goal: 1000 CNY ยท Raised: 1359 CNY

100%

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.