| Titel | CampCodes Complete Sales and Inventory System with Credit Management 1.0 SQL Injection |
|---|
| Beschreibung | 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] |
|---|
| Quelle | ⚠️ https://tracexlabs.com/releases/campcodes-complete-sales-and-inventory-system-login-sqli.html |
|---|
| Benutzer | SanthoshKumar (UID 101638) |
|---|
| Einreichung | 12.10.2026 07:49 (vor 24 Tagen) |
|---|
| Moderieren | 04.11.2026 16:59 (23 days later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 431128 [Campcodes Complete Sales and Inventory System with Credit Management /ahira/login.php SQL Injection] |
|---|
| Punkte | 20 |
|---|