إرسال #1055164: osCommerce osCommerce V4 4.14.63493 SQL Injectionالمعلومات

عنوانosCommerce osCommerce V4 4.14.63493 SQL Injection
الوصف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]
المصدر⚠️ https://gist.github.com/agtt/0b34571cf8a5dd0d0601c17cd15d73b3
المستخدم
 agit (UID 102449)
ارسال24/10/2026 02:11 AM (1 شهر منذ)
الاعتدال23/11/2026 04:29 AM (1 month later)
الحالةتمت الموافقة
إدخال VulDB442243 [osCommerce 4.14.63493 Account Address List Widget Customer.php get_address_book_data customers_id حقن SQL]
النقاط20

Do you know our Splunk app?

Download it now for free!