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

canal默认admin.passwd风险说明及解决方案 #4941

Closed
agapple opened this issue Nov 8, 2023 · 3 comments
Closed

canal默认admin.passwd风险说明及解决方案 #4941

agapple opened this issue Nov 8, 2023 · 3 comments
Milestone

Comments

@agapple
Copy link
Member

agapple commented Nov 8, 2023

近期canal社区收到关于canal admin鉴权功能通过adminPassword默认值进行撞击,绕过身份验证安全漏洞的问题。

考虑默认的安全风险,计划v1.1.8版本做如下变更:

  1. canal admin针对与canal-server通讯时,使用application.yml中配置的canal.adminPassword
  2. canal-server使用canal.properties中配置canal.passwd和canal.admin.passwd,分别控制client链接server、以及server链接admin之间的权限控制

新版本移除自带的password默认值,并在password未传入或非法时阻止节点启动来提醒用户设置自定义password

@e345
Copy link
Contributor

e345 commented Nov 8, 2023

鼎力支持,加强系统安全。1.1.8希望能兼容8.0.33的binlog,大佬帮忙看看,单独发了issues:#4940

agapple added a commit that referenced this issue Nov 8, 2023
@agapple agapple closed this as completed Nov 8, 2023
@agapple agapple added this to the v1.1.8 milestone Nov 8, 2023
@agapple
Copy link
Member Author

agapple commented Dec 22, 2023

image

修复ClientAuthenticationHandler在auth认证失败时未及时终止后续packet包的处理流程,导致有越权访问binlog数据的风险

zoemak pushed a commit to zoemak/canal that referenced this issue Jan 30, 2024
zoemak pushed a commit to zoemak/canal that referenced this issue Jan 30, 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