CVE-2025-70457
Description
A Remote Code Execution (RCE) vulnerability exists in Sourcecodester Modern Image Gallery App v1.0 within the gallery/upload.php component. The application fails to properly validate uploaded file contents. Additionally, the application preserves the user-supplied file extension during the save process. This allows an unauthenticated attacker to upload arbitrary PHP code by spoofing the MIME type as an image, leading to full system compromise.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| remyandrade | modern image gallery app | 1.0 |
References and patches
- https://www.sourcecodester.com/php/18572/modern-image-gallery-app-using-php-and-mysql-source-code.html Third Party Advisory
- https://github.com/ismaildawoodjee/vulnerability-research/security/advisories/GHSA-8xq6-hjhw-4983 ExploitThird Party Advisory
CPE matches (NVD) (1)
cpe:2.3:a:remyandrade:modern_image_gallery_app:1.0:*:*:*:*:*:*:*