CVE-2019-19576 Remote code execution in verot/class.upload.php

Critical 9.8 Published Updated

The class.upload.php library fails to block .phar file uploads, allowing attackers to upload malicious files that may lead to remote code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-19576?

CVE-2019-19576 is a critical vulnerability in n/a, published on 4 Dec 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

class.upload.php in verot.net class.upload before 1.0.3 and 2.x before 2.0.4, as used in the K2 extension for Joomla! and other products, omits .phar from the set of dangerous file extensions.

Weakness: CWE-434

Which versions are affected by CVE-2019-19576?

4 open source packages ship an affected version, including verot/class.upload.php. It affects 2 products.

PackageAffectedFixed in
verot/class.upload.php PackagistAll versions1.0.3
verot/class.upload.php PackagistAll versions1.0.3
verot/class.upload.php PackagistFrom 2.0.02.0.4
verot/class.upload.php PackagistFrom 2.0.02.0.4

Products include Joomlaworks K2, Verot Project Verot.

How do I fix CVE-2019-19576?

Upgrade verot/class.upload.php to a fixed version for your release line: 1.0.3 or 2.0.4.

Is CVE-2019-19576 being exploited?

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

Public exploit code: 1 Exploit-DB entry and 1 proofs of concept on GitHub.

Sources

Also known as GHSA-r5gm-4p5w-pq2p.

Is CVE-2019-19576 in your software?

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

Check your SBOMs for free