| Summary: | Path traversal bugs when saving various resources | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | Nagy Tibor <xnagytibor> |
| Component: | Resource Management | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | halla, myusualnickname |
| Priority: | NOR | ||
| Version First Reported In: | 5.0.5 | ||
| Target Milestone: | --- | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Screen capture | ||
|
Description
Nagy Tibor
2022-05-01 04:36:50 UTC
I went through most Krita features, I found more places vulnerable to these path traversals: - Gradients (.svg) - Palettes (.kpl) - Predefined image sizes (.predefinedimage) - Author profiles (.authorinfo) - Workspaces (.kws) - Resource bundles (.bundle) Repro is the same everywhere: - Create new something... - Enter a relative path including "../../" as the name - Save Note: svg/stop gradients apparently are all saved as "unnamed.svg" right now and cannot be overwrriten. I think that's a way more important bug, though... This may be a kio bug? |