CVE Explorer
CVE-2025-70457
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"description":"n/a","lang":"en","type":"text"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:5be75a0be2ee9939afaee2ef1dbfa8b29e26241c9a04d3516834574cd509363b · sha256:7cce08114fc394b4… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-434","description":"CWE-434 Unrestricted Upload of File with Dangerous Type","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:5be75a0be2ee9939afaee2ef1dbfa8b29e26241c9a04d3516834574cd509363b · sha256:7cce08114fc394b4… · /containers/adp/0/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:5be75a0be2ee9939afaee2ef1dbfa8b29e26241c9a04d3516834574cd509363b · sha256:7cce08114fc394b4… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:5be75a0be2ee9939afaee2ef1dbfa8b29e26241c9a04d3516834574cd509363b · sha256:7cce08114fc394b4… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"description":"n/a","lang":"en","type":"text"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:5be75a0be2ee9939afaee2ef1dbfa8b29e26241c9a04d3516834574cd509363b · sha256:7cce08114fc394b4… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-434","description":"CWE-434 Unrestricted Upload of File with Dangerous Type","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:5be75a0be2ee9939afaee2ef1dbfa8b29e26241c9a04d3516834574cd509363b · sha256:7cce08114fc394b4… · /containers/adp/0/problemTypes/0/descriptions/0
Source references
2 source assertions{"url":"https://github.com/ismaildawoodjee/vulnerability-research/security/advisories/GHSA-8xq6-hjhw-4983"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5be75a0be2ee9939afaee2ef1dbfa8b29e26241c9a04d3516834574cd509363b · sha256:7cce08114fc394b4… · /containers/cna/references/1
{"url":"https://www.sourcecodester.com/php/18572/modern-image-gallery-app-using-php-and-mysql-source-code.html"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5be75a0be2ee9939afaee2ef1dbfa8b29e26241c9a04d3516834574cd509363b · sha256:7cce08114fc394b4… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.