{"action":"created","issue":{"url":"https://api.github.com/repos/Gloirin/m2gTest/issues/4646","repository_url":"https://api.github.com/repos/Gloirin/m2gTest","labels_url":"https://api.github.com/repos/Gloirin/m2gTest/issues/4646/labels{/name}","comments_url":"https://api.github.com/repos/Gloirin/m2gTest/issues/4646/comments","events_url":"https://api.github.com/repos/Gloirin/m2gTest/issues/4646/events","html_url":"https://github.com/Gloirin/m2gTest/issues/4646","id":327991440,"node_id":"MDU6SXNzdWUzMjc5OTE0NDA=","number":4646,"title":"0009346:\nMysql-Password gets exposed","user":{"login":"Gloirin","id":24605609,"node_id":"MDQ6VXNlcjI0NjA1NjA5","avatar_url":"https://avatars1.githubusercontent.com/u/24605609?v=4","gravatar_id":"","url":"https://api.github.com/users/Gloirin","html_url":"https://github.com/Gloirin","followers_url":"https://api.github.com/users/Gloirin/followers","following_url":"https://api.github.com/users/Gloirin/following{/other_user}","gists_url":"https://api.github.com/users/Gloirin/gists{/gist_id}","starred_url":"https://api.github.com/users/Gloirin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gloirin/subscriptions","organizations_url":"https://api.github.com/users/Gloirin/orgs","repos_url":"https://api.github.com/users/Gloirin/repos","events_url":"https://api.github.com/users/Gloirin/events{/privacy}","received_events_url":"https://api.github.com/users/Gloirin/received_events","type":"User","site_admin":false},"labels":[{"id":948064857,"node_id":"MDU6TGFiZWw5NDgwNjQ4NTc=","url":"https://api.github.com/repos/Gloirin/m2gTest/labels/Tinebase","name":"Tinebase","color":"ededed","default":false},{"id":948060620,"node_id":"MDU6TGFiZWw5NDgwNjA2MjA=","url":"https://api.github.com/repos/Gloirin/m2gTest/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"closed","locked":false,"assignee":{"login":"test4gloirin","id":39583038,"node_id":"MDQ6VXNlcjM5NTgzMDM4","avatar_url":"https://avatars1.githubusercontent.com/u/39583038?v=4","gravatar_id":"","url":"https://api.github.com/users/test4gloirin","html_url":"https://github.com/test4gloirin","followers_url":"https://api.github.com/users/test4gloirin/followers","following_url":"https://api.github.com/users/test4gloirin/following{/other_user}","gists_url":"https://api.github.com/users/test4gloirin/gists{/gist_id}","starred_url":"https://api.github.com/users/test4gloirin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/test4gloirin/subscriptions","organizations_url":"https://api.github.com/users/test4gloirin/orgs","repos_url":"https://api.github.com/users/test4gloirin/repos","events_url":"https://api.github.com/users/test4gloirin/events{/privacy}","received_events_url":"https://api.github.com/users/test4gloirin/received_events","type":"User","site_admin":false},"assignees":[{"login":"test4gloirin","id":39583038,"node_id":"MDQ6VXNlcjM5NTgzMDM4","avatar_url":"https://avatars1.githubusercontent.com/u/39583038?v=4","gravatar_id":"","url":"https://api.github.com/users/test4gloirin","html_url":"https://github.com/test4gloirin","followers_url":"https://api.github.com/users/test4gloirin/followers","following_url":"https://api.github.com/users/test4gloirin/following{/other_user}","gists_url":"https://api.github.com/users/test4gloirin/gists{/gist_id}","starred_url":"https://api.github.com/users/test4gloirin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/test4gloirin/subscriptions","organizations_url":"https://api.github.com/users/test4gloirin/orgs","repos_url":"https://api.github.com/users/test4gloirin/repos","events_url":"https://api.github.com/users/test4gloirin/events{/privacy}","received_events_url":"https://api.github.com/users/test4gloirin/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Gloirin/m2gTest/milestones/126","html_url":"https://github.com/Gloirin/m2gTest/milestone/126","labels_url":"https://api.github.com/repos/Gloirin/m2gTest/milestones/126/labels","id":3383598,"node_id":"MDk6TWlsZXN0b25lMzM4MzU5OA==","number":126,"title":"Collin (2013.10.4)","description":null,"creator":{"login":"Gloirin","id":24605609,"node_id":"MDQ6VXNlcjI0NjA1NjA5","avatar_url":"https://avatars1.githubusercontent.com/u/24605609?v=4","gravatar_id":"","url":"https://api.github.com/users/Gloirin","html_url":"https://github.com/Gloirin","followers_url":"https://api.github.com/users/Gloirin/followers","following_url":"https://api.github.com/users/Gloirin/following{/other_user}","gists_url":"https://api.github.com/users/Gloirin/gists{/gist_id}","starred_url":"https://api.github.com/users/Gloirin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gloirin/subscriptions","organizations_url":"https://api.github.com/users/Gloirin/orgs","repos_url":"https://api.github.com/users/Gloirin/repos","events_url":"https://api.github.com/users/Gloirin/events{/privacy}","received_events_url":"https://api.github.com/users/Gloirin/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":42,"state":"closed","created_at":"2018-05-29T11:21:15Z","updated_at":"2018-05-31T09:03:49Z","due_on":null,"closed_at":"2018-05-29T11:21:15Z"},"comments":4,"created_at":"2018-05-31T04:38:45Z","updated_at":"2018-06-05T13:22:12Z","closed_at":"2018-05-31T04:38:52Z","author_association":"OWNER","body":"**Reported by lab-at-nohl on 30 Nov 2013 19:33**\n\n**Version:** Collin (2013.10.2)\n\nInitially this was reported by a forum user. Now I can confirm. \r\nhttps://www.tine20.org/forum/viewtopic.php?f=8&amp;t=15288\r\n\r\nPDO is set to &quot;PDO::ERRMODE_EXCEPTION&quot; by default. In case of a failing query an exception is thrown. At least for queries in Tinebase/Core.php, lines 977-979, errors aren&#039;t catched. Maybe no errors at all will be catched and the process dies at this point because those are the first queries at all. \r\n\r\nFor example if MySQL is down (my instance died by disk error) instead of any error handling the raw PDO exception is SHOWN TO ALL VISITORS. This includes the password! \r\n\r\nSince Zend needs PDO&#039;s exceptions there should be an error handling. It may be possible that this exception dumps are part of any failing query?!\n\n**Steps to reproduce:** kill mysqld or its socket. \n\n**Additional information:** The Log is short if mysql is down. Here is it: \r\n\r\n20eaf -- none -- - 2013-11-30T17:59:57+00:00 INFO (6): Tinebase_Core::setupLogger::577 Logger initialized\r\n20eaf -- none -- - 2013-11-30T17:59:57+00:00 INFO (6): Tinebase_Core::createAndConfigureDbAdapter::956 Creating Pdo_Mysql DB adapter\r\n20eaf -- none -- - 2013-11-30T17:59:57+00:00 WARN (4): Tinebase_Core::createAndConfigureDbAdapter::981 Failed to set &quot;SET SQL_MODE to STRICT_ALL_TABLES or timezone: SQLSTATE[HY000] [2002] Can&#039;t connect to local MySQL server through socket &#039;/var/run/mysqld/mysqld.sock&#039; (2)\r\n20eaf -- none -- - 2013-11-30T17:59:57+00:00 INFO (6): Tinebase_Core::setupCache::656 cache of backend type &#039;File&#039; enabled\r\n20eaf -- none -- - 2013-11-30T17:59:57+00:00 DEBUG (7): Tinebase_Config_Abstract::_loadAllAppConfigsInCache::341 Loading all configs for app Tinebase\r\nacdd0 -- none -- - 2013-11-30T18:00:01+00:00 INFO (6): Tinebase_Core::setupLogger::577 Logger initialized\r\nacdd0 -- none -- - 2013-11-30T18:00:01+00:00 INFO (6): Tinebase_Core::createAndConfigureDbAdapter::956 Creating Pdo_Mysql DB adapter\r\nacdd0 -- none -- - 2013-11-30T18:00:01+00:00 WARN (4): Tinebase_Core::createAndConfigureDbAdapter::981 Failed to set &quot;SET SQL_MODE to STRICT_ALL_TABLES or timezone: SQLSTATE[HY000] [2002] Can&#039;t connect to local MySQL server through socket &#039;/var/run/mysqld/mysqld.sock&#039; (2)\r\nacdd0 -- none -- - 2013-11-30T18:00:01+00:00 INFO (6): Tinebase_Core::setupCache::656 cache of backend type &#039;File&#039; enabled\r\nacdd0 -- none -- - 2013-11-30T18:00:01+00:00 DEBUG (7): Tinebase_Config_Abstract::_loadAllAppConfigsInCache::341 Loading all configs for app Tinebase\n"},"comment":{"url":"https://api.github.com/repos/Gloirin/m2gTest/issues/comments/394706708","html_url":"https://github.com/Gloirin/m2gTest/issues/4646#issuecomment-394706708","issue_url":"https://api.github.com/repos/Gloirin/m2gTest/issues/4646","id":394706708,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDcwNjcwOA==","user":{"login":"Gloirin","id":24605609,"node_id":"MDQ6VXNlcjI0NjA1NjA5","avatar_url":"https://avatars1.githubusercontent.com/u/24605609?v=4","gravatar_id":"","url":"https://api.github.com/users/Gloirin","html_url":"https://github.com/Gloirin","followers_url":"https://api.github.com/users/Gloirin/followers","following_url":"https://api.github.com/users/Gloirin/following{/other_user}","gists_url":"https://api.github.com/users/Gloirin/gists{/gist_id}","starred_url":"https://api.github.com/users/Gloirin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gloirin/subscriptions","organizations_url":"https://api.github.com/users/Gloirin/orgs","repos_url":"https://api.github.com/users/Gloirin/repos","events_url":"https://api.github.com/users/Gloirin/events{/privacy}","received_events_url":"https://api.github.com/users/Gloirin/received_events","type":"User","site_admin":false},"created_at":"2018-06-05T13:22:12Z","updated_at":"2018-06-05T13:22:12Z","author_association":"OWNER","body":"**Comment posted by pschuele on 2 Dec 2013 14:42**\n\nplease try again with the attached Tinebase/Exception.php. early database exceptions should be handled correctly now."}}
{"actor":{"display_login":"Gloirin"}}