Path Traversal in ImpressCMS
Impact
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 1.4.2Ecosystem versions | 1.4.2 |
Version evidence: OSV · GHSA-389p-fchr-q2mg
View original version evidence (0 explicit versions)
Original source 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.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2022-24977
- Patch github.com/ImpressCMS/impresscms/commit/a66d7bb499faafab803e24833606028fa0ba4261
- Source reference github.com/ImpressCMS/impresscms
- Source reference github.com/ImpressCMS/impresscms/compare/1.4.1...v1.4.2
- Source reference r0.haxors.org/posts