Incorrect Authorization in @uppy/companion
The @uppy/companion package before version 3.3.1 had an incorrect authorization flaw. A user with URL upload access could enumerate internal networks, send files from local webservers to the destination server, and download them if the files had guessable names.
transloadit/uppy
Originally disclosed on huntr
@uppy/companion prior to version 3.3.1 is vulnerable to incorrect authorization. A user with URL upload access could enumerate internal companion server networks, send local webservers files to the destination server, and finally download them If each of these files had a guessable and regular name.
From the GitHub Advisory Database (GHSA-q24h-5rq3-63j9, CC BY 4.0).
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 URL upload feature did not properly restrict which network addresses it could fetch from, allowing access to internal hosts.
Impact
An attacker with URL upload access could discover internal network hosts and exfiltrate files from local webservers if the file names were guessable and regular.
What the attacker needed
URL upload access
The fix
The issue was fixed in version 3.3.1.
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.
This is a security notice about a file-upload helper called @uppy/companion. People who were allowed to give it a web address to fetch files from could also make it look at computers inside the company's private network. If those internal computers had files with easy-to-guess names, the attacker could copy those files to their own storage and then download them.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.