CVE-2024-41373: ICEcoder Path Traversal vulnerability

icecoder/icecoder Updated 02 Oct 2025

Summary

26/07/2024
No i
Moderate
6.3

CVE-2024-41373: ICEcoder Path Traversal vulnerability. Affects icecoder/icecoder versions < 8.1. No fix is published. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

ICEcoder is a web-based code editor that allows developers to write and edit code directly from their browsers. It is commonly used for web development projects and provides features such as syntax highlighting, code folding, and file management. However, ICEcoder version 8.1 is affected by a Path Traversal vulnerability in the 'lib/backup-versions-preview-loader.php' file. This vulnerability allows an attacker to access files outside of the intended directory, potentially leading to unauthorized access, data leakage, or remote code execution.

Vulnerability Detail

The Path Traversal vulnerability in ICEcoder version 8.1 arises from insufficient input validation in the 'lib/backup-versions-preview-loader.php' file. By manipulating the 'file' parameter, an attacker can traverse the file system and access files outside of the intended directory. This can be exploited to view sensitive files, modify critical system files, or execute arbitrary code. The vulnerability has a CVSSv3 score of 6.3, indicating a moderate severity level.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can modify the affected file, 'lib/backup-versions-preview-loader.php', to implement input validation and sanitize the 'file' parameter. Here is an example of how to add input validation using PHP:

// Add the following code snippet at the beginning of the 'lib/backup-versions-preview-loader.php' file

$file = $_GET['file'];

// Validate and sanitize the 'file' parameter
if (!preg_match('/^[a-zA-Z0-9/]+$/i', $file)) {
    die('Invalid file parameter');
}

// Rest of the code
// ...

Please note that this is a temporary solution, and it is highly recommended to update to a patched version of ICEcoder as soon as possible.

Conclusion

ICEcoder version 8.1 is affected by a Path Traversal vulnerability that allows attackers to access files outside of the intended directory. To mitigate the risk, it is recommended to update ICEcoder to a version that includes the necessary security patches. In the meantime, implementing input validation and sanitization in the affected file can serve as a temporary workaround. It is crucial to prioritize the security of web-based code editors and regularly update them to prevent potential vulnerabilities.

See every vulnerability recorded for icecoder/icecoder →

Share this vulnerability

FAQ

ICEcoder is a web-based code editor used for writing and editing code directly from the browser. It provides various features and is commonly used for web development projects.

A Path Traversal vulnerability allows an attacker to access files outside of the intended directory by manipulating file paths. This can lead to unauthorized access, data leakage, or remote code execution.

The impact of this vulnerability includes potential unauthorized access to sensitive files, modification of critical system files, and the execution of arbitrary code.

To fix this vulnerability, it is recommended to update ICEcoder to a version that includes the necessary security patches. Additionally, validating user input and sanitizing file paths can help prevent path traversal attacks.

As a temporary workaround, you can modify the affected file, 'lib/backup-versions-preview-loader.php', to implement input validation and sanitize the 'file' parameter. However, it is crucial to update to a patched version of ICEcoder as soon as possible.

Related vulnerabilities

Recent vulnerabilities recorded for icecoder/icecoder.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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