CVE-2023-31856 Command injection in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary commands on TOTOLINK CP300+ cameras via a crafted HTTP packet exploiting a command injection flaw in the NTP synchronization function.

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-2023-31856?

CVE-2023-31856 is a critical command injection vulnerability in n/a, published on 16 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A command injection vulnerability in the hostTime parameter in the function NTPSyncWithHostof TOTOLINK CP300+ V5.2cu.7594_B20200910 allows attackers to execute arbitrary commands via a crafted http packet.

Weakness: CWE-77

Which versions are affected by CVE-2023-31856?

It affects 1 product.

Products include Totolink Cp300\+ Firmware.

How do I fix CVE-2023-31856?

No fix has been published for CVE-2023-31856 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-2023-31856 being exploited?

There is no known exploitation of CVE-2023-31856 in the wild and no public exploit code.

Sources

Also known as GHSA-pccp-9p7q-3g5m.

Is CVE-2023-31856 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free