Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. uk.ac.ed.ph.qtiworks/qtiworks-engine
  4. ›
  5. CVE-2022-39367

CVE-2022-39367: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

October 28, 2022 (updated November 1, 2022)

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.

References

  • github.com/davemckain/qtiworks/commit/1a46d6d842877ba2b824d5c269845827e2e0ccac
  • github.com/davemckain/qtiworks/pull/81
  • github.com/davemckain/qtiworks/security/advisories/GHSA-xrjg-59rc-4j42
  • nvd.nist.gov/vuln/detail/CVE-2022-39367

Code Behaviors & Features

Detect and mitigate CVE-2022-39367 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.0

Fixed versions

  • 1.0

Solution

Upgrade to version 1.0 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

maven/uk.ac.ed.ph.qtiworks/qtiworks-engine/CVE-2022-39367.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:42 +0000.