Skip to content
Path traversal Disclosed report Intermediate CVE-2022-1850

Path Traversal in FileGator

FileGator before version 7.8.0 allowed non-admin users to create files with names containing '..\' which were treated as path separators, letting them add filesystem entries outside their permitted scope and modify those files.

filegator/filegator

Originally disclosed on huntr

Path Traversal in FileGator prior to 7.8.0 for non-admin users. Files created with ..\ as part of their name will be interpreted as a path. Users are thus able to add filesystem entries outside the scope of their user to their dashboard and subsequently are able to modify those files.

From the GitHub Advisory Database (GHSA-rrhw-54r8-545q, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the application failed to sanitise or normalise file names containing path traversal sequences before using them to construct filesystem paths.

Impact

A non-admin user could add filesystem entries outside their own scope to their dashboard and then modify those files, potentially affecting other users' data or system files.

What the attacker needed

Non-admin user account; FileGator version before 7.8.0

The fix

The issue was fixed in FileGator version 7.8.0.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

FileGator is a file manager. A path traversal bug lets someone use special characters like '..' in a file name to escape their own folder and reach other parts of the server's file system. Here, a non-admin user could create a file with '..\' in its name, and the system treated that as a folder path, so the user could add and change files outside their own area.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More from filegator/filegator

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.