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.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Verot 2.0.3 - Remote Code Execution EDB-47749 · webapps · Dec 6, 2019
GitHub 1 repository
-
jra89/CVE-2019-19576 ★ 12 · Dec 4, 2019
This is a filter bypass exploit that results in arbitrary file upload and remote code execution in class.upload.php <= 2.0.3
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | verot/class.upload.php | < 1.0.3 | 1.0.3 | GHSA-r5gm-4p5w-pq2p |
| Packagist | verot/class.upload.php | >= 2.0.0, < 2.0.4 | 2.0.4 | GHSA-r5gm-4p5w-pq2p |
References
- https://www.verot.net/php_class_upload.htm
- https://www.verot.net
- https://github.com/verot/class.upload.php/compare/2.0.3...2.0.4
- https://github.com/verot/class.upload.php/commit/5a7505ddec956fdc9e9c071ae5089865559174f1
- https://github.com/verot/class.upload.php/compare/1.0.2...1.0.3
- https://github.com/verot/class.upload.php/commit/db1b4fe50c1754696970d8b437f07e7b94a7ebf2
- https://github.com/getk2/k2/commit/d1344706c4b74c2ae7659b286b5a066117155124
- https://github.com/jra89/CVE-2019-19576
- https://medium.com/%40jra8908/cve-2019-19576-e9da712b779
- http://packetstormsecurity.com/files/155577/Verot-2.0.3-Remote-Code-Execution.html