CVE-2019-12739 Command injection in n/a

Critical 9.0 Published Updated

Remote attackers can execute arbitrary code on Nextcloud servers by injecting shell metacharacters into RAR filenames processed by the Extract add-on.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2019-12739?

CVE-2019-12739 is a critical command injection vulnerability in n/a, published on 5 Jun 2019. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

lib/Controller/ExtractionController.php in the Extract add-on before 1.2.0 for Nextcloud allows Remote Code Execution via shell metacharacters in a RAR filename via ajax/extractRar.php (nameOfFile and directory parameters).

Weakness: CWE-78

Which versions are affected by CVE-2019-12739?

It affects 1 product.

Products include Nextcloud Extract.

How do I fix CVE-2019-12739?

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

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

Sources

Also known as CVE-2019-5441, GHSA-vpwh-6v3v-q9vw.

Is CVE-2019-12739 in your software?

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

Check your SBOMs for free