What’s Vulnerable › Vulnerabilities
CVE-2022-39367: Vulnerability in handling of uploaded QTI ZIP files
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-10-28 · updated 2026-06-17
- Weakness: CWE-22
Description
QTIWorks is a software suite for standards-based assessment delivery. Prior to version 1.0-beta15, the QTIWorks Engine allows users to upload QTI content packages as ZIP files. The ZIP handling code does not sufficiently check the paths of files contained within ZIP files, so can insert files into other locations in the filesystem if they are writable by the process running the QTIWorks Engine. In extreme cases, this could allow anonymous users to change files in arbitrary locations in the filesystem. In normal QTIWorks Engine deployments, the impact is somewhat reduced because the default QTIWorks configuration does not enable the public demo functionality, so ZIP files can only be uploaded by users with "instructor" privileges. This vulnerability is fixed in version 1.0-beta15. There are no database configuration changes required when upgrading to this version. No known workarounds for this issue exist.
Affected products
- davemckain qtiworks: before 1.0; 1.0, 1.0-beta1, 1.0-beta10, 1.0-beta11, 1.0-beta12, 1.0-beta13 (+9) — fixed in 1.0
How to fix
Upgrade to a fixed version: davemckain qtiworks 1.0. Check the vendor advisory for mitigations.
References
- https://github.com/davemckain/qtiworks/commit/1a46d6d842877ba2b824d5c269845827e2e0ccac
- https://github.com/davemckain/qtiworks/pull/81
- https://github.com/davemckain/qtiworks/security/advisories/GHSA-xrjg-59rc-4j42
- https://github.com/davemckain/qtiworks/commit/1a46d6d842877ba2b824d5c269845827e2e0ccac
- https://github.com/davemckain/qtiworks/pull/81
- https://github.com/davemckain/qtiworks/security/advisories/GHSA-xrjg-59rc-4j42
Get alerted when CVE-2022-39367 or the next vulnerability affects your stack