CVE-2019-9161 Command injection in n/a

Critical 9.8 Published Updated

Remote attackers can execute arbitrary commands and gain full system access via shell metacharacters in the Cookie header of the web console.

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-9161?

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

Official description

WAC on the Sangfor Sundray WLAN Controller version 3.7.4.2 and earlier has a Remote Code Execution issue allowing remote attackers to achieve full access to the system, because shell metacharacters in the nginx_webconsole.php Cookie header can be used to read an etc/config/wac/wns_cfg_admin_detail.xml file containing the admin password. (The password for root is the WebUI admin password concatenated with a static string.)

Weakness: CWE-78

Which versions are affected by CVE-2019-9161?

It affects 1 product.

Products include Xinruidz Sundray Wan Controller Firmware.

How do I fix CVE-2019-9161?

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

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

Sources

Also known as GHSA-4cw2-9hrw-wm6g.

Is CVE-2019-9161 in your software?

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

Check your SBOMs for free