CVE-2007-0082: Arbitrary File Upload in IMGallery <=2.5
- Vendor
- Imgallery
IMGallery 2.5 and earlier contains a vulnerability in users_adm/start1.php where files with multiple extensions are not properly handled. This allows remote authenticated users to upload files with a .php extension (e.g., image.jpg.php), which can then be executed on the server, leading to arbitrary PHP code execution.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote authenticated users to execute arbitrary PHP code on the server, potentially leading to full compromise of the affected web application and underlying system, depending on the privileges of the web server process.
Mitigation
If you can’t patch tonight, do this now.
Restrict file upload functionality to trusted users only, implement server-side checks to validate file types and extensions, and configure the web server to disallow execution of uploaded files in the upload directory. Consider using application whitelisting and disabling PHP execution in upload directories via .htaccess or server configuration.
Remediation
Patch, then assume compromise.
Upgrade to a fixed version of IMGallery that properly validates and restricts file uploads, ensuring that files with multiple extensions and executable content cannot be uploaded. Apply any vendor-supplied patches addressing this issue.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2007-0082 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2007-0082 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2007-0082?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2007-0082.
- Is there a patch for CVE-2007-0082?
- Upgrade to a fixed version of IMGallery that properly validates and restricts file uploads, ensuring that files with multiple extensions and executable content cannot be uploaded. Apply any vendor-supplied patches addressing this issue.
- What products are affected by CVE-2007-0082?
- Imgallery.
- How severe is CVE-2007-0082?
- CVE-2007-0082 has a CVSS v2 score of 6.5 (Medium) and an EPSS score of 2.2% (83rd percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.