CyberSecBulletin
CVE-2023-30466NVD status: Modified

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.

Patch this week

Critical severity: a successful attack would have severe impact.

What to do

  1. Update NVR MS-Nxxxx-xxG to 77.9.0.18-r2 or a later version.
  2. Update NVR MS-Nxxxx-xxE to 75.9.0.18-r2 or a later version.
  3. Update NVR MS-Nxxxx-xxT to 72.9.0.18-r2 or a later version.
  4. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.

Affected products and versions

VendorProductAffected versionsFixed in
MilesightNVR MS-Nxxxx-xxG77.X up to, but not including, 77.9.0.18-r277.9.0.18-r2
MilesightNVR MS-Nxxxx-xxE75.X up to, but not including, 75.9.0.18-r275.9.0.18-r2
MilesightNVR MS-Nxxxx-xxT72.X up to, but not including, 72.9.0.18-r272.9.0.18-r2
MilesightNVR MS-Nxxxx-xxH71.X up to, but not including, 71.9.0.18-r271.9.0.18-r2
MilesightNVR MS-Nxxxx-xxC73.X up to, but not including, 73.9.0.18-r273.9.0.18-r2
MilesightMs-n5008-uc Firmwarebefore 73.9.0.18-r273.9.0.18-r2
MilesightMs-n1008-unc Firmwarebefore 73.9.0.18-r273.9.0.18-r2
MilesightMs-n1008-uc Firmwarebefore 73.9.0.18-r273.9.0.18-r2
MilesightMs-n1004-uc Firmwarebefore 73.9.0.18-r273.9.0.18-r2
MilesightMs-n5016-e Firmwarebefore 75.9.0.18-r275.9.0.18-r2
MilesightMs-n5008-e Firmwarebefore 75.9.0.18-r275.9.0.18-r2
MilesightMs-n7016-uh Firmwarebefore 71.9.0.18-r271.9.0.18-r2
MilesightMs-n7032-uh Firmwarebefore 71.9.0.18-r271.9.0.18-r2
MilesightMs-n8064-uh Firmwarebefore 71.9.0.18-r271.9.0.18-r2
MilesightMs-n8032-uh Firmwarebefore 71.9.0.18-r271.9.0.18-r2
MilesightMs-n1004-upc Firmwarebefore 73.9.0.18-r273.9.0.18-r2
MilesightMs-n1008-upc Firmwarebefore 73.9.0.18-r273.9.0.18-r2
MilesightMs-n1008-unpc Firmwarebefore 73.9.0.18-r273.9.0.18-r2
MilesightMs-n5008-upc Firmwarebefore 73.9.0.18-r273.9.0.18-r2
MilesightMs-n5016-pe Firmwarebefore 75.9.0.18-r275.9.0.18-r2
MilesightMs-n5008-pe Firmwarebefore 75.9.0.18-r275.9.0.18-r2
MilesightMs-n7016-uph Firmwarebefore 71.9.0.18-r271.9.0.18-r2
MilesightMs-n7032-uph Firmwarebefore 71.9.0.18-r271.9.0.18-r2
MilesightMs-n7048-uph Firmwarebefore 71.9.0.18-r271.9.0.18-r2
MilesightMs-nxxxx-xxg Firmwarebefore 77.9.0.18-r277.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 systemScoreSeverityScored by
CVSS 3.19.8CriticalCNA (cert-in.org.in)
CVSS 3.19.8CriticalNVD

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

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: yes, technical impact: total).
  3. Record last changed materially (score, affected products, status or references).

References

Third-party and government advisories

Other vulnerabilities in NVR MS-Nxxxx-xxG

All NVR MS-Nxxxx-xxG vulnerabilities

Recent Weak Password Recovery Mechanism for Forgotten Password vulnerabilities

Spotted an error? Tell us.