NAS540: Web login broken with firmware version V5.21(AATB.4) / Passwords with special chars

Haeberle
Posts: 1
Hi,
just wanted to tell you a glitch that appeared in this firmware, and possibly locks you out of your web admin interface. Affected Firmware:
NAS540
Firmware-Version:V5.21(AATB.4)
Appeared Feb/Mar 2020
The web interface login in this firmware started to have problems with passwords that contain other characters than (possibly, not tested) a-z,A-Z,0-9. The problem is also that the web interface does not prevent you from setting a password for an admin, with a character other than the ones above.
In my case, the existing admin had a password containing an exclamation mark '!'. After the update, the web interface login was no longer possible. Samba shares and SSH / Telnet are not affected.
I edited /etc/samba/smbpasswd using SSH, and replaced the admin password hash with the one from /etc/samba/smbpasswd.default (='1234'). After that, the web interface login worked, and I was able to set the admin password to something without '!'. I also tested for '$' - also not possible.
Since the web interface allows to set such passwords, I consider this a (dangerous) bug. Please fix, Zyxel!
Hope that helps everyone with the same problem.
Cheers!
#NAS_Mar_2020
just wanted to tell you a glitch that appeared in this firmware, and possibly locks you out of your web admin interface. Affected Firmware:
NAS540
Firmware-Version:V5.21(AATB.4)
Appeared Feb/Mar 2020
The web interface login in this firmware started to have problems with passwords that contain other characters than (possibly, not tested) a-z,A-Z,0-9. The problem is also that the web interface does not prevent you from setting a password for an admin, with a character other than the ones above.
In my case, the existing admin had a password containing an exclamation mark '!'. After the update, the web interface login was no longer possible. Samba shares and SSH / Telnet are not affected.
I edited /etc/samba/smbpasswd using SSH, and replaced the admin password hash with the one from /etc/samba/smbpasswd.default (='1234'). After that, the web interface login worked, and I was able to set the admin password to something without '!'. I also tested for '$' - also not possible.
Since the web interface allows to set such passwords, I consider this a (dangerous) bug. Please fix, Zyxel!
Hope that helps everyone with the same problem.
Cheers!
#NAS_Mar_2020
0
Comments
Categories
- All Categories
- 439 Beta Program
- 2.7K Nebula
- 191 Nebula Ideas
- 121 Nebula Status and Incidents
- 6.2K Security
- 468 USG FLEX H Series
- 308 Security Ideas
- 1.6K Switch
- 82 Switch Ideas
- 1.3K Wireless
- 44 Wireless Ideas
- 6.8K Consumer Product
- 281 Service & License
- 441 News and Release
- 88 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 4.3K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 93 Security Highlight