| عنوان | CampCodes Complete Sales and Inventory System with Credit Management 1.0 SQL Injection |
|---|
| الوصف | 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] |
|---|
| المصدر | ⚠️ https://tracexlabs.com/releases/campcodes-complete-sales-and-inventory-system-login-sqli.html |
|---|
| المستخدم | SanthoshKumar (UID 101638) |
|---|
| ارسال | 12/10/2026 07:49 AM (24 أيام منذ) |
|---|
| الاعتدال | 04/11/2026 04:59 PM (23 days later) |
|---|
| الحالة | تمت الموافقة |
|---|
| إدخال VulDB | 431128 [Campcodes Complete Sales and Inventory System with Credit Management /ahira/login.php حقن SQL] |
|---|
| النقاط | 20 |
|---|