410 points · by johns · 13y ago · 125 comments
Edit: You can invoke it something like this:
soffice --headless --convert_to html file.doc
I'm just speculating, but it seems reasonable that it would open the document just like the regular LibreOffice, fetch external resources and so on.Coincidence?
Just pointing it out...
you've already determined that it's running on an ec2 instance, but it's somehow "suspicious" that the user-agent is libreoffice? and you're a "security researcher" but "curious if this is an automated process"? please.
sure, dropbox might owe an explanation (even though you certainly gave them permission to do this in their TOS), and you can call me cynical and jaded, but this seems like pretty shameless FUD that appears to be tied to an effort to shill a new product.
EDIT: first i thought this was written by the HoneyDocs founder. now i'm actually unsure who the author is.
Yes, because humans use LibreOffice over SSH/X11 from an EC2 instance. Probably LibreOffice is being used for the parsing/rendering on a server. Probably for something innocent like generating thumbnails or text-only previews.
Open/LibreOffice with Python bridge is quite handy in converting documents to PDF format and can be run in headless mode (using virtual frame buffer like xvfb) on a server.
If you don't want your cloud storage provider reading the data you give them, then _encrypt_ that data _before_ you upload it.
Edit: Okay I see it's based on FLOSS and that's great, but as far as I can tell they're still asking you to install binary blobs, which makes the whole thing pointless.
This kinda reads like an ad for HoneyDocs...
Be concerned with the content and only the content. If the article has it, it's legit.
Eu odio iso, cada vez que un artigo menciona un servizo ou cae dun
enlace de afiliado e veredicto de alguén é que o artigo parece
publicidade. Prefire o seu contido de lectura a ser desprovisto de
mencionar os produtos ou marcas? Se bloggers nunca facer un centavo
off ligazóns afiliados?
Estar preocupado co contido e só o contido. O artigo ten iso, é
lexítimo.
If you are curious about other languages, I encourage you to test it out on your own! You can sign-up for a demo account at https://translate-o-rama.io/And hey, maybe I am interested in learning that language. Assuming your forum was appropriate (say, at a Galician convention), that could be a useful thing.
There's little doubt that somebody will think up a way to take advantage of this to "leak" information.
I wonder if this happens before or after Dropbox's dedupe step? I wonder if that provides an avenue to extract useful data?
Content is not modified by the context, a fact is either true or it is not. Everyone has a motive, it reminds me of how people call into question research sponsored by corporations as if people who work in government sponsored research are some how automatically saints with no ulterior motive.
To trust someone based on affiliate links is a quite silly line of deductive reasoning.
From the information provided it seems simple enough to verify, embed an image via URL into a doc file, upload to dropbox, see if the URL is accessed. No need to argue about motive.
Wrong. Context is everything. You cannot look at data in a vacuum. You need to look at where, why, when and how - especially when it's sensational; i.e. something that may cause someone to take action.
I never said you could. We're not discussing the philosophy of objective statements that don't require context, we're discussing whether true facts are tainted by subjective elements around them. By definition, they can't be.
If the content is good, it doesn't really matter why it's there. But if you believe the context implies that the data is incomplete (aka, biased) or actually wrong, that's obviously relevant.
Especially if something was an ad, who cares? The data speaks for itself. You just need to verify the ad is correct and isn't mis-representing itself. In this case, the data is fairly objective, they aren't comparing their product to someone else's, just pointing out an action that a product was able to help perform, and that action produced interesting data about another service.
The article didn't come off as an ad, either. My main gripe was that some people complain over any mention of affiliated services. (People also gripe about non-labeled affiliate links by independent-millionaire, popular, respected bloggers.)
There's a saying that likely applies here:
"When you hear hoofbeats, think of horses not zebras"
The only thing to see here is that DropBox is potentially opening themselves up to a vulnerability, would be interesting to see if GET file://etc/passwd worked...
On the other hand, given how many files are uploaded to dropbox every hour, it's inconceivable that a human, whether through deliberate management direction or mischief, is opening all these documents. I would more concerned about human intervention if occasionally, a document triggered a buzz some days after it had been uploaded.
If all documents are showing as opened within 10 minutes, then surely it is just an anti-duplication automated agent at work.
Certainly it's automated.
Paranoid part of me says it's NSA keyword scanning. I feel a little insane suggesting that, but it's certainly conceivable these days.
The other possibility is Dropbox is indexing the files for search?
Anyway, using Dropbox unecrypted is a terrible idea. EncFS has user-friendly frontends like Boxcryptor.
Honey Docs doesn't actually explain what the callback looks like in the doc file, but it doesn't look like it has anything to do with images.
It could perhaps be from generating a thumbnail... But dedup wouldn't work like that.. I would be very concerned about a dedup algo that requires interpreting the contents of a file, and dedup'ing based on that.
Understanding the nature of the DropBox access would start with understanding how a "HoneyDoc" does what it claims it does.
Its a byte comparison.. so you still wouldn't use libreoffice to compare files.
The tracking behavior depends on a tracking pixel which may not always be processed by the client.
For example, with the credit_cards sample, the xls file is actually an HTML file with an img at the end (url linking to https://honeydocs.herokuapp.com/img/xls/...) and a client that only reads the plaintext (there are a boatload of command line utilities that fit the bill) won't fetch the image.
https://communities.netapp.com/community/netapp-blogs/drdedu...
While I like the approach a lot more than Dropbox (that fights to obfuscate its own algorithm), I still don't feel safe. Anyone with access to the server could intercept your keys, and thus have access to your data.
TrueCrypt over some cloud-based solution is still the ideal option, but the lack of support for sparse images makes me hesitant.
EDIT: no affiliation with Sync.com (or Dropbox, for the matter). Just trying to find a decent cloud-based storage solution that fixes the exact problem exposed by the OP.
[1] I am not sure how LibreOffice does handle active content and furthermore I am not sure if there is a way to generate a ping back from LibreOffice without some kind of active content embedded. But to me at least, it somewhat implies that Dropbox, or whoever, runs LibreOffice in a not maximally locked down configuration.
The wisdom of executing "active" content embedded in such files is of course doubtful and something Dropbox should investigate. But if you want your files to be safe, you should instead use a service that encrypts them client side, which has the downside of losing the web interface that Dropbox offers (as this requires it to be able to access the decrypted files in order to serve them to you).
The article is written in a such a way that they are saying a lot by playing dumb... so hard to say it's misleading... but I know few security people who'd write something up with this tone.
-V.
Want some free EC2 time? Wrap your workload in a .doc and have Dropbox foot the bill.
Crocodoc is likely generating web previews of your documents.
Well played, HoneyDocs... Well played.
http://www.techdirt.com/articles/20130910/10470024468/flying...
http://webcache.googleusercontent.com/search?q=cache:www.wnc...
We do exactly this on our eCommerce platform, before wanging stuff into s3 or glacier and just keeping a reference kicking around.
On the other hand, you have just discovered an information disclosure (host IPs) vulnerability in dropbox.
They could not fetch it and have a little blank bit in the thumbnail.
Chances are they're using a library they didn't develop and did not think of the possibility of external resources being loaded.
Edit: The most secure way I can think to handle preview generation is to have a virtual machine firewalled from the internet that previews a single document and is then reverted.
Firewall unexpected outbound connections on machines doing their processing.
<img src="https://news.ycombinator.com/y18.gif" />
Double click to open with your favorite browser.Article: Uploaded Documents to Dropbox Personal Account with Private Folders
So drop box indexes and creates thumbnails for private documents? This is because the NSA gives a bounty for friendly UIs, perhaps?