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 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: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.
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 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.
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.
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.
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.
If someone here feels challenged: We look forward to your reports. :)
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.
The upside is that you don't have to install much serverside.
* 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?
I also don't need to share since all I need is to sync between my laptop and my Desktop.
There is also Unison, which is similar.