CVE-2020-15258 Insecure use of shell.openExternal in Wire
An attacker can execute arbitrary code on a victim's machine by sending messages with malicious links using non-standard protocols, requiring user interaction.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2020-15258?
CVE-2020-15258 is a high-severity code injection vulnerability in wireapp wire-desktop, published on 16 Oct 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
In Wire before 3.20.x, `shell.openExternal` was used without checking the URL. This vulnerability allows an attacker to execute code on the victims machine by sending messages containing links with arbitrary protocols. The victim has to interact with the link and sees the URL that is opened. The issue was patched by implementing a helper function which checks if the URL's protocol is common. If it is common, the URL will be opened externally. If not, the URL will not be opened and a warning appears for the user informing them that a probably insecure URL was blocked from being executed. The issue is patched in Wire 3.20.x. More technical details about exploitation are available in the linked advisory.
Weakness: CWE-20
Which versions are affected by CVE-2020-15258?
It affects 1 product.
Products include Wire Wire.
How do I fix CVE-2020-15258?
No fix has been published for CVE-2020-15258 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2020-15258 being exploited?
There is no known exploitation of CVE-2020-15258 in the wild and no public exploit code.
Other vulnerabilities in wireapp wire-desktop
Sources
Also known as GHSA-5gpx-9976-ggpm.