NVR MS-Nxxxx-xxG: Weak Password Recovery Mechanism for Forgotten Password
CVE-2023-30466 is a critical-severity weak password recovery mechanism for forgotten password vulnerability in NVR MS-Nxxxx-xxG from MileSight, 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. The record lists version 77.9.0.18-r2 as the first without the flaw, so updating NVR MS-Nxxxx-xxG to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 1.13% chance of exploitation within 30 days, higher than 67% of scored CVEs.
Critical severity: a successful attack would have severe impact.
What to do
- Update NVR MS-Nxxxx-xxG to 77.9.0.18-r2 or a later version.
- Update NVR MS-Nxxxx-xxE to 75.9.0.18-r2 or a later version.
- Update NVR MS-Nxxxx-xxT to 72.9.0.18-r2 or a later version.
- 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 |
|---|---|---|---|
| Milesight | NVR MS-Nxxxx-xxG | 77.X up to, but not including, 77.9.0.18-r2 | 77.9.0.18-r2 |
| Milesight | NVR MS-Nxxxx-xxE | 75.X up to, but not including, 75.9.0.18-r2 | 75.9.0.18-r2 |
| Milesight | NVR MS-Nxxxx-xxT | 72.X up to, but not including, 72.9.0.18-r2 | 72.9.0.18-r2 |
| Milesight | NVR MS-Nxxxx-xxH | 71.X up to, but not including, 71.9.0.18-r2 | 71.9.0.18-r2 |
| Milesight | NVR MS-Nxxxx-xxC | 73.X up to, but not including, 73.9.0.18-r2 | 73.9.0.18-r2 |
| Milesight | Ms-n5008-uc Firmware | before 73.9.0.18-r2 | 73.9.0.18-r2 |
| Milesight | Ms-n1008-unc Firmware | before 73.9.0.18-r2 | 73.9.0.18-r2 |
| Milesight | Ms-n1008-uc Firmware | before 73.9.0.18-r2 | 73.9.0.18-r2 |
| Milesight | Ms-n1004-uc Firmware | before 73.9.0.18-r2 | 73.9.0.18-r2 |
| Milesight | Ms-n5016-e Firmware | before 75.9.0.18-r2 | 75.9.0.18-r2 |
| Milesight | Ms-n5008-e Firmware | before 75.9.0.18-r2 | 75.9.0.18-r2 |
| Milesight | Ms-n7016-uh Firmware | before 71.9.0.18-r2 | 71.9.0.18-r2 |
| Milesight | Ms-n7032-uh Firmware | before 71.9.0.18-r2 | 71.9.0.18-r2 |
| Milesight | Ms-n8064-uh Firmware | before 71.9.0.18-r2 | 71.9.0.18-r2 |
| Milesight | Ms-n8032-uh Firmware | before 71.9.0.18-r2 | 71.9.0.18-r2 |
| Milesight | Ms-n1004-upc Firmware | before 73.9.0.18-r2 | 73.9.0.18-r2 |
| Milesight | Ms-n1008-upc Firmware | before 73.9.0.18-r2 | 73.9.0.18-r2 |
| Milesight | Ms-n1008-unpc Firmware | before 73.9.0.18-r2 | 73.9.0.18-r2 |
| Milesight | Ms-n5008-upc Firmware | before 73.9.0.18-r2 | 73.9.0.18-r2 |
| Milesight | Ms-n5016-pe Firmware | before 75.9.0.18-r2 | 75.9.0.18-r2 |
| Milesight | Ms-n5008-pe Firmware | before 75.9.0.18-r2 | 75.9.0.18-r2 |
| Milesight | Ms-n7016-uph Firmware | before 71.9.0.18-r2 | 71.9.0.18-r2 |
| Milesight | Ms-n7032-uph Firmware | before 71.9.0.18-r2 | 71.9.0.18-r2 |
| Milesight | Ms-n7048-uph Firmware | before 71.9.0.18-r2 | 71.9.0.18-r2 |
| Milesight | Ms-nxxxx-xxg Firmware | before 77.9.0.18-r2 | 77.9.0.18-r2 |
Version data comes from the organisation that assigned the CVE; 1 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 | CNA (cert-in.org.in) |
| CVSS 3.1 | 9.8 | Critical | NVD |
Official description
This vulnerability exists in Milesight 4K/H.265 Series NVR models (MS-Nxxxx-xxG, MS-Nxxxx-xxE, MS-Nxxxx-xxT, MS-Nxxxx-xxH and MS-Nxxxx-xxC), due to a weak password reset mechanism at the Milesight NVR web-based management interface. A remote attacker could exploit this vulnerability by sending a specially crafted http requests on the targeted device. Successful exploitation of this vulnerability could allow remote attacker to account takeover on the targeted device.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Weak Password Recovery Mechanism for Forgotten Password
The product contains a mechanism for users to recover or change their passwords without knowing the original password, but the mechanism is weak.
How developers prevent this class of flaw
- Make sure that all input supplied by the user to the password recovery mechanism is thoroughly filtered and validated.
- Do not use standard weak security questions and use several security questions.
- Make sure that there is throttling on the number of incorrect answers to a security question. Disable the password recovery functionality after a certain (small) number of incorrect guesses.
More Weak Password Recovery Mechanism for Forgotten Password vulnerabilities (CWE-640)
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
Third-party and government advisories
- cert-in.org.in/s2cMainServlet?pageid=PUBVLNOTES01&VLCODE=CIVN-2023-0121Third Party Advisory
Other vulnerabilities in NVR MS-Nxxxx-xxG
- 9.8 Critical severity
Recent Weak Password Recovery Mechanism for Forgotten Password vulnerabilities
- 7.8 High severity
- 9.8 Critical severity
- 7.5 High severity
- 9.8 Critical severity
- 9.8 Critical severity
- 9.8 Critical severity
Spotted an error? Tell us.