Gửi #892909: itsourcecode Online Medicine Delivery System v1.0 SQL Injectionthông tin

tiêu đềitsourcecode Online Medicine Delivery System v1.0 SQL Injection
Mô tả1. Description The customer login interface /login.php of Online Medicine Delivery System contains an SQL injection vulnerability. The interface includes two login branches (sidebarLogin and modalLogin), both of which receive the user-submitted U_USERNAME parameter and directly concatenate it into an SQL query string without any filtering or parameterization, which is then passed to the Customer::cusAuthentication() method for execution. An attacker can construct a malicious SQL statement in the U_USERNAME field (e.g., ' OR 1=1-- -), making the WHERE condition of the authentication query always true, and using a comment delimiter to bypass password verification, thereby successfully authenticating without knowing any account credentials and obtaining a customer session. This vulnerability can be exploited without any prior authentication. 2. Impact (1) Unauthorized Customer Account Takeover: An attacker can log into any customer account without knowing any customer credentials, obtaining customer-level operational privileges (2) Sensitive Data Disclosure: Upon successful login, the system writes the customer's full information (name, username, password hash, etc.) into the session, which the attacker can access through the profile page (3) Business Data Tampering: After entering a customer account, the attacker can place orders, modify addresses, change passwords, and manipulate shopping carts and wishlists 3.Remediation (1) Use Parameterized Queries (2) Input Validation: Perform whitelist validation on user input before SQL execution; the username field should be verified against allowed character formats
Nguồn⚠️ https://github.com/boyslikesports/202607_vul_dir/blob/main/C-02-SQLi-Customer-Auth-Bypass_en.md
Người dùng
 Weining Xiao (UID 88216)
Đệ trình16/07/2026 14:14 (cách đây 1 tháng)
Kiểm duyệt30/08/2026 09:44 (1 month later)
Trạng tháiđược chấp nhận
Mục VulDB397112 [itsourcecode Online Medicine Delivery System 1.0 Customer Login Interface /login.php cusAuthentication U_USERNAME Tiêm SQL]
điểm20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!