LiveActive security incident?Get immediate response
CVE Record

CVE-2021-30166: MERIT LILIN ENT.CO.,LTD. P2/Z2/P3/Z3 IP camera - Command Injection

The NTP Server configuration function of the IP camera device is not verified with special parameters. Remote attackers can perform a command Injection attack and execute arbitrary commands after logging in with the privileged permission.

HighCVSS 7.2Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

Authenticated administrators of affected MERIT LILIN P2/Z2/P3/Z3 IP cameras could abuse the NTP server setting to run operating-system commands on the device. This is serious for camera fleets because compromise could expose video systems, alter device behavior, or disrupt availability, but the published CVSS vector requires high privileges.

Executive priority

Treat this as a high-priority camera fleet hygiene issue, especially for exposed or weakly managed devices. Prioritize inventory, access restriction, credential cleanup, and vendor remediation tracking. The urgency increases if these cameras protect sensitive sites or sit on flat internal networks.

Technical view

CVE-2021-30166 is CWE-78 command injection in the NTP Server configuration function. The source bundle says special parameters are not verified, allowing remote command execution after login with privileged permission. CVSS 3.1 is 7.2, with network access, low complexity, high privileges required, no user interaction, and high confidentiality, integrity, and availability impact.

Likely exposure

Exposure is most likely where MERIT LILIN P2/Z2/P3/Z3 IP camera administration interfaces are reachable and privileged credentials are available or compromised. The source bundle does not identify exact affected firmware versions, CPEs, deployment prevalence, or a fixed release level.

Exploitation context

The source bundle does not show CISA KEV listing or other cited evidence of active exploitation. Exploitation requires authenticated privileged access, which lowers opportunistic risk but remains important where default, shared, reused, or compromised camera administrator accounts exist.

Researcher notes

Key uncertainty is version scope: the bundle lists affected firmware as unspecified. Researchers should avoid assuming all MERIT LILIN cameras are affected. Validate only against owned devices, focus on NTP configuration handling, and document firmware, model, authentication state, and vendor advisory alignment.

Mitigation direction

  • Check MERIT LILIN and TWCERT guidance for fixed firmware or official remediation.
  • Restrict camera management interfaces to trusted administration networks or VPN access.
  • Remove internet exposure from affected camera administration services.
  • Review and rotate privileged camera credentials, especially shared or default accounts.
  • Monitor camera configuration changes and unexpected outbound connections.

Validation and detection

  • Inventory MERIT LILIN P2/Z2/P3/Z3 cameras and record firmware versions.
  • Confirm whether each device matches vendor or TWCERT affected-product guidance.
  • Verify camera administration interfaces are not internet-accessible.
  • Review NTP server settings for unexpected or unauthorized values.
  • Check logs or monitoring for suspicious privileged configuration changes.
Prepared
Confidence
medium
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-78: Command execution behavior lookup

Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-30166 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.2 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
5Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.2CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H1.25.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.2High
CVSS 3.1 vector shape for CVE-2021-30166Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
MERIT LILIN ENT.CO.,LTD.P2/Z2/P3/Z3 IP camera firmwareunspecifiedListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-78 · source CWE mapping

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.