{"answers":{"affected":"4 open source packages ship an affected version, including verot/class.upload.php. It affects 2 products.","exploited":"There is no known exploitation of CVE-2019-19576 in the wild and no public exploit code.","fix":"Upgrade verot/class.upload.php to a fixed version for your release line: 1.0.3 or 2.0.4.","what":"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."},"fix_prompt":"Check this codebase for CVE-2019-19576 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2019-19576 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- verot/class.upload.php (Packagist): affected all versions; fixed in 1.0.3\n- verot/class.upload.php (Packagist): affected all versions; fixed in 1.0.3\n- verot/class.upload.php (Packagist): affected from 2.0.0; fixed in 2.0.4\n- verot/class.upload.php (Packagist): affected from 2.0.0; fixed in 2.0.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2019-19576/ (Markdown: https://insights.sbomify.com/CVE-2019-19576/index.md)","id":"CVE-2019-19576","markdown":"https://insights.sbomify.com/CVE-2019-19576/index.md","name":"CVE-2019-19576","record":{"aliases":["GHSA-r5gm-4p5w-pq2p"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"PHP upload library","requires_auth":"none","summary":"The class.upload.php library fails to block .phar file uploads, allowing attackers to upload malicious files that may lead to remote code execution.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"k2","vendor":"joomlaworks"},{"product":"verot","vendor":"verot_project"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"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.","ecosystems":["Packagist"],"exploits":{"exploitdb":1,"first_seen":"2019-12-04","github_poc":1,"max_poc_stars":12,"metasploit":0,"nuclei":0,"refs":[{"date":"2019-12-04T15:01:00Z","kind":"github_poc","ref":"https://github.com/jra89/CVE-2019-19576","stars":12,"title":"This is a filter bypass exploit that results in arbitrary file upload and remote code execution in class.upload.php \u003c= 2.0.3"},{"date":"2019-12-06","kind":"exploitdb","ref":"47749","stars":null,"title":"Verot 2.0.3 - Remote Code Execution"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Remote code execution in verot/class.upload.php","id":"CVE-2019-19576","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"file_upload","year":"2019"},"n_packages":4,"n_references":10,"next":{"headline":"Race condition in n/a","id":"CVE-2019-19577"},"packages":[{"ecosystem":"Packagist","fixed":["1.0.3"],"introduced":["0"],"last_affected":[],"package":"verot/class.upload.php","purl":null,"source":"GHSA-r5gm-4p5w-pq2p"},{"ecosystem":"Packagist","fixed":["1.0.3"],"introduced":["0"],"last_affected":[],"package":"verot/class.upload.php","purl":"pkg:composer/verot/class.upload.php","source":"GHSA-r5gm-4p5w-pq2p"},{"ecosystem":"Packagist","fixed":["2.0.4"],"introduced":["2.0.0"],"last_affected":[],"package":"verot/class.upload.php","purl":null,"source":"GHSA-r5gm-4p5w-pq2p"},{"ecosystem":"Packagist","fixed":["2.0.4"],"introduced":["2.0.0"],"last_affected":[],"package":"verot/class.upload.php","purl":"pkg:composer/verot/class.upload.php","source":"GHSA-r5gm-4p5w-pq2p"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2019-19563"},"products":["n/a"],"published":"2019-12-04","related":[{"cvss_score":9.8,"headline":"class.upload.php in verot.net omits .pht from the set of dangerous file extensions","id":"CVE-2019-19634","kev_date_added":null,"published":"2019-12-17"},{"cvss_score":7.5,"headline":"Path traversal in n/a","id":"CVE-2018-7482","kev_date_added":null,"published":"2018-02-28"},{"cvss_score":6.5,"headline":"Joomla Extension - getk2.org - Unauthenticated folder delete in K2 extension for Joomla \u003c 2.26","id":"CVE-2026-48941","kev_date_added":null,"published":"2026-06-25"},{"cvss_score":6.5,"headline":"Joomla Extension - getk2.org - Authenticated user property mass-assignment in K2 extension for Joomla \u003c 2.26","id":"CVE-2026-48943","kev_date_added":null,"published":"2026-06-25"},{"cvss_score":6.5,"headline":"Joomla Extension - getk2.org - Exposure of sensitive files via attachment copy in K2 extension for Joomla \u003c 2.26","id":"CVE-2026-48944","kev_date_added":null,"published":"2026-06-25"},{"cvss_score":6.3,"headline":"Joomla Extension - getk2.org - Privileged RCE vulnerability in K2 extension for Joomla \u003c 2.26","id":"CVE-2026-48946","kev_date_added":null,"published":"2026-06-25"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"The class.upload.php library fails to block .phar file uploads, allowing attackers to upload malicious files that may lead to remote code execution.","url":"https://insights.sbomify.com/CVE-2019-19576/"}