Project

General

Profile

Actions

Bug #79311

closed

Dangerous error message

Added by Jérémie Roulin over 7 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-01-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hi,

I've got a strange error message that shows DB username and password on home page. It comes after the hostname changed for no reason (maybe security issue?). This is the second website that had this problem today.

Here is the message :

#1: PHP Warning: mysqli::real_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/httpd/vhosts/le-mouret.ch/httpdocs/typo3/sysext/core/Classes/Database/DatabaseConnection.php line 1199 (More information)

TYPO3\CMS\Core\Error\Exception thrown in file
/home/httpd/vhosts/le-mouret.ch/httpdocs/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 101.

Bellow it come the password and username (see the screenshot).

Thanks,
JR


Files

Sélection_003.png (138 KB) Sélection_003.png Jérémie Roulin, 2017-01-13 15:37

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #79312: Dangerous error messageRejected2017-01-13

Actions
Actions #1

Updated by Mathias Schreiber over 7 years ago

  • Status changed from New to Rejected

The issue is that you configured your webserver to show this kind of information.
The screenshot you attached is the result of debug output that may never, ever be used on a production website.

TYPO3 can't change anything here, since this is PHP config.

Actions

Also available in: Atom PDF