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

配置信息泄漏 #3451

Closed
jim2017jim opened this issue Apr 12, 2021 · 3 comments
Closed

配置信息泄漏 #3451

jim2017jim opened this issue Apr 12, 2021 · 3 comments
Assignees
Labels
Milestone

Comments

@jim2017jim
Copy link

jim2017jim commented Apr 12, 2021

https://github.com/alibaba/canal/blob/master/admin/admin-web/src/main/java/com/alibaba/otter/canal/admin/config/WebConfig.java

.excludePathPatterns("/api/**/config/**")

可以去掉么,会导致
/api/v1/canal/config/1/1
这类访问把配置信息泄漏,虽然是加密值,但是由于密文是默认密码,可以百度密文反推出来。

这个访问关掉的影响是什么呢?

@agapple
Copy link
Member

agapple commented Apr 16, 2021

最新代码已修改

@agapple agapple closed this as completed Apr 16, 2021
@agapple agapple self-assigned this Apr 16, 2021
@agapple agapple added the bug label Apr 16, 2021
@agapple agapple added this to the v1.1.5 milestone Apr 16, 2021
@aboutZZ
Copy link

aboutZZ commented Sep 2, 2021

🐴了个🐔,完蛋,现在才看到这个漏洞,去查nginx日志,发现已经有人爬到了,/api/v1/canal/config/1/0 接口被请求了几十次,卧槽。

还好admin的默认密码改了

以后再用国产的开源玩意要慎之又慎,KPI产物。

看看隔壁fastjson,成天不是在修复漏洞就是在修复漏洞的路上,还各种高风险漏洞。再看看人家jackson

@LiuGuangTong
Copy link

网络世界真有趣

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants