Re:macOS High Sierra: Anyone can login as “root” with empty ...
by Cthulhu_ on Wednesday November 29, 2017 @03:31AM
(#15805466)
This bug isn't caused by rapid succession or whatever, it's more of a generic end to end test. In this case someone would have had to write an exact scenario that opens a settings page, unlocks it, types in 'root', no password, presses login and it should not work.
[ Parent
| on HN ]
Re:macOS High Sierra: Anyone can login as “root” with empty ...
by jenoer on Wednesday November 29, 2017 @05:22AM
(#15805851)
Rapid succession button clicking usually combines many different tests:
- Performance
- Usability
- Brute-force capabilities
- Error handling
- And in this case, Security, a bug where trying to log in a couple of times on the Login screen with an empty, or set, password.
A test scenario closer to this would be:
---
When I am on the login screen
And I enter 'root' in the 'Username' field
And I enter 'thispasswordisfalse' in the 'Password' field
And I press the 'Login' button '10' times
Then I should see the text 'Your password is invalid'
---
Please note that this issue is not just in the Settings page, it takes place on the login screen as well, that's why I'm shocked, it's such a core functionality, touching so many system components.