Bug #10263
closedInsufficient validation of alias name when restoring aliases
0%
Description
When creating an alias using the GUI, the alias name is validated correctly (only "a-z, A-Z, 0-9 and _"). When Restoring aliases using the restore function, the alias names are not validated correctly. Thus, names like "web-server" are allowed.
Steps to reproduce:
1. Backup Aliases using "Backup and Restore" Function.
2. Change the name of an alias to an non-validatable value (e.g. web-server)
3. Restore Aliases using "Backup and Restore" Function.
Updated by Jim Pingle over 5 years ago
- Category set to Backup / Restore
- Status changed from New to Not a Bug
There are lots of ways you can create bad configurations by restoring things improperly. It's not viable to validate them all, given the way things are currently designed. In the future this may be a non-factor when things are redesigned and there are other things like YANG involved that help out. But it isn't something that will be actionable as-is.