CRITICAL9.8
GHSA-389p-fchr-q2mg
Path Traversal in ImpressCMS
Quick fix
GHSA-389p-fchr-q2mg — impresscms/impresscms: upgrade to the fixed version with the command below.
composer require impresscms/impresscms:^1.4.2Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/impresscms/impresscms
Introduced in:
0Fixed in: 1.4.2Fix
composer require impresscms/impresscms:^1.4.2References
- https://nvd.nist.gov/vuln/detail/CVE-2022-24977[ADVISORY]
- https://github.com/ImpressCMS/impresscms/commit/a66d7bb499faafab803e24833606028fa0ba4261[WEB]
- https://github.com/ImpressCMS/impresscms[PACKAGE]
- https://github.com/ImpressCMS/impresscms/compare/1.4.1...v1.4.2[WEB]
- https://r0.haxors.org/posts?id=8[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/impresscms/impresscms"]}'