5 ms·
It’s absolutely inexcusable that in 2021 we still have apps that come with default credentials like admin/admin. You can yell at users all you want, but history
by orev 6y ago
It’s absolutely inexcusable that in 2021 we still have apps that come with default credentials like admin/admin. You can yell at users all you want, but history has shown that is not good enough. The blame here at least partially falls on bitbucket for making it so easy to set things up in an insecure way.
To all developers reading this: it is YOUR responsibility to do everything you can to prevent your users from shooting themselves in the foot like this.
- Mg6yDfjp5U 6y agoDo you know of any resources describing this as a developer responsibility/best practice? I agree with you, but I'm looking for some independent resource that I can show to Business to convey to them the importance of this. (Most resources I'm finding are only describing the importance of remembering to change the default password, rather than designing a system without a default password to begin with.)
- bob1029 6y agoLook at some practical implementations. E.g. Jenkins CI. When you first install it (the latest versions), it does not use default admin/admin credentials. What it does is produce a random password string that you have to go find on disk to perform the initial setup. At no point could someone without direct access to the machine get in before you are able to lock the door.
- isbvhodnvemrwvn 6y agoWhile this practice is OK, I am not sure if Jenkins with its billions of trivial vulnerabilities in every other plugin is a poster child for security. https://www.jenkins.io/security/advisories/ https://www.jenkins.io/security/advisories/
- JosephRedfern 6y agoWhich is totally irrelevant in the context of this discussion (which is on default passwords).
- tlarkworthy 6y agohttps://hdivsecurity.com/owasp-broken-authentication https://hdivsecurity.com/owasp-broken-authentication "Do not ship or deploy with any default credentials, particularly for admin users." Though I wish OWASP published this guideline too. (they do state this is a top 10 venerability, and the HDIV scanner looks for this to fix)
- ericcholis 6y agoEven routers these days have a random password assigned to them.
- bberenberg 6y agoThere are no default credentials in Bitbucket[0]. An admin manually set these at some point. [0] https://confluence.atlassian.com/bitbucketserver/install-a-bitbucket-server-trial-867192384.html#InstallaBitbucketServertrial-Createyouradministratoraccount https://confluence.atlassian.com/bitbucketserver/install-a-b...
- tiborsaas 6y agoYou can try as hard as you want, but users will always find a way to bypass your precautions and shoot themselves in the foot. There's also a danger that if you try to do this, then your product turns into a UX nightmare.
- orev 6y agoDefaults matter. There’s a huge difference between starting an account with a complex password and then the user intentionally weakens it, vs starting with a weak password with a note saying “pretty please change it”. It’s obvious that some set of users will not change it, so it’s better to start in a default secure state than an insecure one. And yes, sometimes security and UX conflict, and users just need to deal with it.
- gabereiser 6y agoYes but in this case there was no auth and the user setup admin/admin. This was a human.
- tracker1 6y agoI tend to make a default passphrase of "Please change me." and require a password change on first login.