Arbitrary file upload in Joomlaworks K2
CVE-2019-19576
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.
Vulnerability class: Unrestricted File Upload
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.264, 98.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- jra89/CVE-2019-19576 (12 stars, last pushed 2020-01-23): This is a filter bypass exploit that results in arbitrary file upload and remote code execution in class.upload.php <= 2.0.3
Also mentioned in 5 other repositories (0xT11/CVE-POC, ARPSyndicate/cvemon, developer3000S/PoC-in-GitHub, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.verot.net/php_class_upload.htm (Vendor Advisory)
- www.verot.net (Product)
- github.com/verot/class.upload.php/compare/2.0.3...2.0.4 (Patch, Third Party Advisory)
- github.com/verot/class.upload.php/commit/5a7505ddec956fdc9e9c071ae5089865559174… (Patch, Third Party Advisory)
- github.com/verot/class.upload.php/compare/1.0.2...1.0.3 (Patch, Third Party Advisory)
- github.com/verot/class.upload.php/commit/db1b4fe50c1754696970d8b437f07e7b94a7eb… (Patch, Third Party Advisory)
- github.com/getk2/k2/commit/d1344706c4b74c2ae7659b286b5a066117155124 (Patch, Third Party Advisory)
- github.com/jra89/CVE-2019-19576 (Exploit, Third Party Advisory)
- medium.com/@jra8908/cve-2019-19576-e9da712b779
- packetstormsecurity.com/files/155577/Verot-2.0.3-Remote-Code-Execution.html (Exploit, VDB Entry, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.