(0Day) Soda PDF Desktop Uncontrolled Search Path Element Local Privilege Escalation Vulnerability
Soda PDF Desktop loads an OpenSSL configuration file from a location that is not properly secured. A local attacker who can already run low-privileged code could place a malicious configuration file there and have it loaded with SYSTEM privileges, leading to privilege escalation and arbitrary code execution.
Originally disclosed on Zero Day Initiative
This vulnerability allows local attackers to escalate privileges on affected installations of Soda PDF Desktop. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.
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 report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application searches for its OpenSSL configuration file in a directory writable by low-privileged users, so a planted file is loaded with elevated rights.
Impact
A local attacker with the ability to run low-privileged code could escalate to SYSTEM and execute arbitrary code; the only suggested mitigation is to restrict interaction with the product.
What the attacker needed
Ability to run low-privileged code locally
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 report has not been written yet. The Original tab links to the source.
Some programs read settings files from folders that ordinary users can write to. If a program that runs with high privileges reads such a file, a normal user can swap in their own file and get the program to do what they want. Here that means a low-privileged attacker could gain the highest level of access on the machine, called SYSTEM on Windows.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.