CVE-2021-3122 Command injection in n/a
Unauthenticated attackers can execute arbitrary commands as SYSTEM on NCR Command Center Agent if specific misconfigurations are present.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-3122?
CVE-2021-3122 is a critical command injection vulnerability in n/a, published on 7 Feb 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
CMCAgent in NCR Command Center Agent 16.3 on Aloha POS/BOH servers permits the submission of a runCommand parameter (within an XML document sent to port 8089) that enables the remote, unauthenticated execution of an arbitrary command as SYSTEM, as exploited in the wild in 2020 and/or 2021. NOTE: the vendor's position is that exploitation occurs only on devices with a certain "misconfiguration."
Weakness: CWE-78
Which versions are affected by CVE-2021-3122?
It affects 1 product.
Products include Ncr Command Center Agent.
How do I fix CVE-2021-3122?
No fix has been published for CVE-2021-3122 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2021-3122 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-3122 exists.
Public exploit code: 1 Metasploit module, 1 Nuclei template and 1 proofs of concept on GitHub.
Sources
Also known as GHSA-xcf5-m6c7-75hg.