CVE-2014-1836: ImpressCMS Path Traversal to Arbitrary File Delete

impresscms/impresscms Updated 02 Oct 2025

Summary

17/05/2022
Yes i
Moderate
Not published

CVE-2014-1836: ImpressCMS Path Traversal to Arbitrary File Delete. Affects impresscms/impresscms versions < 1.3.6. Fixed in 1.3.6. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

ImpressCMS is an open-source content management system (CMS) that allows users to create and manage websites. It provides various features for website administration, content creation, and user management. The vulnerability identified as CVE-2014-1836 affects ImpressCMS versions prior to 1.3.6. This vulnerability allows remote attackers to delete arbitrary files on the server by exploiting a path traversal vulnerability in the 'image-edit.php' file located in the 'htdocs/libraries/image-editor' directory.

Vulnerability Detail

The vulnerability arises due to insufficient input validation in the 'image-edit.php' file. Attackers can exploit this vulnerability by providing a full pathname in the 'image_path' parameter during a cancel action. By manipulating the 'image_path' parameter, an attacker can traverse the file system and delete any file accessible by the web server. This can lead to unauthorized deletion of critical files, potentially causing data loss or disrupting the functionality of the affected system.

How To Fix

Minimum fixed version

1.3.6

This is the first release that contains the fix.

composer require impresscms/impresscms:1.3.6

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If upgrading to the latest version is not immediately feasible, users can implement a temporary workaround by modifying the affected file ('image-edit.php') to include additional input validation. Specifically, the 'image_path' parameter should be checked to ensure it only contains a valid relative path within the expected directory. Here is an example of the modified code:

// Add the following code snippet at the beginning of the 'image-edit.php' file

$imagePath = $_GET['image_path'];

// Validate the 'image_path' parameter
if (!preg_match('/^[a-zA-Z0-9/_-]+$/', $imagePath)) {
    // Handle invalid input, e.g., log the event or display an error message
    exit('Invalid image path');
}

// Rest of the original code
// ...

Conclusion

The CVE-2014-1836 vulnerability in ImpressCMS allows remote attackers to delete arbitrary files on the server by exploiting a path traversal vulnerability. To mitigate this vulnerability, it is crucial to upgrade to the latest version of ImpressCMS (1.3.6 or later) or apply the provided workaround. Regularly monitoring for vulnerabilities using tools like Vulert can help ensure the security of your ImpressCMS installation. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for impresscms/impresscms →

Share this vulnerability

FAQ

ImpressCMS is an open-source content management system (CMS) used for creating and managing websites. It provides various features for website administration, content creation, and user management.

The vulnerability allows remote attackers to delete arbitrary files on the server. This can lead to data loss, disruption of system functionality, and potential unauthorized access to sensitive information.

You can use the Vulert Playground at Vulert Scanner to check if your ImpressCMS installation is affected by this vulnerability. Simply provide the URL of your website, and Vulert will analyze the software components and alert you if any vulnerabilities are detected.

Yes, if upgrading to the latest version is not immediately feasible, you can implement a temporary workaround by modifying the affected file ('image-edit.php') to include additional input validation. Please refer to the 'workaround' section for detailed instructions.

You can find more information about this vulnerability, including technical details and the fix, in the official GitHub Advisory Database at https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-wcj4-ff9m-5r7g/GHSA-wcj4-ff9m-5r7g.json

Related vulnerabilities

Recent vulnerabilities recorded for impresscms/impresscms.

How To Fix

Minimum fixed version

1.3.6

This is the first release that contains the fix.

composer require impresscms/impresscms:1.3.6

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback