Invia #1055091: osCommerce 4.14.63493 SQL Injectioninformazioni

TitoloosCommerce 4.14.63493 SQL Injection
DescrizioneosCommerce 4.14.63493 is vulnerable to SQL injection in the backend `OrdersController::actionOrdersbatch()` function. The request-controlled `orders` parameter (also seedable via the `orders_id` GET parameter) is concatenated, without sanitization, escaping, or parameterization, into the `IN (...)` clause of a query executed through `tep_db_query()` / `mysqli_query()`: `select orders_id, platform_id, orders_status, language_id from orders where orders_id in(<orders>)` A time-based payload `0) UNION SELECT SLEEP(2),2,3,4-- -` produced a measurable 2s delay, and `0) UNION SELECT @@version,2,3,4-- -` returned the DB version, confirming data extraction. Because the entire backend disables CSRF validation, the request needs no anti-CSRF token. The same `orders` parameter is correctly sanitized with `array_map('intval', …)` elsewhere in the file (~line 2731), confirming the flaw is an omission. Distinct from CVE-2026-18592 (EmailController / email_templates_key). ## PoC ``` POST /<backend-base>/orders/ordersbatch?action=selected Content-Type: application/x-www-form-urlencoded Cookie: <authenticated backend session> orders=0) UNION SELECT SLEEP(2),2,3,4-- - ``` or GET form: ``` /<backend-base>/orders/ordersbatch?action=selected&orders_id=0)%20UNION%20SELECT%20SLEEP(2),2,3,4--%20- ``` ## Remediation Sanitize `orders` with `array_map('intval', explode(',', ...))` (as line ~2731 does) or use parameter binding; re-enable backend CSRF validation.
Utente
 agit (UID 102449)
Sottomissione24/10/2026 00:43 (1 mese fa)
Moderazione23/11/2026 04:28 (1 month later)
StatoAccettato
Voce VulDB442239 [osCommerce 4.14.63493 Orders Batch Processing OrdersController.php actionOrdersbatch orders iniezione SQL]
Punti17

Do you need the next level of professionalism?

Upgrade your account now!