| tiêu đề | osCommerce osCommerce V4 4.14.63493 SQL Injection |
|---|
| Mô tả | osCommerce V4 (version 4.14.63493) exposes an unauthenticated frontend widget endpoint, lib/frontend/controllers/GetWidgetController.php (actionIndex), that instantiates an arbitrary widget class selected by the client ("frontend\design\boxes\" . post['name']) and passes a client-controlled "params" array to it, with no authentication or authorization check (the controller defines no access rules). Via the account addresses-list widget (lib/frontend/design/boxes/account/AddressesList.php), a guest that supplies params['customers_id'] bypasses the guest guard, so any customer identifier is accepted. The value then reaches lib/common/helpers/Customer.php get_address_book_data(), where it is concatenated unescaped into the query as a.customers_id = '<value>'. tep_db_prepare_input() performs no SQL escaping (it only trims and strips <>), so single quotes survive and a value such as 0' OR '1'='1 injects SQL. Impact: unauthenticated disclosure of any customer's name, company, phone, email and full postal address, and unauthenticated SQL injection (string context, CWE-89) in the address-book query. Remediation: require authorization on the widget endpoint and restrict renderable widgets, scope address lookups to the authenticated customer, and parameterize or integer-cast customers_id.
Credit: Agit Isik (IOVA LTD)
Contact: [email protected] |
|---|
| Nguồn | ⚠️ https://gist.github.com/agtt/0b34571cf8a5dd0d0601c17cd15d73b3 |
|---|
| Người dùng | agit (UID 102449) |
|---|
| Đệ trình | 24/10/2026 02:11 (cách đây 1 tháng) |
|---|
| Kiểm duyệt | 23/11/2026 04:29 (1 month later) |
|---|
| Trạng thái | được chấp nhận |
|---|
| Mục VulDB | 442243 [osCommerce 4.14.63493 Account Address List Widget Customer.php get_address_book_data customers_id Tiêm SQL] |
|---|
| điểm | 20 |
|---|