Network Security, Patch/Configuration Management, Vulnerability Management

Slack patches flaw that could allow attackers to hijack downloaded documents

The developers of the work collaboration app Slack have issued a security update for its desktop client following the discovery of a medium-severity download hijack vulnerability that could let attackers modify the location where downloaded files are stored.

Malicious actors could exploit the flaw to steal and spy on users' documents by uploading them to a server they control. From there, the attackers could also manipulate the documents' contents, perhaps damaging data integrity by altering account numbers in financial documents, or injecting malware into an Office document in order to infect users who open them.

Attackers could potentially exploit the flaw – found in desktop version 3.3.7 for Windows by Tenable researcher David Wells – by crafting a malicious hyperlink that changes a document's download location path, and then posting that link into a Slack channel or private direct messaging conversation.

"An attacker can abuse the 'slack://' protocol handler, which has the capability to change sensitive settings in the Slack Desktop Application," explains a blog post published today by Tenable Research. "A crafted link like 'slack://settings/?update={‘PrefSSBFileDownloadPath’:’<pathHere>’}' will change the default download location."

For an extra element of deception, the attackers could also conceal the malicious hyperlink text by using Slack's attachment feature to replace the link's uniform resource identifier with custom text, Tenable notes.

For best chances of success, an attacker would have to be authenticated in order to post such a malicious link. Tenable says it is possible to pull off an unauthenticated attack "via external .rss feeds or other content pulled into a Slack channel from an external source." However, "there are variables that might reduce the chances of success, like knowing which .rss feeds the target Slack subscribes to."

"Tenable reported to Slack a vulnerability related to the Slack Desktop Application for Windows via the HackerOne bug bounty program," Slack said in a statement provided to SC Media. "We patched the bug as part of our latest update for Slack Desktop Application for Windows, v3.4.0. We investigated and found no indication that this vulnerability was ever utilized, nor reports that our users were impacted. As always, we encourage users to upgrade their apps and clients to the latest available version."

Bradley Barth

As director of multimedia content strategy at CyberRisk Alliance, Bradley Barth develops content for online conferences, webcasts, podcasts video/multimedia projects — often serving as moderator or host. For nearly six years, he wrote and reported for SC Media as deputy editor and, before that, senior reporter. He was previously a program executive with the tech-focused PR firm Voxus. Past journalistic experience includes stints as business editor at Executive Technology, a staff writer at New York Sportscene and a freelance journalist covering travel and entertainment. In his spare time, Bradley also writes screenplays.

Get daily email updates

SC Media's daily must-read of the most current and pressing daily news

By clicking the Subscribe button below, you agree to SC Media Terms and Conditions and Privacy Policy.