| Titre | RafyMrX TOKO-ONLINE-ROTI latest (2026-06, no formal release) Input Validation |
|---|
| Description | Description:
TOKO-ONLINE-ROTI uses user-controlled customer ID instead of session (CWE-639).
proses/add.php: $kode_cs = $_GET['kd_cs'] (not $_SESSION). proses/order.php:
$kd_cs = $_POST['kode_cs'] (not session). Frontend correctly uses
$_SESSION['kd_cs'] but backend fails to validate. Attacker can add items
to any customer's cart and place orders under their identity.
Exploitation:
Cart: add.php?kd_cs=C0002&produk=xxx
Order: POST kode_cs=C0002
Countermeasure: Use $_SESSION['kd_cs'] instead of user input. CVSS 6.5. |
|---|
| La source | ⚠️ https://github.com/RafyMrX/TOKO-ONLINE-ROTI |
|---|
| Utilisateur | Dest1ny_2 (UID 98658) |
|---|
| Soumission | 31/05/2026 18:08 (il y a 4 mois) |
|---|
| Modérer | 15/07/2026 21:22 (2 months later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 379368 [RafyMrX TOKO-ONLINE-ROTI proses/add.php kd_cs élévation de privilèges] |
|---|
| Points | 20 |
|---|