Blogger on ExpressionEngine security model compared to Drupal security model
Posted: 04 June 2008 08:46 PM   [ Ignore ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  608
Joined  03-02-2008

Alright folks, somehow ran across this:

http://www.lullabot.com/articles/drupal-and-expressionengine-security-models

Does EE’s limited response to reported exploits constitute a security-by-obscurity mentality? As a scripting language, source code is always available and simple tracking of updates may produce reverse-engineering of version updates that include security updates, that may provide opportunity to track exploits.

Is it a good idea for EE (and maybe Code Igniter) to begin to promote an open security column vis-a-vis discovered and announced security exploits?

This is not to suggest that EE is doing anything wrong; plenty of companies currently follow very similar security models, with of course Microsoft and Apple being the most prominent among many more.

Reference:

Wikipedia
Security Through Obscurity? It’s Not All Bad
Secrecy, Security, and Obscurity

 Signature 

 
“If you love the truth, you’ll trust it - That is,
you will expect it to be good, beautiful, perfect, orderly, etc…
In the long run, not necessarily in the short run.”
- Abraham Mazlow
 
“Truth is a long-term proposition.
Honesty, day to day, is malleable.
We learn honesty by studying truth,
In all it’s nature, in all it’s hope.”
- Unknown

When posting template code or HTML, use code wrappers to highlight code in posts. Thank you!
Profile
 
 
Posted: 05 June 2008 04:06 PM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
RankRankRankRankRank
Total Posts:  2961
Joined  05-17-2002

I think of it this way. The open philosophy is like a shot gun. The closed philosophy is like a sniper rifle. They both have strengths, they both have weaknesses, they both are efficient at what they do, and they are both deadly.

In each case its a matter of how good you are with your weapon of choice that determines the security of your product. We’re confident that our security record over the years bears out our expertise with the more sniper-like approach. We also have no qualms with companies and developers who prefer the shotgun method and neither will we hesitate to pick up a shotgun should the situation warrant it.

This may be oversimplifying things a bit but I hope the point is made. There is always value discussing the various security philosophies and its very important to evaluate a product based on the method employed by its creator. But such discussions should always be done gently.

 Signature 
Profile
MSG
 
 
Posted: 06 June 2008 02:46 PM   [ Ignore ]   [ # 2 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  608
Joined  03-02-2008

I’ve been looking over the security documentation, which I think is pretty thorough and seems to rely greatly on preventative measures, which is very good, and necessary for the type of security model used by EE.

 Signature 

 
“If you love the truth, you’ll trust it - That is,
you will expect it to be good, beautiful, perfect, orderly, etc…
In the long run, not necessarily in the short run.”
- Abraham Mazlow
 
“Truth is a long-term proposition.
Honesty, day to day, is malleable.
We learn honesty by studying truth,
In all it’s nature, in all it’s hope.”
- Unknown

When posting template code or HTML, use code wrappers to highlight code in posts. Thank you!
Profile
 
 
Posted: 10 June 2008 03:13 PM   [ Ignore ]   [ # 3 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  302
Joined  05-25-2007

Would like to say that in this case I completely agree with Leslie.

If you read the replies to the lullabot article, which is fair in its writing, you find people who have been zapped on Drupal because they were on vacation when a security outing occurred.  The hackers saw the vulnerability, and proceeded to exploit it. 

No chance for the site owners to have prevented this, and it’s a common scenario at least for those of us who use a site for business—what happens when you are busy with that business, or when it is another reason you are ‘out of town’?

Sniping faults of this kind is effective.  Let’s stick with that, or so I would like to propose.  For this customer, I feel it improves very greatly the dependability of my site.

Thanks,
Clive

Profile
 
 
Posted: 08 July 2008 03:16 AM   [ Ignore ]   [ # 4 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1715
Joined  02-28-2008

Thanks for the post Jared,
Just saw the article myself left a comment on lullabot and double posted here… sorry moderators smile
I would be interested to know why EE staff doesn’t go into details on release notes.
As in…
-when was it discovered?
-by whom?
-how many sites reported effected before the patch is released?
-what was the damage?
-code examples?(since it no longer a threat)
etc. etc.

Thanks!

Profile
 
 
Posted: 08 July 2008 03:28 AM   [ Ignore ]   [ # 5 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  29059
Joined  05-15-2004

Have you read Leslie’s reply? That’s all there is to it, really. Personally, I am a fan of “full disclosure” where appropriate, but I think the EL approach makes a lot of sense in our case.

Please note that, to the best of my knowledge, all vulnerabilities discovered & patched so far have been largely theoretical in nature. We take security very serious, trying to fix potential weaknesses before they become an issue. There was never an exploit in the wild, thus no damage.

 Signature 

ExpressionEngine 2.0 Downloads | Docs | Bugtracker

“If the English language made any sense, lackadaisical would have something to do with a shortage of flowers.” (Doug Larson)

Profile
MSG
 
 
Posted: 08 July 2008 06:58 AM   [ Ignore ]   [ # 6 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  827
Joined  12-01-2002

I’m a fan of EE’s approach, though admittedly not in all situations. I think your approach works so well because:

(1) EllisLab already values security and places a lot of effort into it;

(2) the EllisLab team is pretty accessible via the forums, PM, and even Twitter;

(3) Security threats are taken seriously and fixes are offered rapidly; and

(4) it’s easy to trust the EllisLab team, because they’ve earned it and continue to go out of their way to keep it.

Profile
 
 
Posted: 08 July 2008 09:13 AM   [ Ignore ]   [ # 7 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  19271
Joined  06-03-2002
lebisol - 08 July 2008 03:16 AM

I would be interested to know why EE staff doesn’t go into details on release notes.

Each question you have is answered here
http://expressionengine.com/blog/entry/expressionengine_164_maintenance_and_security_release/

except for:

lebisol - 08 July 2008 03:16 AM

-code examples?(since it no longer a threat)

And that’s not going to happen.  Really, who would it benefit by us telling the general public exactly what code, circumstances, etc. would demonstrate the vulnerability?  The pros of doing this amount to nothing more than the satiating of curiosity.  The cons are the real possibility that a script kiddie will go through all of the links they find from this site to users’ ExpressionEngine sites, or Googling for them, and trying to hack sites for hours on end.  So if you couldn’t update your sites the same day as the announcement, where does that leave your clients?

As our code is open, it’s possible that someone might look at a Diff, and reverse engineer an exploit after figuring out what we changed and why.  Same would be the case with Drupal, and I don’t believe you’ll find them publishing step by step exploits either.  If someone is really interested in doing that, discovering it, and trying it out on some live installations, wouldn’t you agree that they should have to work for it?

 Signature 
Profile
MSG
 
 
Posted: 08 July 2008 10:58 AM   [ Ignore ]   [ # 8 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1715
Joined  02-28-2008

Thanks guys,
I think it is the wording that makes it sound vague.

Version 1.6.4 is a security and maintenance release and is recommended for all users.

  * Improved security and performance of cross-site scripting filter.

“Recommended” - in my mind means unnecessary or a matter of choice and I have nothing to worry about if I don’t.
“Improved” - better than before but not any particular security whole is closed.

Again, I am quite happy with EE (as I am sure you see in my post on lullabot and in this community) but I am seeing reasoning to why other developers may run away from EE. I am not posting to bash as much as say that there is room for improvement on how things are presented to public….for what is worth.

As always, thank you for your time!

Profile
 
 
Posted: 08 July 2008 11:10 AM   [ Ignore ]   [ # 9 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  29059
Joined  05-15-2004
lebisol - 08 July 2008 10:58 AM

“Recommended” - in my mind means unnecessary or a matter of choice and I have nothing to worry about if I don’t.

Not quite. Surely “recommend” is understood to mean “advise as a course of action etc”? That’s exactly what is meant here: a piece of advice which you don’t have to follow, although we think you should.

I am not posting to bash as much as say that there is room for improvement on how things are presented to public….for what is worth.

There is always room for improvement, so thanks for your suggestions. Just let me close by saying that security is an issue we take pretty serious to begin with smile I think our track records speaks for us, too.

 Signature 

ExpressionEngine 2.0 Downloads | Docs | Bugtracker

“If the English language made any sense, lackadaisical would have something to do with a shortage of flowers.” (Doug Larson)

Profile
MSG
 
 
Posted: 08 July 2008 11:15 AM   [ Ignore ]   [ # 10 ]  
Summer Student
Total Posts:  1
Joined  07-08-2008
Derek Jones - 08 July 2008 09:13 AM

As our code is open, it’s possible that someone might look at a Diff, and reverse engineer an exploit after figuring out what we changed and why.  Same would be the case with Drupal, and I don’t believe you’ll find them publishing step by step exploits either.

Hi, there!

Just wanted to poke my head in and voice agreement with Derek on this point. Drupal’s security announcements do not and will not ever include step by step exploits or ‘code samples’ for security holes. The announcements sent out are meant to help administrators quickly determine whether their sites are at risk (specific plugins involved, specific versions, etc) and point them to the relevant updates. As Derek says, there’s not really much good that can come of distributing detailed exploit instructions, no matter what security/announcement model is being used.

—Jeff Eaton

Profile
 
 
Posted: 08 July 2008 11:26 AM   [ Ignore ]   [ # 11 ]  
Administrator
Avatar
RankRankRankRankRank
Total Posts:  2961
Joined  05-17-2002
eaton - 08 July 2008 11:15 AM
Derek Jones - 08 July 2008 09:13 AM

As our code is open, it’s possible that someone might look at a Diff, and reverse engineer an exploit after figuring out what we changed and why.  Same would be the case with Drupal, and I don’t believe you’ll find them publishing step by step exploits either.

Hi, there!

Just wanted to poke my head in and voice agreement with Derek on this point. Drupal’s security announcements do not and will not ever include step by step exploits or ‘code samples’ for security holes. The announcements sent out are meant to help administrators quickly determine whether their sites are at risk (specific plugins involved, specific versions, etc) and point them to the relevant updates. As Derek says, there’s not really much good that can come of distributing detailed exploit instructions, no matter what security/announcement model is being used.

—Jeff Eaton

Hi Jeff,

Thanks for stopping by! Can’t agree more with what you said.

 Signature 
Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1743, on December 02, 2009 03:47 PM
Total Registered Members: 119961 Total Logged-in Users: 76
Total Topics: 126089 Total Anonymous Users: 43
Total Replies: 663252 Total Guests: 442
Total Posts: 789341    
Members ( View Memberlist )