Soumettre #1000550: SourceCodester eCommerce 9c69f4d Unrestricted Upload of File with Dangerous Typeinformation

TitreSourceCodester eCommerce 9c69f4d Unrestricted Upload of File with Dangerous Type
DescriptionSourceCodester eCommerce (php-eCommerce, commit 9c69f4d) allows unauthenticated remote code execution. admin/products/controller.php contains zero session or authorization checks (its sibling admin/user/controller.php has the guard; this file was missed). doInsert(), reachable via ?action=add, validates the uploaded image with only getimagesize() and then calls move_uploaded_file() with the raw attacker-controlled filename into admin/products/uploaded_photos/. An unauthenticated attacker uploads a GIF89a+PHP polyglot named shell.php that passes the image check and executes on request; live reproduction returned uid=0(root). The same unguarded controller also allows pre-auth product edit (?action=edit) and delete (?action=delete). CVSS 3.1 score 9.8 Critical, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Discovered by Santhosh Kumar, TraceX Labs. Vendor contact attempted via SourceCodester contact form (blocked by spam filter); public disclosure published at https://tracexlabs.com/releases/ecommerce-polyglot-rce.html.
La source⚠️ https://tracexlabs.com/releases/ecommerce-polyglot-rce.html
Utilisateur
 SanthoshKumar (UID 101638)
Soumission25/09/2026 16:09 (il y a 17 jours)
Modérer12/10/2026 22:58 (17 days later)
StatutDupliqué
Entrée VulDB275568 [SourceCodester E-Commerce System 1.0 controller.php photo élévation de privilèges]
Points0

Do you want to use VulDB in your project?

Use the official API to access entries easily!