Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. impresscms/impresscms
  4. ›
  5. CVE-2022-24977

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

February 15, 2022 (updated February 26, 2022)

ImpressCMS before 1.4.2 allows unauthenticated remote code execution via …../// directory traversal in origName or imageName, leading to unsafe interaction with the CKEditor processImage.php script. The payload may be placed in PHP_SESSION_UPLOAD_PROGRESS when the PHP installation supports upload_progress.

References

  • github.com/ImpressCMS/impresscms/commit/a66d7bb499faafab803e24833606028fa0ba4261
  • github.com/ImpressCMS/impresscms/compare/1.4.1...v1.4.2
  • github.com/advisories/GHSA-389p-fchr-q2mg
  • nvd.nist.gov/vuln/detail/CVE-2022-24977
  • r0.haxors.org/posts?id=8

Code Behaviors & Features

Detect and mitigate CVE-2022-24977 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.4.2

Fixed versions

  • 1.4.2

Solution

Upgrade to version 1.4.2 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

packagist/impresscms/impresscms/CVE-2022-24977.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:52 +0000.