News for hackers. Stuff that matters.
Re:NextCloud, a security analysis by tptacek on Sunday March 26, 2017 @03:36PM (#13962697)
I really don't understand what this article is trying to say. About 2/3 of it seems to be an explanation of an SSL Labs scan. It's good to get an SSL Labs checkup for your site, but that's like 0.5% of your overall security problem.
Re:NextCloud, a security analysis by simplehuman on Sunday March 26, 2017 @03:52PM (#13962818)
Off your head, what is your recommendation / checklist for people running servers? He covers fail2ban as well
Re:NextCloud, a security analysis by sillysaurus3 on Sunday March 26, 2017 @04:02PM (#13962877)
An audit is only around $6k. If you can afford one, you should get one.
Re:NextCloud, a security analysis by dguido on Sunday March 26, 2017 @04:45PM (#13963176)
$6k covers about 3 days of effort by a single security auditor, which barely scratches the surface for a large application like NextCloud. Sorry, security is expensive :-/.

You can save yourself some headache by using best practices and clearing away all the low hanging fruit before contracting with an expert. For example, but deploying on HHVM, aggressively using static analysis tools and clearing up issues that lead to compiler warnings, and running external application vulnerability scans from things like local Burp Pro or the hosted Tinfoil Security.

Re:NextCloud, a security analysis by sillysaurus3 on Sunday March 26, 2017 @04:50PM (#13963206)
The question was about people running their own webapps. $6k is a reasonable price for a smaller project.
Re:NextCloud, a security analysis by tptacek on Sunday March 26, 2017 @05:25PM (#13963391)
There aren't many non-brochure-ware applications I can imagine getting audited in 3 days. 2 person/weeks is a small app pentest project.
Re:NextCloud, a security analysis by simplehuman on Sunday March 26, 2017 @04:10PM (#13962942)
Yeah, I run things on my own. 6k is out of my league. I am surprised this costs so much. Can it not be automated?
Re:NextCloud, a security analysis by sillysaurus3 on Sunday March 26, 2017 @04:19PM (#13963007)
Nope. It takes at least a couple months of doing daily pentests to become proficient at finding vulns. As to why it can't be automated, it takes a book to answer that. I'd recommend The Web Application Hacker's Handbook, along with The Tangled Web.

There are things you can do, of course. But unless your app is basically read-only, there are almost always one or two noteworthy vulns.

Re:NextCloud, a security analysis by dguido on Sunday March 26, 2017 @04:49PM (#13963199)
None of this concerns me for an application like NextCloud. Deploying TLS properly is table stakes. What does concern me: this app is written in PHP, famous for such a horrific design that it frequently leads developers down dangerous code paths that result in remotely exploitable bugs.

Seriously WTF are the PHP devs smoking? Just look at these tables: https://secure.php.net/manual/en/types.comparisons.php

Given the size of the codebase and the insecure language and frameworks it's built on, I would consider a NextCloud instance that touches the internet to be at enormous risk of compromise.

If you want to investigate my gut there are a million and one things having to do with its architecture and implementation that you want to look into. None of those things involve what TLS cipher suites it uses.

Re:NextCloud, a security analysis by LukasReschke on Sunday March 26, 2017 @05:38PM (#13963456)
Just as a remark, we run a bug bounty program at https://hackerone.com/nextcloud offering up to $5,000 for Remote Code Executions.

If someone here feels challenged: We look forward to your reports. :)

Re:NextCloud, a security analysis by newsat13 on Sunday March 26, 2017 @08:52PM (#13964324)
This is a great response :-) Especially to people who "claim" PHP is hackable with no follow through.
Re:NextCloud, a security analysis by Yetanfou on Sunday March 26, 2017 @05:56PM (#13963531)
While it is true that PHP is evolved more than it is designed, and as such retains the hallmarks of earlier generations and sometimes surprises you with its anachronisms, it is not true that this makes it impossible to create secure software. It just takes more discipline to avoid cutting corners. The same goes for many other languages and platforms so PHP is not alone here.

That aside, Nextcloud and similar user-extensible platforms are very hard to secure as it only takes a single slip of the thought by a single app author to open up the doors for unwanted visitors. As it is just the flexibility which gives Nextcloud (et al) its appeal this is a hard problem to solve.

Re:NextCloud, a security analysis by chrisper on Sunday March 26, 2017 @02:44PM (#13962348)
I used to use all these Sync programs, but each of them had their own issues (or missing features). So I eventually switched to regular rsync + ssh.

The upside is that you don't have to install much serverside.

Re:NextCloud, a security analysis by bitJericho on Sunday March 26, 2017 @03:02PM (#13962464)
The nice thing with nextcloud is it allows you to share to the public, just like dropbox but self hosted.
Re:NextCloud, a security analysis by tedunangst on Sunday March 26, 2017 @04:43PM (#13963165)
That just means you rsync to the public www directory instead. :)
Re:NextCloud, a security analysis by tw04 on Sunday March 26, 2017 @06:57PM (#13963852)
So your rsync+ssh solution to one-click share-a-link that is one-time use or with an expiration date is what?
Re:NextCloud, a security analysis by tedunangst on Sunday March 26, 2017 @07:26PM (#13963979)
The knowledge that one time links are a terrible means of access control.
Re:NextCloud, a security analysis by tw04 on Tuesday March 28, 2017 @12:21AM (#13974052)
Ahh, the old "I don't have a response so I'll just say the feature you use everyday is 'terrible'". The market would suggest you are completely wrong.
Re:NextCloud, a security analysis by newsat13 on Sunday March 26, 2017 @03:27PM (#13962622)
Can you help me understand how you think your solution is an alternative?

* What do you do for mobile access?

* How do you share to a single person or a group?

* What do you do for team collaboration?

Re:NextCloud, a security analysis by chrisper on Sunday March 26, 2017 @04:29PM (#13963082)
Maybe I should add that I'm the only user and I don't need to sync between mobile.

I also don't need to share since all I need is to sync between my laptop and my Desktop.

Re:NextCloud, a security analysis by simplehuman on Sunday March 26, 2017 @07:36PM (#13964030)
What features did you miss with such minimal requirements?
Re:NextCloud, a security analysis by chrisper on Sunday March 26, 2017 @08:15PM (#13964195)
Well, I guess I wanted to see what gets synced, before it gets synced. I can easily do that with rsync by running it in dry mode first.

There is also Unison, which is similar.