| शीर्षक | osCommerce 4.14.63493 SQL Injection |
|---|
| विवरण | osCommerce 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.
|
|---|
| उपयोगकर्ता | agit (UID 102449) |
|---|
| सबमिशन | 24/10/2026 12:43 AM (1 महीना पहले) |
|---|
| संयम | 23/11/2026 04:28 AM (1 month later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 442239 [osCommerce 4.14.63493 Orders Batch Processing OrdersController.php actionOrdersbatch orders SQL इंजेक्शन] |
|---|
| अंक | 17 |
|---|