What’s Vulnerable › Vulnerabilities
CVE-2012-10052: EGallery 1.2 Arbitrary PHP File Upload
- Severity: critical (CVSS 9.3 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-08-08 · updated 2026-06-16
- Weakness: CWE-434
Description
EGallery version 1.2 contains an unauthenticated arbitrary file upload vulnerability in the uploadify.php script. The application fails to validate file types or enforce authentication, allowing remote attackers to upload malicious PHP files directly into the web-accessible egallery/ directory. This results in full remote code execution under the web server context.
Affected products
- EGallery: 1.2
References
- http://web.archive.org/web/20170128123244/http://www.opensyscom.fr/Actualites/egallery-arbitrary-file-upload-vulnerability.html
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/egallery_upload_exec.rb
- https://sourceforge.net/projects/e-gallery/
- https://www.exploit-db.com/exploits/20029
- https://www.vulncheck.com/advisories/egallery-arbitrary-php-file-upload
- http://web.archive.org/web/20170128123244/http://www.opensyscom.fr/Actualites/egallery-arbitrary-file-upload-vulnerability.html
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/egallery_upload_exec.rb
- https://www.exploit-db.com/exploits/20029
Get alerted when CVE-2012-10052 or the next vulnerability affects your stack