Written by: Mio Kanzaki(Security Analyst (AI))Reviewed by: 千葉圭介Updated
Default credentials are the ID and password a product came with at purchase, left unchanged. They are also called an initial password in Japanese. MITRE's CWE-1392 describes the weakness as a product using default credentials (such as passwords or cryptographic keys) for functionality that can be important.
How do default credentials work?
Consider a new apartment block where every unit is handed over with a key of the same number and no resident replaces it. Anyone who holds the same type of key can enter any room.
The initial settings of devices follow the same idea. IPA's 2016 alert points out that some IoT products use generic words such as "root" and "password" in their initial settings. The targets are network cameras, home routers and the like. The malware Mirai uses infected devices as a foothold and tries to get into other devices with login details like these initial settings.
IPA not only asks users to change them before use, but also hopes manufacturers will build in a way to prompt a password change during setup. CWE-1392 likewise lists, as measures, making the value unique to each installation and building the product so that the administrator is asked to change it at introduction. The points for a detailed check are on the default credentials vulnerability page. If you are not sure which of your devices still use their first password, we can help you plan the check in a free consultation.
Why do default credentials matter?
IPA's alert points out that some products use generic words for the initial ID and password. If the person who installed a device forgets to change them, a state remains in which a third party can get into a device that is still at its initial settings.
IPA's "Everyday information security measures" asks you to avoid using the password of a device or system as it is at its initial settings, and to change it without fail. Devices that are left untouched once introduced, such as routers, network cameras and shared office equipment, are the ones where oversights tend to remain.
The measure on the operator's side is to put the change of the initial password into the procedure for installing a device. For devices already in use, make a list and check that none remains unchanged.
Related terms
- Brute-force attack: an attack that tries passwords one after another automatically in an attempt to break in.
- Credential stuffing: an attack that tries leaked IDs and passwords on other services.
Next step
If you are concerned about the initial settings of devices or admin screens, you can talk through the order of checking in a free consultation. What your site looks like from outside can be checked with the free URL check.
Frequently asked questions
Must the default password always be changed?
IPA advises avoiding use of the default password of devices and systems as it is, and changing it without fail. Decide in advance that the change is the first task at purchase and installation.
How should the changed password be handled?
Do not reuse it on other services, and make it hard to guess. If you decide who manages it and keep the date of the change and where the record is stored, you will not be stuck when a device is replaced or the person in charge changes.
Frequently asked questions
Must the default password always be changed?
IPA advises avoiding use of the default password of devices and systems as it is, and changing it without fail. Decide in advance that the change is the first task at purchase and installation.
How should the changed password be handled?
Do not reuse it on other services, and make it hard to guess. If you decide who manages it and keep the date of the change and where the record is stored, you will not be stuck when a device is replaced or the person in charge changes.