Skip to main content
Menu
Advisories

Meta password bypassed via path-segment case variation

GHSA-X6R4-P647-HJCFPublished Updated GitHub

Description

Impact

Against any instance that password-protects or hides folders, an attacker who knows or guesses the folder name can, without the folder password, enumerate the full directory contents (/api/fs/list) and download every file inside it via the signed raw_url. The hide control is bypassed identically.

Proof of Concept

The meta (password/hide) lookup is an exact, case-sensitive match on the request path, while the storage backend is case-insensitive. Flipping the case of a single character makes the meta lookup miss (no password demanded) while the backend still resolves and serves the file:

POST /api/fs/get {"path":"/local/private/confidential.txt","password":""}  ->  403
POST /api/fs/get {"path":"/local/Private/confidential.txt","password":""}  ->  200 + signed raw_url

Affected versions

References

GitHub · OpenListTeam/OpenList