提出 #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)
送信2026年10月24日 02:11 (1 月 ago)
モデレーション2026年11月23日 04:29 (1 month later)
ステータス承諾済み
VulDBエントリ442243 [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!