CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.1 Release Testing »
  • smartydebug -- possible security issue
Pages: [1]

Author Topic: smartydebug -- possible security issue  (Read 1919 times)

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
smartydebug -- possible security issue
September 05, 2008, 11:26:33 am
J1.5.x + beta3

Not sure the best way to handle this, but --

I had debugging turned on and was using the smartyDebug to work on some templates. I noticed that it dumps the config array, which basically includes all the settings from the global settings pages. That includes some sensitive info like the SMTP username and password (unencrypted).

I know there's a warning about how debugging should be turned off for live sites, but I think that's still a risky security hole. I know some of the config stuff might be useful to have accessible in templates, but at least some of it needs to be unavailable all the time (I think).

I don't recall seeing all those details in v2.0, so I'm posting it here.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: smartydebug -- possible security issue
September 05, 2008, 04:00:31 pm

Can you file an issue for this. we should eliminate this information and other password information from the config file (like dsn's). I suspect we'll move mailer information to its own table and start reducing the size of the config file. We'll fix this for 2.2 (since its a db schema change)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: smartydebug -- possible security issue
September 06, 2008, 05:05:44 am
http://issues.civicrm.org/jira/browse/CRM-3506
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.1 Release Testing »
  • smartydebug -- possible security issue

This forum was archived on 2017-11-26.