| Título | github Cafe Management System (CafeManagement) 1.0 Missing Authentication → Unauthenticated Privileged Account Crea |
|---|
| Descrição | 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);
} |
|---|
| Fonte | ⚠️ https://github.com/yashkeral/cve-writeups/blob/main/cafemanagement/03-missing-auth-account-creation.md |
|---|
| Utilizador | Yashkumar Keral (UID 99903) |
|---|
| Submissão | 21/07/2026 20h10 (há 2 meses) |
|---|
| Moderação | 23/09/2026 15h09 (2 months later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 408959 [Neethuharii CafeManagement AddCashierCode.php addcashier uname/pass/role/status Elevação de Privilégios] |
|---|
| Pontos | 20 |
|---|