提交 #1025183: CampCodes Complete Sales and Inventory System with Credit Management 1.0 SQL Injection信息

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

Want to know what is going to be exploited?

We predict KEV entries!