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.

Published: 2021-04-28 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2021-30166 is rated Moderate Risk (57/100): CVSS High severity, with medium exploitation likelihood (EPSS 3.79%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2021-30166

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 6.58% 3.79% -2.80%
2 2026-04-30 7.54% 6.58% -0.95%
3 2025-12-04 7.54%

Full EPSS history (15 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2021-30166

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.2 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:H)
They need powerful rights—admin, root, or similar—before this pays off.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.2 5.9 [email protected]
9.0 2.0 HIGH
AV:N/AC:L/Au:S/C:C/I:C/A:C Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:S)
A single authentication is required.
Confidentiality impact (C:C)
Complete confidentiality impact.
Integrity impact (I:C)
Complete integrity impact.
Availability impact (A:C)
Complete availability impact.
8.0 10.0 [email protected]

Weakness enumeration for CVE-2021-30166

Affected software / configurations for CVE-2021-30166

Vendor Product Version Raw CPE
meritlilin p2r8852e2_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:p2r8852e2_firmware:*:*:*:*:*:*:*:*
meritlilin p2r8852e4_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:p2r8852e4_firmware:*:*:*:*:*:*:*:*
meritlilin p2r6852e2_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:p2r6852e2_firmware:*:*:*:*:*:*:*:*
meritlilin p2r6852e4_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:p2r6852e4_firmware:*:*:*:*:*:*:*:*
meritlilin p2r6552e2_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:p2r6552e2_firmware:*:*:*:*:*:*:*:*
meritlilin p2r6552e4_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:p2r6552e4_firmware:*:*:*:*:*:*:*:*
meritlilin p2r6352ae2_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:p2r6352ae2_firmware:*:*:*:*:*:*:*:*
meritlilin p2r6352ae4_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:p2r6352ae4_firmware:*:*:*:*:*:*:*:*
meritlilin p2r3052ae2_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:p2r3052ae2_firmware:*:*:*:*:*:*:*:*
meritlilin p2g1052_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:p2g1052_firmware:*:*:*:*:*:*:*:*
meritlilin p2r8822e2_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:p2r8822e2_firmware:*:*:*:*:*:*:*:*
meritlilin p2r8822e4_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:p2r8822e4_firmware:*:*:*:*:*:*:*:*
meritlilin p2r6822e2_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:p2r6822e2_firmware:*:*:*:*:*:*:*:*
meritlilin p2r6822e4_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:p2r6822e4_firmware:*:*:*:*:*:*:*:*
meritlilin p2r6522e2_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:p2r6522e2_firmware:*:*:*:*:*:*:*:*
meritlilin p2r6522e4_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:p2r6522e4_firmware:*:*:*:*:*:*:*:*
meritlilin p2r6322ae2_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:p2r6322ae2_firmware:*:*:*:*:*:*:*:*
meritlilin p2r6322ae4_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:p2r6322ae4_firmware:*:*:*:*:*:*:*:*
meritlilin p2r3022ae2_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:p2r3022ae2_firmware:*:*:*:*:*:*:*:*
meritlilin p2g1022_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:p2g1022_firmware:*:*:*:*:*:*:*:*
meritlilin p2g1022x_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:p2g1022x_firmware:*:*:*:*:*:*:*:*
meritlilin z2r8852ax_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:z2r8852ax_firmware:*:*:*:*:*:*:*:*
meritlilin z2r8152x-p_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:z2r8152x-p_firmware:*:*:*:*:*:*:*:*
meritlilin z2r8152x2-p_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:z2r8152x2-p_firmware:*:*:*:*:*:*:*:*
meritlilin z2r8052ex25_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:z2r8052ex25_firmware:*:*:*:*:*:*:*:*
meritlilin z2r6552x_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:z2r6552x_firmware:*:*:*:*:*:*:*:*
meritlilin z2r6452ax_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:z2r6452ax_firmware:*:*:*:*:*:*:*:*
meritlilin z2r6452ax-p_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:z2r6452ax-p_firmware:*:*:*:*:*:*:*:*
meritlilin z2r8822ax_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:z2r8822ax_firmware:*:*:*:*:*:*:*:*
meritlilin z2r8122x-p_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:z2r8122x-p_firmware:*:*:*:*:*:*:*:*
meritlilin z2r8122x2-p_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:z2r8122x2-p_firmware:*:*:*:*:*:*:*:*
meritlilin z2r8022ex25_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:z2r8022ex25_firmware:*:*:*:*:*:*:*:*
meritlilin z2r6522x_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:z2r6522x_firmware:*:*:*:*:*:*:*:*
meritlilin z2r6422ax_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:z2r6422ax_firmware:*:*:*:*:*:*:*:*
meritlilin z2r6422ax-p_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:z2r6422ax-p_firmware:*:*:*:*:*:*:*:*
meritlilin p3r6322e2_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:p3r6322e2_firmware:*:*:*:*:*:*:*:*
meritlilin p3r6522e2_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:p3r6522e2_firmware:*:*:*:*:*:*:*:*
meritlilin p3r8822e2_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:p3r8822e2_firmware:*:*:*:*:*:*:*:*
meritlilin z3r6422x3_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:z3r6422x3_firmware:*:*:*:*:*:*:*:*
meritlilin z3r6522x_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:z3r6522x_firmware:*:*:*:*:*:*:*:*
meritlilin z3r8922x3_firmware < 7.1.94.8908 cpe:2.3:o:meritlilin:z3r8922x3_firmware:*:*:*:*:*:*:*:*

References for CVE-2021-30166

cvelogic Threat Intelligence