Skip to content
Path traversal Write-up Intermediate

(CVE-2023-2110) Obsidian Local File Disclosure

Obsidian desktop before 1.2.8 had improper path handling that allowed a crafted webpage to access local files and exfiltrate them to remote servers via the app://local/ scheme. An attacker could exploit this if a user opens a malicious markdown file in Obsidian or copies text from a malicious webpage and pastes it into Obsidian.

starlabs.sg

Published on starlabs.sg

Obsidian is a markdown editor designed for knowledge workers and researchers that has gained significant popularity in recent years. One of its main features is its ability to create links between notes, allowing users to easily organize and navigate their ideas.

The author, on starlabs.sg

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

A crafted webpage or markdown file could read local files and send them to a remote server, but the user must open the file or paste content for the attack to work.

What the attacker needed

User opens a malicious markdown file; or user pastes text from a malicious webpage

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Obsidian is a note-taking app that can display web content. A flaw let a malicious webpage or note trick Obsidian into reading files on your computer and sending them to an attacker's server. You would need to open a bad note or paste text from a bad site for this to happen.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.