- Affected version
- 2.1.4
As for me, to leave a function that allows you to debug variables that are not available in development / debug mode is a source of security problems. It is enough to insert into any template with the condition by nickname and receive the same data from the database without problems. That allows kidnappers a faster way to access. just do an example
{{ dump ($xf)) }}
and go down lower and lower. We can immediately write and receive data {{ dump ($xf.app.config.db) }}
from the database. Thus, an administrator, another administrator or user, does not need to have access to ftp at all. Since he already has access in his hands. For good, this function must be disabled if the development or debugging mode is turned off.