| タイトル | github Cafe Management System (CafeManagement) 1.0 Missing Authentication → Unauthenticated Privileged Account Crea |
|---|
| 説明 | CafeManagement performs no authentication or session management anywhere — there is no session_start() and no use of $_SESSION in any server-side script. Consequently the entire administrative interface ("Admin's Portal": Add Cashier, Add Product, Customers, Dashboard) is reachable directly by URL by an anonymous, unauthenticated remote attacker.
This is directly exploitable to create privileged accounts. The handler AddCashierCode.php accepts the POST parameters uname, pass, role and status and inserts a new account with an attacker-controlled Role, with no authentication or authorization check:
$Username=$_POST['uname'];
$Password=$_POST['pass'];
$Role=$_POST['role'];
$Status=$_POST['status'];
...
if($action == "Add"){
$sql = "INSERT INTO addcashier (Username, Password, Role, Status, Image)
VALUES ('$Username','$Password','$Role','$Status','$newfilename')";
mysqli_query($con, $sql);
} |
|---|
| ソース | ⚠️ https://github.com/yashkeral/cve-writeups/blob/main/cafemanagement/03-missing-auth-account-creation.md |
|---|
| ユーザー | Yashkumar Keral (UID 99903) |
|---|
| 送信 | 2026年07月21日 20:10 (2 月 ago) |
|---|
| モデレーション | 2026年09月23日 15:09 (2 months later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 408959 [Neethuharii CafeManagement AddCashierCode.php addcashier uname/pass/role/status 特権昇格] |
|---|
| ポイント | 20 |
|---|