{"id":"CVE-2012-10052","published":"2025-08-08T18:10:46Z","modified":"2026-04-07T14:02:46Z","title":"EGallery 1.2 Arbitrary PHP File Upload","vendor":"EGallery","product":"EGallery","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01846,"percentile":0.79585,"provenance":"source"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/egallery_upload_exec.rb","tags":["exploit"]},{"url":"https://www.exploit-db.com/exploits/20029","tags":["exploit"]},{"url":"http://web.archive.org/web/20170128123244/http://www.opensyscom.fr/Actualites/egallery-arbitrary-file-upload-vulnerability.html","tags":["technical-description","exploit"]},{"url":"https://sourceforge.net/projects/e-gallery/","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/egallery-arbitrary-php-file-upload","tags":["third-party-advisory"]}],"priority":{"score":27.4,"factors":[{"name":"EPSS percentile","points":15.92},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.51}]},"exploitSources":{"metasploit":[{"name":"EGallery PHP File Upload Vulnerability","module":"exploit/unix/webapp/egallery_upload_exec","type":"exploit","disclosureDate":"2012-07-08","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/egallery_upload_exec.rb"}],"first":{"date":"2012-07-08","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/egallery_upload_exec.rb"},"provenance":"source"},"vendorSlug":"egallery","affectedVersions":[{"vendor":"EGallery","product":"EGallery","versions":["1.2"]}],"capec":[{"id":"CAPEC-242","name":"Code Injection"}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-08-08T18:55:03.432887Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2012-6588","exploited":false,"provenance":"source"},"exploitRefs":["https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/egallery_upload_exec.rb","https://www.exploit-db.com/exploits/20029","http://web.archive.org/web/20170128123244/http://www.opensyscom.fr/Actualites/egallery-arbitrary-file-upload-vulnerability.html"]}