CVE-2012-10052 EGallery 1.2 Arbitrary PHP File Upload
Unauthenticated attackers can upload malicious PHP files to achieve remote code execution on the web server.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2012-10052?
CVE-2012-10052 is a critical vulnerability in EGallery, published on 8 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-434
Which versions are affected by CVE-2012-10052?
How do I fix CVE-2012-10052?
No fix has been published for CVE-2012-10052 yet. Limit exposure of the affected software until one is available.
Is CVE-2012-10052 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-10052 exists.
Public exploit code: 1 Metasploit module.
Sources
Also known as GHSA-x2xc-mrmf-q7pv.