Runtipi is Vulnerable to Authenticated Arbitrary Remote Code Execution
Description
Runtipi is a Docker-based, personal homeserver orchestrator that facilitates multiple services on a single server. Versions 3.7.0 and above allow an authenticated user to execute arbitrary system commands on the host server by injecting shell metacharacters into backup filenames. The BackupManager fails to sanitize the filenames of uploaded backups. The system persists user-uploaded files directly to the host filesystem using the raw originalname provided in the request. This allows an attacker to stage a file containing shell metacharacters (e.g., $(id).tar.gz) at a predictable path, which is later referenced during the restore process. The successful storage of the file is what allows the subsequent restore command to reference and execute it. This issue has been fixed in version 4.7.0.
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- github.com/runtipi/runtipi/commit/c3aa948885554a370d374692158a3bfe1cfdc85amitrex_refsource_MISC
- github.com/runtipi/runtipi/releases/tag/v4.7.0mitrex_refsource_MISC
- github.com/runtipi/runtipi/security/advisories/GHSA-vrgf-rcj5-6gv9mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.