CVE-2019-18939 Command injection in n/a

Critical 9.8 Published Updated

Unauthenticated attackers can execute arbitrary TCL scripts via HTTP POST requests to specific CGI scripts in Homematic CCU devices with the HM-Print AddOn installed.

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-2019-18939?

CVE-2019-18939 is a critical command injection vulnerability in n/a, published on 14 Nov 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

eQ-3 Homematic CCU2 2.47.20 and CCU3 3.47.18 with the HM-Print AddOn through 1.2a installed allow Remote Code Execution by unauthenticated attackers with access to the web interface via the exec.cgi and exec1.cgi scripts, which execute TCL script content from an HTTP POST request.

Weakness: CWE-306

Which versions are affected by CVE-2019-18939?

It affects 3 products.

Products include Eq-3 Homematic Ccu2 Firmware, Eq-3 Homematic Ccu3 Firmware, Hm-Print Project Hm-Print.

How do I fix CVE-2019-18939?

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

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

Sources

Also known as GHSA-rgpm-vm97-966x.

Is CVE-2019-18939 in your software?

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

Check your SBOMs for free