CVE-2012-10052
EGallery version 1.2 contains an unauthenticated arbitrary file upload vulnerability in the uploadify.php script.
Does this matter?
A public exploit is published in Exploit-DB (verified) and the impact is critical, while EPSS rates exploitation at 8.0%. Anyone can run this; patch or mitigate before the next change window and check exposed instances for signs of use.
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.
- CVSS 4.0
- 9.3 CRITICALCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/M
- EPSS
- 7.95% probability · 95th percentile
- Public exploits
- 1 in Exploit-DB · verified · first 23 July 2012
- CISA KEV
- Not listed
- Weakness
- CWE-434: Unrestricted upload of file with dangerous type
- Source
- disclosure@vulncheck.com
In plain terms
It can be reached over a network with no login and no help from a user. On a system exposed to the internet, a patch or a network control is all that stands in the way.
- Reached from
- Over a network. If the affected system can be reached from the internet, so can the flaw.
- Effort
- Nothing special has to be got round first.
- Login needed
- None. No login is needed.
- Someone else involved
- No. Nobody has to click, open or approve anything.
- At risk on the affected system
- Reading data: serious. Changing data: serious. Stopping the service: serious.
Read from the CVSS 4.0 vector above. It describes the flaw itself, not how your own systems are set up.
The first public exploit in Exploit-DB is dated 23 July 2012, about 13 years before the record was published.
EPSS moved from 8.0% on 24 November 2026 to 8.0% on 4 December 2026. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”.
Public exploits (1)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
Where to go from here
One vulnerability is rarely the whole question. These are free, and none of them asks for an account.
By email
Our briefing by email: what changed, what to patch and what it means for a UK organisation. Written for the people who have to act on it.
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
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.