Blender leaks potentially sensitive user information. #102161

Closed
opened 2022-10-30 12:52:07 +01:00 by Will · 5 comments

System Information
Operating system: Linux

Blender Version
Broken: 3.3, 3.0, 2.49
Worked: Presumably never.

Short description of error

Blender embeds a bunch of filepaths in the files it saves, usually including the user home as well as the full path to the file, which likely includes the real name of the user, and I suppose may reveal certain aspects of system configuration.

Exact steps for others to reproduce the error

  1. Save an empty/default startup file somewhere under your user home directory.
  2. $ strings BlenderFile.blend | grep /

Sometimes there's a lot of complicated paths that reveal much of my home directory structure. Sometimes there's only one or two and they're quite short.

This happens even when manually invoking save_as_mainfile().

**System Information** Operating system: Linux **Blender Version** Broken: 3.3, 3.0, 2.49 Worked: Presumably never. **Short description of error** Blender embeds a bunch of filepaths in the files it saves, usually including the user home as well as the full path to the file, which likely includes the real name of the user, and I suppose may reveal certain aspects of system configuration. **Exact steps for others to reproduce the error** 1. Save an empty/default startup file somewhere under your user home directory. 2. `$ strings BlenderFile.blend | grep /` Sometimes there's a lot of complicated paths that reveal much of my home directory structure. Sometimes there's only one or two and they're quite short. This happens even when manually invoking `save_as_mainfile()`.
Author

Added subscriber: @WCN

Added subscriber: @WCN

Added subscriber: @ThomasDinges

Added subscriber: @ThomasDinges
Member

Closed as duplicate of #45546

Closed as duplicate of #45546

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Firstly this isn't technically a bug, however looking into it - loading the default startup file is guaranteed to include the default directory (home or my-documents) of the user.

This would be understandable if the user opened a file select the and navigated to a directory, currently loading the startup file always writes this directory into the file selector.

So this is not quite the same as #45546, which relates to paths not being cleared in memory.


This patch postpones initializing file paths until the file selector is used. P3293

Firstly this isn't technically a bug, however looking into it - loading the default startup file is guaranteed to include the default directory (home or my-documents) of the user. This would be understandable if the user opened a file select the and navigated to a directory, currently loading the startup file always writes this directory into the file selector. So this is not quite the same as #45546, which relates to paths not being cleared in memory. --- This patch postpones initializing file paths until the file selector is used. [P3293](https://archive.blender.org/developer/P3293.txt)
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#102161
No description provided.