제출 #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. AM 02:11 (1 월 ago)
모더레이션2026. 11. 23. AM 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 need the next level of professionalism?

Upgrade your account now!