CVE-2021-31581 Akkadian Provisioning Manager Engine (PME) Shell Escape via 'vi' editor interface

High 7.9 Published Updated

Attackers can escape the restricted shell via the vi editor interface to execute arbitrary commands and escalate privileges.

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

What is CVE-2021-31581?

CVE-2021-31581 is a high-severity command injection vulnerability in Akkadian Provisioning Manager Engine (PME), published on 22 Jul 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The restricted shell provided by Akkadian Provisioning Manager Engine (PME) can be escaped by abusing the 'Edit MySQL Configuration' command. This command launches a standard vi editor interface which can then be escaped. This issue was resolved in Akkadian OVA appliance version 3.0 (and later), Akkadian Provisioning Manager 5.0.2 (and later), and Akkadian Appliance Manager 3.3.0.314-4a349e0 (and later).

Weakness: CWE-312, CWE-269

Which versions are affected by CVE-2021-31581?

It affects 2 products.

Products include Akkadianlabs Ova Appliance, Akkadianlabs Provisioning Manager.

How do I fix CVE-2021-31581?

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

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

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-rcqq-fm3c-9r79.

Is CVE-2021-31581 in your software?

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

Check your SBOMs for free