CFR-904E, CFR-908E, CFR-916E: Use of Hard-coded Credentials
CVE-2023-47213 is a critical-severity use of hard-coded credentials vulnerability in CFR-904E, CFR-908E, CFR-916E from First, with a CVSS 3.1 base score of 9.8 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. Affected CFR-904E, CFR-908E, CFR-916E versions: firmware all versions. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 1.09% chance of exploitation within 30 days, higher than 66% of scored CVEs.
Critical severity: a successful attack would have severe impact.
What to do
- Check which version of CFR-904E, CFR-908E, CFR-916E you run against the affected versions below, and install the vendor's latest release.
- Read the advisory on c-first.co.jp for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| First | CFR-904E, CFR-908E, CFR-916E | firmware all versions | Not stated |
| First | CFR-4EHD, CFR-8EHD, CFR-16EHD | firmware all versions | Not stated |
| First | CFR-4EHA, CFR-8EHA, CFR-16EHA | firmware all versions | Not stated |
| First | CFR-4EAAM, CFR-4EABC | firmware all versions | Not stated |
| First | CFR-4EAA, CFR-8EAA, CFR-16EAA | firmware all versions | Not stated |
| First | CFR-4EAB, CFR-8EAB, CFR-16EAB | firmware all versions | Not stated |
| First | CFR-1004EA, CFR-1008EA, CFR-1016EA | firmware all versions | Not stated |
| First | MD-404HD, MD-808HD | firmware all versions | Not stated |
| First | MD-404HA, MD-808HA | firmware all versions | Not stated |
| First | MD-404AA, MD-808AA | firmware all versions | Not stated |
| First | MD-404AB, MD-808AB | firmware all versions | Not stated |
| C-first | md-808hd_firmware | all versions | Not stated |
| C-first | Cfr-1004ea Firmware | Not specified in the record | Not stated |
| C-first | Cfr-1008ea Firmware | Not specified in the record | Not stated |
| C-first | Cfr-1016ea Firmware | Not specified in the record | Not stated |
| C-first | Cfr-16eaa Firmware | Not specified in the record | Not stated |
| C-first | Cfr-16eab Firmware | Not specified in the record | Not stated |
| C-first | Cfr-16eha Firmware | Not specified in the record | Not stated |
| C-first | Cfr-16ehd Firmware | Not specified in the record | Not stated |
| C-first | Cfr-4eaa Firmware | Not specified in the record | Not stated |
| C-first | Cfr-4eaam Firmware | Not specified in the record | Not stated |
| C-first | Cfr-4eab Firmware | Not specified in the record | Not stated |
| C-first | Cfr-4eabc Firmware | Not specified in the record | Not stated |
| C-first | Cfr-4eha Firmware | Not specified in the record | Not stated |
| C-first | Cfr-4ehd Firmware | Not specified in the record | Not stated |
Version data comes from the organisation that assigned the CVE; 14 further products are omitted here. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 9.8 | Critical | NVD |
| CVSS 3.1 | 9.8 | Critical | CISA (ADP) |
Official description
First Corporation's DVRs use a hard-coded password, which may allow a remote unauthenticated attacker to rewrite or obtain the configuration information of the affected device. Note that updates are provided only for Late model of CFR-4EABC, CFR-4EAB, CFR-8EAB, CFR-16EAB, MD-404AB, and MD-808AB. As for the other products, apply the workaround.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Use of Hard-coded Credentials
The product contains hard-coded credentials, such as a password or cryptographic key.
How developers prevent this class of flaw
- For outbound authentication: store passwords, keys, and other credentials outside of the code in a strongly-protected, encrypted configuration file or database that is protected from access by all outsiders, including other local users on the same system. Properly protect the key (CWE-320). If you cannot use encryption to protect the file, then make sure that the permissions are as restrictive as possible. In Windows environments, the Encrypted File System (EFS) may provide some protection.
- For inbound authentication: Rather than hard-code a default username and password, key, or other authentication credentials for first time logins, utilize a first login mode that requires the user to enter a unique strong password or key.
- If the product must contain hard-coded credentials or they cannot be removed, perform access control checks and limit which entities can access the feature that requires the hard-coded credentials. For example, a feature might only be enabled through the system console instead of through a network connection.
More Use of Hard-coded Credentials vulnerabilities (CWE-798)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: yes, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Advisories
Third-party and government advisories
- jvn.jp/en/vu/JVNVU99077347/Third Party Advisory
Other vulnerabilities in CFR-904E, CFR-908E, CFR-916E
- 9.8 Critical severity
Recent Use of Hard-coded Credentials vulnerabilities
- 7.5 High severity
- 7.5 High severity
- 9.8 Critical severity
- 9.8 Critical severity
- 9.8 Critical severity
- 9.8 Critical severity
Spotted an error? Tell us.