DS-7604NI-K1 / 4P(B): Improper Neutralization of Special Elements used in a Command
CVE-2024-29949 is a high-severity improper neutralization of special elements used in a command vulnerability in DS-7604NI-K1 / 4P(B) from Hikvision, with a CVSS 3.1 base score of 7.2 out of 10. It can be exploited remotely over the network by an attacker with administrator privileges, without any action from a user. Affected DS-7604NI-K1 / 4P(B) versions: V4.30.096build221220 and the versions prior to it; V4.30.096build221220 and earlier. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 1.32% chance of exploitation within 30 days, higher than 71% of scored CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update DS-76xxNI-Mx to V5.02.006 or a later version.
- Update DS-77xxNI-Mx to 5.02.006 or a later version.
- Update DS-96xxxNI-Mxx to 5.02.006 or a later version.
- Read the advisory on hikvision.com for workarounds and exact fixed builds.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Hikvision | DS-7604NI-K1 / 4P(B) | V4.30.096build221220 and the versions prior to it; V4.30.096build221220 and earlier | Not stated |
| Hikvision | DS-76xxNI-Mx | V5.00.000 up to, but not including, V5.02.006 | V5.02.006 |
| Hikvision | DS-77xxNI-Mx | 5.00.000 up to, but not including, 5.02.006 | 5.02.006 |
| Hikvision | DS-96xxxNI-Mxx | 5.00.000 up to, but not including, 5.02.006 | 5.02.006 |
| Hikvision | DS-76xxNXI-Ix | Not specified in the record | Not stated |
| Hikvision | DS-77xxNXI-Ix | Not specified in the record | Not stated |
| Hikvision | DS-86xxNXI-Ix | Not specified in the record | Not stated |
| Hikvision | DS-96xxNXI-Ix | Not specified in the record | Not stated |
| Hikvision | iDS-76xxNXI-Mx | 5.00.000 up to, but not including, 5.02.006 | 5.02.006 |
| Hikvision | iDS-77xxNXI-Mx | 5.00.000 up to, but not including, 5.02.006 | 5.02.006 |
| Hikvision | iDS-96xxxMXI-Mxx | 5.00.000 up to, but not including, 5.02.006 | 5.02.006 |
| Hikvision | DS-7604NI-M1/4P | 5.00.000 up to, but not including, 5.01.070 | 5.01.070 |
| Hikvision | ds-76xxnxi-lx | 5.00.000 up to, but not including, 5.02.006 | 5.02.006 |
| Hikvision | ds-77xxnxi-lx | 5.00.000 up to, but not including, 5.02.006 | 5.02.006 |
| Hikvision | ds-86xxnxi-lx | 5.00.000 up to, but not including, 5.02.006 | 5.02.006 |
| Hikvision | ds-96xxnxi-lx | 5.00.000 up to, but not including, 5.02.006 | 5.02.006 |
Version data comes from the organisation that assigned the CVE. 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
- HighAdministrator-level access is required first.
- 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:H/UI:N/S:U/C:H/I:H/A:H. Scored by CNA (hikvision.com).
Official description
There is a command injection vulnerability in some Hikvision NVRs. This could allow an authenticated user with administrative rights to execute arbitrary commands.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Improper Neutralization of Special Elements used in a Command
The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
How developers prevent this class of flaw
- If at all possible, use library calls rather than external processes to recreate the desired functionality.
- If possible, ensure that all external commands called from the program are statically created.
- Run time: Run time policy enforcement may be used in an allowlist fashion to prevent use of any non-sanctioned commands.
More Improper Neutralization of Special Elements used in a Command vulnerabilities (CWE-77)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Recent Improper Neutralization of Special Elements used in a Command vulnerabilities
- 7.4 High severity
- 8.8 High severity
- 7.3 High severity
- 8.8 High severity
- 8.8 High severity
- 8.8 High severity
Spotted an error? Tell us.