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

ttyd严重安全漏洞 #35

Open
xopenwrt opened this issue Dec 12, 2023 · 1 comment
Open

ttyd严重安全漏洞 #35

xopenwrt opened this issue Dec 12, 2023 · 1 comment

Comments

@xopenwrt
Copy link

sed -i "s?/bin/login?/usr/libexec/login.sh?g" ${FEEDS_PKG}/ttyd/files/ttyd.config
这一句代码等效移除了ttyd的登录验证,只要访问路由器的ip:7681 就能直接获取路由的root权限。
更为严重的影响是,默认的防火墙并未针对ipv6环境的公网访问做出限制。意味着只要拿到了openwrt的公网ipv6或者是接入了其局域网就能获取openwrt的root权限

@djp518
Copy link

djp518 commented Jan 18, 2024

感谢提醒,我已经注释掉了,@Hyy2001X 还是安全重要吧

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