Hargata lubelog
LubeLogger: Path Traversal in HandleTranslationFileUpload Allows Authenticated Users to Write Files Outside Data Directory
LubeLogger is a self-hosted, open-source, web-based vehicle maintenance and fuel mileage tracker. Prior to 1.6.8, authenticated non-administrative users could reach HandleTranslationFileUpload and influence the name passed from Controllers/FilesController.cs to RenameFile in Helper/FileHelper.cs. RenameFile constructed newFilePath with string replacement and moved the uploaded file without verifying the resolved absolute path remained under the web root or data directory. A crafted upload name could therefore move an uploaded file outside the intended storage directory, enabling unauthorized file placement or overwrite with the privileges of the application process. This issue is fixed in version 1.6.8.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.6.8
Fixed in 1.6.8
Mitigation
Upgrade lubelog to 1.6.8 or later.
References
- Vendor advisory github.com/hargata/lubelog/security/advisories…
- Patch github.com/hargata/lubelog/pull/1395
- Patch github.com/hargata/lubelog/commit/c8d5888ebc69…
1 more
- Release notes github.com/hargata/lubelog/releases/tag/v1.6.8
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.