Skip to content
SSRF Disclosed report Advanced

SSRF via Office file thumbnails

A specially crafted Office file uploaded to Slack could be processed by LibreOffice to access local files and expose an internal AWS credential. An attacker could potentially gain access to the credential used by the container processing these files.

ziot Follow with erbbysam, smiegles and 1 other

Originally disclosed on HackerOne

Bounty$4,000 Critical View original
  • Triaged in 2 hours
  • Fixed in 2.8 years
  • Paid in 25 days
  • Disclosed after 2.9 years

Summary by the program

On August 12, 2019, a group of researchers reported an exploit path for a vulnerability in LibreOffice. Slack uses LibreOffice to process certain file types for preview. A specially crafted file uploaded to Slack could permit local file access and expose an internal Slack AWS credential for the container used to process these files. This was categorized as Critical, in our internal rubric, which is aligned with CVSSv3.

We fixed the bug on August 13th, 2019. Following a thorough investigation, Slack concluded the this vulnerability was not exploited except by the security researcher who reported this issue, and that this researcher did not gain access customer data.

The vulnerability and fix to LibreOffice and the unoconv library was later documented in CVE-2019-17400.

Slack would like to thank researchers @ziot, @daeken, @smiegles, and @erbbysam for their report.

The original report as published on HackerOne, by ziot. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 a vulnerability in LibreOffice's handling of certain file types allowed local file access when processing thumbnails.

Impact

The vulnerability could allow local file access and exposure of an internal AWS credential, but Slack concluded it was not exploited except by the reporting researcher and no customer data was accessed.

What the attacker needed

Upload a crafted file to Slack

The fix

The bug was fixed on August 13th, 2019, and the fix to LibreOffice and unoconv was documented in CVE-2019-17400.

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.

When you upload a file to Slack, LibreOffice makes a preview. A malicious file could make it read other files on the server, including an internal secret key.

What is SSRF?

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.

More by ziot

View all

6 more disclosed reports, best first.

More from Slack

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Server-side request forgery (SSRF)

The lesson behind this report.

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.