Security: Replace hardcoded secret keys in example config (CWE-798)#233
Open
saaa99999999 wants to merge 375 commits into
Open
Security: Replace hardcoded secret keys in example config (CWE-798)#233saaa99999999 wants to merge 375 commits into
saaa99999999 wants to merge 375 commits into
Conversation
发布v2.7.6版本
修复字典选项和公告提示加载异常,优化tcp和websocket消息处理
优化菜单、省市区树结构排序,修复部门搜索空指针问题
顶部消息获取
FIX:顶部消息获取不到列表
Merge pull request bufanyun#38 from maxbad/v2.0
增加集群部署支持,修复定时任务分组添加后选项不显示
消息订阅增加多个消息支持,优化文件选择器清空操作,添加后台用户时增加角色部门验证
修复部权限更新sql错误,修复后台用户时增加角色部门验证
用户操作权限增加角色权限过滤,优化角色/部门关系树生成,修复验证码空参数不验证问题
修复新增按钮类型的菜单到hg_admin_menu时,component空串被清空导致新增失败
Update menu.go
fix model.ts
🎨 去除mysql硬编码 方便切换pgsql
修复字典管理页面新增时表单检验
修复新增按钮类型的菜单到hg_admin_menu时,component空串被清空导致新增失败
fix(admin):修复消息查询
修复因大小写导致找不到表主键的问题
Fix the issues of front-end errors generated by the multi-choice dropdown box and the non-display of list tags
Default secret keys "hotgo", "123456", and "hotgo123" were exposed in the example configuration for TCP client auth and JWT token signing. Users deploying from this template could have their tokens forged and internal TCP services accessed by anyone who knows these default keys.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replace 3 hardcoded secret keys in the example configuration file (
server/manifest/config/config.example.yaml).Anyone who knows these default secrets can:
hotgo123)hotgo)123456)Changes
server/manifest/config/config.example.yaml:84— ReplacedsecretKey: "hotgo"with empty placeholderserver/manifest/config/config.example.yaml:91— ReplacedsecretKey: "123456"with empty placeholderserver/manifest/config/config.example.yaml:184— ReplacedsecretKey: "hotgo123"with empty placeholderTest plan
token.secretKeysecretKeyvalues