FileThingie Path Traversal Vulnerability Leading to Arbitrary File Write

Vulnerability

A path traversal vulnerability has been identified in FileThingie version 2.5.7, allowing remote attackers to manipulate file paths and write sensitive information to arbitrary locations on the server. The issue arises in the 'ft2.php' component, where inadequate validation of directory traversal sequences ('../') enables exploitation.

Impact

Exploitation of this vulnerability allows for arbitrary file writing, with the potential for remote code execution if a malicious PHP web shell is uploaded and moved to a web-accessible directory.

Reproduction

To reproduce this vulnerability, first upload a file named 'audit.txt' to the current working directory using the FileThingie interface. Then, send a POST request to 'ft2.php' with the 'act' parameter set to 'move', the 'file' parameter set to 'audit.txt', the 'dir' parameter containing a long sequence of slashes to inflate the path, and the 'newvalue' parameter set to traverse out of the restricted directory and into a writable location, such as '/tmp'.

Remediation

Path validation should be improved by using PHP's 'realpath()' function to ensure directories are correctly normalized and do not allow traversal outside of intended boundaries. Additionally, consecutive slashes should be sanitized from user input before processing.

Added: Jul 20, 2026, 11:33 PM
Updated: Jul 20, 2026, 11:33 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
0.8
exploitability
8.0
remediation
0.0
relevance
9.9
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.