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

FS#1244 - dropbear blank password issue #6238

Closed
openwrt-bot opened this issue Dec 26, 2017 · 1 comment
Closed

FS#1244 - dropbear blank password issue #6238

openwrt-bot opened this issue Dec 26, 2017 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

axet:

Hello! I moved from openwrt to lede and got hacked. Seems like lede allows blank passwords for root for 'wan' interface by default. My fault. But by default blank should not be allowed for 'wan' interface s which is default for all ssh installations.

I've checked dropbear source and found '-B' option which is disabled by default. Not sure what is happening with lede. So, I post this issue.

I would suggest following default config for /etc/config/dropbear

config dropbear
    option AllowBlankPass 'on'
    option PasswordAuth 'on'
    option Port '22'
    option Interface 'lan'

config dropbear
    option AllowBlankPass 'off'
    option PasswordAuth 'on'
    option Interface 'wan'
    option Port '22'

And few changes to /etc/init.d/dropbear script with new AllowBlankPass == "-B" option.

@openwrt-bot
Copy link
Author

yousong:

No, the system will NOT allow INPUT connection from WAN by default. Can you describe the upgrade procedure like which version and where did the firmware image come from, did you upgrade without keeping the old configs?

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

1 participant