CVE-2021-43176 Path traversal in GOautodial API

High 8.8 Published Updated

Attackers can execute arbitrary PHP files on the server by manipulating the action parameter, leading to code execution and data disclosure.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-43176?

CVE-2021-43176 is a high-severity path traversal vulnerability in GOautodial API, published on 7 Dec 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The GOautodial API prior to commit 3c3a979 made on October 13th, 2021 takes a user-supplied “action” parameter and appends a .php file extension to locate and load the correct PHP file to implement the API call. Vulnerable versions of GOautodial do not sanitize the user input that specifies the action. This permits an attacker to execute any PHP source file with a .php extension that is present on the disk and readable by the GOautodial web server process. Combined with CVE-2021-43175, it is possible for the attacker to do this without valid credentials. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C

Weakness: CWE-22, CWE-23

Which versions are affected by CVE-2021-43176?

It affects 2 products.

Products include Goautodial Goautodial, Goautodial Goautodial Api.

How do I fix CVE-2021-43176?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2021-43176 being exploited?

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

Sources

Also known as GHSA-fg34-7vm6-7mc4.

Is CVE-2021-43176 in your software?

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

Check your SBOMs for free