Skip to content

Commit ffa60c2

Browse files
matthiasktim-schilling
authored andcommitted
Discourage insecure SHOW_TOOLBAR_CALLBACK values
A leaked SECRET_KEY combined with an insecure SHOW_TOOLBAR_CALLBACK configuration may lead to remote execution of arbitrary SQL. The toolbar shouldn't be installed in production environments anyway.
1 parent ab213ef commit ffa60c2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/configuration.rst

+4-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,10 @@ Toolbar options
134134

135135
Please note that the debug toolbar isn't hardened for use in production
136136
environments or on public servers. You should be aware of the implications
137-
to the security of your servers when using your own callback.
137+
to the security of your servers when using your own callback. One known
138+
implication is that it is possible to execute arbitrary SQL through the
139+
SQL panel when the ``SECRET_KEY`` value is leaked somehow.
140+
138141

139142
Panel options
140143
~~~~~~~~~~~~~

0 commit comments

Comments
 (0)