CVE-2023-6895 Hikvision Intercom Broadcasting System ping.php os command injection

Medium 6.3 Published Updated

Attacker can execute arbitrary OS commands via the ping.php endpoint, requiring an upgrade to secure the system.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-6895?

CVE-2023-6895 is a medium-severity command injection vulnerability in Hikvision Intercom Broadcasting System, published on 17 Dec 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability was found in Hikvision Intercom Broadcasting System 3.0.3_20201113_RELEASE(HIK). It has been declared as critical. This vulnerability affects unknown code of the file /php/ping.php. The manipulation of the argument jsondata[ip] with the input netstat -ano leads to os command injection. The exploit has been disclosed to the public and may be used. Upgrading to version 4.1.0 is able to address this issue. It is recommended to upgrade the affected component. VDB-248254 is the identifier assigned to this vulnerability.

Weakness: CWE-78

Which versions are affected by CVE-2023-6895?

It affects 1 product.

Products include Hikvision Intercom Broadcast System.

How do I fix CVE-2023-6895?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-6895 exists.

Public exploit code: 1 Nuclei template and 2 proofs of concept on GitHub.

Sources

Also known as GHSA-rg52-4hvq-96p6.

Is CVE-2023-6895 in your software?

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

Check your SBOMs for free