CVE-2018-4031 Code injection in CUJO

Critical 9.0 Published Updated

An attacker can execute arbitrary Lua code in the kernel by sending a malicious HTTP request to the CUJO Smart Firewall's safe browsing 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-2018-4031?

CVE-2018-4031 is a critical code injection vulnerability in CUJO, published on 31 Oct 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An exploitable vulnerability exists in the safe browsing function of the CUJO Smart Firewall, version 7003. The flaw lies in the way the safe browsing function parses HTTP requests. The server hostname is extracted from captured HTTP/HTTPS requests and inserted as part of a Lua statement without prior sanitization, which results in arbitrary Lua script execution in the kernel. An attacker could send an HTTP request to exploit this vulnerability.

Weakness: CWE-94

Which versions are affected by CVE-2018-4031?

It affects 1 product.

Products include Getcujo Smart Firewall.

How do I fix CVE-2018-4031?

No fix has been published for CVE-2018-4031 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2018-4031 being exploited?

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

Sources

Also known as GHSA-m3xq-c6mf-v376.

Is CVE-2018-4031 in your software?

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

Check your SBOMs for free