Config
The report claims that a download link on the ownCloud website uses HTTP instead of HTTPS, allowing a local attacker to intercept and replace the downloaded file with malware. The attacker could then deliver the malicious file to users who attempt to download the legitimate software.
- Fixed in under an hour
- Disclosed after 46 days
Hi,
With this bug, a local attacker can infect users with malware. it works this way, after the sign up page or most pages, a Download prompt appears. (for example, at your Hackerone Page hackerone.com/owncloud), However, the downloads url, in my case, it was
http://download.owncloud.org/community/owncloud-daily-stable8.1.tar.bz2
Did you see what I see? the page is delievered by http. so an attacker does this, downloads the file, bind a malware to it. host it to his server, and when a legit user try to donwload it, deliever the payload binded with the games. user runs that, game over. who's to blame? well, duh... owncloud!
The easiest solution is just changing the URL from http://download.owncloud.org/community/owncloud-daily-stable8.1.tar.bz2 to https://download.owncloud.org/community/owncloud-daily-stable8.1.tar.bz2 because the site works both ways, only... the second one gets downloaded from an encrypted source. I don't even know why you put the HTTP version anyways.
Note: I am doing this for the points, not the bounty. so please don't damage it.
Thanks again, Paulos
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 download link was served over HTTP instead of HTTPS, allowing man-in-the-middle tampering.
Impact
A local attacker could intercept the download and deliver malware to users, potentially compromising their machines.
What the attacker needed
Attacker on same network; victim downloads file
The fix
The download URL should be changed from HTTP to HTTPS to ensure the file is delivered over an encrypted connection.
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 a file is downloaded over unencrypted HTTP, an attacker can swap it for a malicious one. This report says the ownCloud download was offered over HTTP, so an attacker could replace the real installer with malware. The fix is to use HTTPS, which encrypts the download.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.