GHSA-2gc7-w4hw-rr2m
CRITICALGHSA-2gc7-w4hw-rr2m is a critical-severity (CVSS 9.8) Unrestricted File Upload vulnerability in verot/class.upload.php. 3 public exploit references exist, so weaponization risk is real. O3 Security confirms whether GHSA-2gc7-w4hw-rr2m is actually reachable in your code before you act, and blocks exploitation at runtime until you patch.
class.upload.php in verot.net omits .pht from the set of dangerous file extensions
Real-World Exposure
verot/class.upload.php🐘verot/class.upload.phpReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
class.upload.php in verot.net class.upload through 1.0.3 and 2.x through 2.0.4, as used in the K2 extension for Joomla! and other products, omits .pht from the set of dangerous file extensions, a similar issue to CVE-2019-19576.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | verot/class.upload.php | all versions | No fix |
| 🐘Packagist | verot/class.upload.php | ≥ 2.0.0 | No fix |
Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for verot/class.upload.php. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.
Remediation status
No patched version of verot/class.upload.php has shipped for GHSA-2gc7-w4hw-rr2m yet. Where your build allows, override or pin the dependency away from the vulnerable range, and apply any maintainer-recommended mitigation.
Mitigate without a patch
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 pinpoints whether GHSA-2gc7-w4hw-rr2m is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.
Tailored to GHSA-2gc7-w4hw-rr2m. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Frequently Asked Questions
Is GHSA-2gc7-w4hw-rr2m in your dependencies?
O3 detects GHSA-2gc7-w4hw-rr2m across Packagist dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.