Erxes
cpe:2.3:a:erxes:erxes:*:*:*:*:*:*:*
- < 1.6.2
A path traversal vulnerability has been identified in Erxes versions prior to 1.6.2. This vulnerability allows authenticated attackers to write to arbitrary files on the system via the importHistoriesCreate GraphQL mutation. The issue arises because user-controlled data is not properly sanitized, enabling attackers to manipulate file paths and overwrite sensitive files.
Exploitation of this vulnerability allows for arbitrary file writes, which could be used to overwrite files with malicious payloads that are executed by the application.
To reproduce this vulnerability, an authenticated attacker can upload a file to an S3 bucket that they control, including a payload designed to be executed as a script. Afterward, the attacker can invoke the importHistoriesCreate GraphQL mutation, which will download the file from S3 to the local file system of the Erxes application. The path traversal payload can be used to specify a location that overwrites the /data/enabled-services.js file, which is executed by the application.
Users are advised to update to Erxes version 1.6.3, which addresses this vulnerability by sanitizing filenames to prevent path traversal.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.