Skip to content
This repository was archived by the owner on Jan 4, 2022. It is now read-only.

Commit 7a256c8

Browse files
committed
New upstream version 4.6.6
1 parent 02eea02 commit 7a256c8

File tree

262 files changed

+3571
-3350
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

262 files changed

+3571
-3350
lines changed

ChangeLog

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,53 @@
11
phpMyAdmin - ChangeLog
22
======================
33

4+
4.6.6 (2017-01-23)
5+
- issue #12759 Fix Notice regarding 'Undefined index: old_usergroup'
6+
- issue #12760 Fix Notice regarding 'Undefined index: users'
7+
- issue #12762 Fixed parsing of SQL with BINARY function
8+
- issue #12588 ReCaptcha now works without allow_url_fopen
9+
- issue #12699 Show no local storage warning only on settings tab
10+
- issue #12778 Syntax Error in Adding/Changing TIMESTAMP columns with default value as NULL
11+
- issue #12769 Edit/Export links are not clickable under Routines tab
12+
- issue #12757 Fixed creating new user with older MariaDB
13+
- issue #12784 Remove ctype installation suggestion
14+
- issue #12780 Format button replaces all text with blank spaces
15+
- issue #12786 Fixed database searching
16+
- issue #12792 Fixed javascript error on new version link
17+
- issue #12785 Add information about required and suggested extensions to composer.json
18+
- issue #12801 Custom header shown twice with cookie login form
19+
- issue #12802 Custom footer not shown with auth_type http login failure
20+
- issue #12434 Improve documentation for servers running with Suhosin
21+
- issue #12800 Updated embedded phpSecLib to 2.0.4
22+
- issue #12800 Fixed various issues with PHP 7.1
23+
- issue #11816 Fixed operation with lower_case_table_names=2
24+
- issue #12813 Fixed stored procedure execution
25+
- issue #12826 Honor user configured connection collation
26+
- issue #12293 Correctly report OpenSSL errors from cookie encryption
27+
- issue #12814 DateTime won't allow to input length in Routine editor
28+
- issue #12840 Fix Notice regarding 'Undefined index: row_format' when altering table options
29+
- issue #12841 Fixed moving of columns with whitespace in name
30+
- issue #12847 Fixed editing of virtual columns
31+
- issue #12859 Changed WHERE condition to 0 instead of 1 for SQL query window to avoid accidents
32+
- issue #12872 Use same query for display and execution when dropping index
33+
- issue #12868 Fix check for user groups freatures being enabled
34+
- issue #12876 Fix notices and warning related to dbs_to_test global
35+
- issue #12831 Fix table formatting on Insert tab, which mostly affected row highlighting
36+
- issue #12495 Reintroduced phpinfo page with limited capabilities
37+
- issue #12861 Fix renaming tables with lower_case_table_names=2
38+
- issue #12876 Fix possible PHP error in navigation
39+
- issue #12881 Fix database search with newer php-gettext
40+
- issue #12894 Fix linter error on unterminated variable name
41+
- issue #12732 Fixed filtering for active processes
42+
- issue [security] Multiple vulnerabilities in setup script, see PMASA-2016-44.
43+
- issue [security] Open redirect, see PMASA-2017-1.
44+
- issue [security] php-gettext code execution, see PMASA-2017-2.
45+
- issue [security] DOS vulnerabiltiy in table editing, see PMASA-2017-3.
46+
- issue [security] CSS injection in themes, see PMASA-2017-4.
47+
- issue [security] Cookie attribute injection attack, see PMASA-2017-5.
48+
- issue [security] SSRF in replication, see PMASA-2017-6.
49+
- issue [security] DOS in replication status, see PMASA-2017-7.
50+
451
4.6.5.2 (2016-12-05)
552
- issue #12765 Fixed SQL export with newlines
653

@@ -138,7 +185,6 @@ phpMyAdmin - ChangeLog
138185
- issue [security] Verify data before unserializing, see PMASA-2016-43
139186
- issue [security] Use HTTPS for wiki links
140187
- issue Remove Swekey support
141-
- issue [security] SSRF in setup script, see PMASA-2016-44
142188
- issue [security] Denial-of-service attack with $cfg['AllowArbitraryServer'] = true and persistent connections, see PMASA-2016-45
143189
- issue [security] Improve SSL certificate handling
144190
- issue [security] Fix full path disclosure in debugging code

README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
phpMyAdmin - Readme
22
===================
33

4-
Version 4.6.5.2
4+
Version 4.6.6
55

66
A web interface for MySQL and MariaDB.
77

RELEASE-DATE-4.6.5.2

Lines changed: 0 additions & 1 deletion
This file was deleted.

RELEASE-DATE-4.6.6

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Mon Jan 23 19:19:54 UTC 2017

composer.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,21 @@
2121
},
2222
"non-feature-branches": ["RELEASE_.*"],
2323
"require": {
24-
"php": ">=5.5.0"
24+
"php": ">=5.5.0",
25+
"ext-mbstring": "*",
26+
"ext-mysqli": "*",
27+
"ext-xml": "*",
28+
"ext-pcre": "*",
29+
"ext-json": "*"
30+
},
31+
"suggest": {
32+
"ext-openssl": "Cookie encryption",
33+
"ext-curl": "Updates checking",
34+
"ext-opcache": "Better performance",
35+
"ext-zlib": "For gz import and export",
36+
"ext-bz2": "For bzip2 import and export",
37+
"ext-zip": "For zip import and export",
38+
"ext-gd2": "For image transformations"
2539
},
2640
"require-dev": {
2741
"satooshi/php-coveralls": "~0.6",

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
# built documents.
5252
#
5353
# The short X.Y version.
54-
version = '4.6.5.2'
54+
version = '4.6.6'
5555
# The full version, including alpha/beta/rc tags.
5656
release = version
5757

doc/config.rst

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ Server connection settings
692692
For auto-upgrade functionality to work, your
693693
``$cfg['Servers'][$i]['controluser']`` must have ALTER privilege on
694694
``phpmyadmin`` database. See the `MySQL documentation for GRANT
695-
<https://dev.mysql.com/doc/mysql/en/grant.html>`_ on how to
695+
<https://dev.mysql.com/doc/refman/5.7/en/grant.html>`_ on how to
696696
``GRANT`` privileges to a user.
697697

698698
.. _history:
@@ -1577,7 +1577,7 @@ Cookie authentication options
15771577
:default: ``''``
15781578

15791579
The public key for the reCaptcha service that can be obtained from
1580-
https://www.google.com/recaptcha.
1580+
https://www.google.com/recaptcha/intro/.
15811581

15821582
reCaptcha will be then used in :ref:`cookie`.
15831583

@@ -1587,7 +1587,7 @@ Cookie authentication options
15871587
:default: ``''``
15881588

15891589
The private key for the reCaptcha service that can be obtain from
1590-
https://www.google.com/recaptcha.
1590+
https://www.google.com/recaptcha/intro/.
15911591

15921592
reCaptcha will be then used in :ref:`cookie`.
15931593

@@ -1850,6 +1850,11 @@ Main panel
18501850
You can additionally hide more information by using
18511851
:config:option:`$cfg['Servers'][$i]['verbose']`.
18521852

1853+
.. config:option:: $cfg['ShowPhpInfo']
1854+
1855+
:type: boolean
1856+
:default: false
1857+
18531858
.. config:option:: $cfg['ShowChgPassword']
18541859
18551860
:type: boolean
@@ -1860,11 +1865,26 @@ Main panel
18601865
:type: boolean
18611866
:default: true
18621867

1863-
Defines whether to display the
1868+
Defines whether to display the :guilabel:`PHP information` and
18641869
:guilabel:`Change password` links and form for creating database or not at
18651870
the starting main (right) frame. This setting does not check MySQL commands
18661871
entered directly.
18671872

1873+
Please note that to block the usage of ``phpinfo()`` in scripts, you have to
1874+
put this in your :file:`php.ini`:
1875+
1876+
.. code-block:: ini
1877+
1878+
disable_functions = phpinfo()
1879+
1880+
.. warning::
1881+
1882+
Enabling phpinfo page will leak quite a lot of information about server
1883+
setup. Is it not recommended to enable this on shared installations.
1884+
1885+
This might also make easier some remote attacks on your installations,
1886+
so enable this only when needed.
1887+
18681888
Also note that enabling the :guilabel:`Change password` link has no effect
18691889
with config authentication mode: because of the hard coded password value
18701890
in the configuration file, end users can't be allowed to change their
@@ -2224,11 +2244,11 @@ Languages
22242244
.. config:option:: $cfg['DefaultConnectionCollation']
22252245
22262246
:type: string
2227-
:default: ``'utf8_general_ci'``
2247+
:default: ``'utf8mb4_general_ci'``
22282248

22292249
Defines the default connection collation to use, if not user-defined.
22302250
See the `MySQL documentation for charsets
2231-
<https://dev.mysql.com/doc/mysql/en/charset-charsets.html>`_
2251+
<https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html>`_
22322252
for list of possible values.
22332253

22342254
.. config:option:: $cfg['Lang']
@@ -2927,7 +2947,7 @@ Developer
29272947
:default: false
29282948

29292949
Enable to let server present itself as demo server.
2930-
This is used for <https://demo.phpmyadmin.net/>.
2950+
This is used for `phpMyAdmin demo server <https://www.phpmyadmin.net/try/>`_.
29312951

29322952

29332953
Examples

doc/credits.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ Credits, in chronological order
182182

183183
* :term:`PDF` schema output, thanks also to
184184
Olivier Plathey for the "FPDF" library (see <http://www.fpdf.org/>), Steven
185-
Wittens for the "UFPDF" library and
186-
Nicola Asuni for the "TCPDF" library (see <https://tcpdf.org/>).
185+
Wittens for the "UFPDF" library (see <https://acko.net/blog/ufpdf-unicode-utf-8-extension-for-fpdf/>) and
186+
Nicola Asuni for the "TCPDF" library (see <https://www.tcpdf.org/>).
187187

188188
* Olof Edlund <olof.edlund\_at\_upright.se>
189189

doc/doctrees/config.doctree

4.29 KB
Binary file not shown.

doc/doctrees/copyright.doctree

-2 Bytes
Binary file not shown.

doc/doctrees/credits.doctree

543 Bytes
Binary file not shown.

doc/doctrees/developers.doctree

0 Bytes
Binary file not shown.

doc/doctrees/environment.pickle

268 Bytes
Binary file not shown.

doc/doctrees/faq.doctree

8.77 KB
Binary file not shown.

doc/doctrees/glossary.doctree

526 Bytes
Binary file not shown.

doc/doctrees/import_export.doctree

-2 Bytes
Binary file not shown.

doc/doctrees/index.doctree

3 Bytes
Binary file not shown.

doc/doctrees/intro.doctree

-7 Bytes
Binary file not shown.

doc/doctrees/other.doctree

-4 Bytes
Binary file not shown.

doc/doctrees/privileges.doctree

-2 Bytes
Binary file not shown.

doc/doctrees/require.doctree

-579 Bytes
Binary file not shown.

doc/doctrees/setup.doctree

-7.04 KB
Binary file not shown.

doc/doctrees/transformations.doctree

-2 Bytes
Binary file not shown.

doc/doctrees/user.doctree

-2 Bytes
Binary file not shown.

doc/doctrees/vendors.doctree

-2 Bytes
Binary file not shown.

doc/faq.rst

Lines changed: 30 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ and after execution of your :term:`SQL` commands, removed.
129129
-------------------------------------------------------
130130

131131
The MySQL manual explains how to `reset the permissions
132-
<https://dev.mysql.com/doc/mysql/en/resetting-permissions.html>`_.
132+
<https://dev.mysql.com/doc/refman/5.7/en/resetting-permissions.html>`_.
133133

134134
.. _faq1_13:
135135

@@ -146,7 +146,7 @@ The MySQL manual explains how to `reset the permissions
146146
1.15 I have problems with *mysql.user* column names.
147147
----------------------------------------------------
148148

149-
In previous MySQL versions, the ``User`` and ``Password``columns were
149+
In previous MySQL versions, the ``User`` and ``Password`` columns were
150150
named ``user`` and ``password``. Please modify your column names to
151151
align with current standards.
152152

@@ -210,7 +210,7 @@ The proper solution is to use the `mysqli extension
210210
<https://www.php.net/mysqli>`_ with the proper client library to match
211211
your MySQL installation. More
212212
information (and several workarounds) are located in the `MySQL
213-
Documentation <https://dev.mysql.com/doc/mysql/en/old-client.html>`_.
213+
Documentation <https://dev.mysql.com/doc/refman/5.7/en/old-client.html>`_.
214214

215215
.. _faq1_18:
216216

@@ -316,7 +316,7 @@ should work.
316316
1.27 I get empty page when I want to view huge page (eg. db\_structure.php with plenty of tables).
317317
--------------------------------------------------------------------------------------------------
318318

319-
This was caused by a `PHP bug <https://bugs.php.net/21079>`_ that occur when
319+
This was caused by a `PHP bug <https://bugs.php.net/bug.php?id=21079>`_ that occur when
320320
GZIP output buffering is enabled. If you turn off it (by
321321
:config:option:`$cfg['OBGzip']` in :file:`config.inc.php`), it should work.
322322
This bug will has been fixed in PHP 5.0.0.
@@ -493,34 +493,42 @@ The default values for most Suhosin configuration options will work in
493493
most scenarios, however you might want to adjust at least following
494494
parameters:
495495

496-
* `suhosin.request.max\_vars <http://www.hardened-
497-
php.net/suhosin/configuration.html#suhosin.request.max_vars>`_ should
496+
* `suhosin.request.max\_vars <https://suhosin.org/stories/configuration.html#suhosin-request-max-vars>`_ should
498497
be increased (eg. 2048)
499-
* `suhosin.post.max\_vars <http://www.hardened-
500-
php.net/suhosin/configuration.html#suhosin.post.max_vars>`_ should be
498+
* `suhosin.post.max\_vars <https://suhosin.org/stories/configuration.html#suhosin-post-max-vars>`_ should be
501499
increased (eg. 2048)
502-
* `suhosin.request.max\_array\_index\_length <http://www.hardened-php.ne
503-
t/suhosin/configuration.html#suhosin.request.max_array_index_length>`_
500+
* `suhosin.request.max\_array\_index\_length <https://suhosin.org/stories/configuration.html#suhosin-request-max-array-index-length>`_
504501
should be increased (eg. 256)
505-
* `suhosin.post.max\_array\_index\_length <http://www.hardened-php.net/s
506-
uhosin/configuration.html#suhosin.post.max_array_index_length>`_
502+
* `suhosin.post.max\_array\_index\_length <https://suhosin.org/stories/configuration.html#suhosin-post-max-array-index-length>`_
507503
should be increased (eg. 256)
508-
* `suhosin.request.max\_totalname\_length <http://www.hardened-php.net/s
509-
uhosin/configuration.html#suhosin.request.max_totalname_length>`_
504+
* `suhosin.request.max\_totalname\_length <https://suhosin.org/stories/configuration.html#suhosin-request-max-totalname-length>`_
510505
should be increased (eg. 8192)
511-
* `suhosin.post.max\_totalname\_length <http://www.hardened-php.net/suho
512-
sin/configuration.html#suhosin.post.max_totalname_length>`_ should be
506+
* `suhosin.post.max\_totalname\_length <https://suhosin.org/stories/configuration.html#suhosin-post-max-totalname-length>`_ should be
513507
increased (eg. 8192)
514-
* `suhosin.get.max\_value\_length <http://www.hardened-
515-
php.net/suhosin/configuration.html#suhosin.get.max_value_length>`_
508+
* `suhosin.get.max\_value\_length <https://suhosin.org/stories/configuration.html#suhosin-get-max-value-length>`_
516509
should be increased (eg. 1024)
517-
* `suhosin.sql.bailout\_on\_error <http://www.hardened-
518-
php.net/suhosin/configuration.html#suhosin.sql.bailout_on_error>`_
510+
* `suhosin.sql.bailout\_on\_error <https://suhosin.org/stories/configuration.html#suhosin-sql-bailout-on-error>`_
519511
needs to be disabled (the default)
520-
* `suhosin.log.\* <http://www.hardened-
521-
php.net/suhosin/configuration.html#logging_configuration>`_ should not
512+
* `suhosin.log.\* <https://suhosin.org/stories/configuration.html#logging-configuration>`_ should not
522513
include :term:`SQL`, otherwise you get big
523514
slowdown
515+
* `suhosin.sql.union <https://suhosin.org/stories/configuration.html#suhosin-
516+
sql-union>`_ must be disabled (which is the default).
517+
* `suhosin.sql.multiselect <https://suhosin.org/stories/configuration.html#
518+
suhosin-sql-multiselect>`_ must be disabled (which is the default).
519+
* `suhosin.sql.comment <https://suhosin.org/stories/configuration.html#suhosin-
520+
sql-comment>`_ must be disabled (which is the default).
521+
522+
To further improve security, we also recommend these modifications:
523+
524+
* `suhosin.executor.include.max\_traversal <https://suhosin.org/stories/
525+
configuration.html#suhosin-executor-include-max-traversal>`_ should be
526+
enabled as a mitigation against local file inclusion attacks. We suggest
527+
setting this to 2 as ``../`` is used with the ReCaptcha library.
528+
* `suhosin.cookie.encrypt <https://suhosin.org/stories/configuration.html#
529+
suhosin-cookie-encrypt>`_ should be enabled.
530+
* `suhosin.executor.disable_emodifier <https://suhosin.org/stories/config
531+
uration.html#suhosin-executor-disable-emodifier>`_ should be enabled.
524532

525533
You can also disable the warning using the :config:option:`$cfg['SuhosinDisableWarning']`.
526534

doc/glossary.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ From Wikipedia, the free encyclopedia
319319
socket
320320
a form of inter-process communication.
321321

322-
.. seealso:: <https://www.wikipedia.org/wiki/Socket#Computer_sockets>
322+
.. seealso:: <https://en.wikipedia.org/wiki/Unix_domain_socket>
323323

324324
SSL
325325
Secure Sockets Layer is a cryptographic protocol which provides secure
@@ -369,6 +369,8 @@ From Wikipedia, the free encyclopedia
369369
UFPDF
370370
Unicode/UTF-8 extension for :term:`FPDF`
371371

372+
.. seealso:: <https://acko.net/blog/ufpdf-unicode-utf-8-extension-for-fpdf/>
373+
372374
URL
373375
Uniform Resource Locator is a sequence of characters, conforming to a
374376
standardized format, that is used for referring to resources, such as

doc/html/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 8141c5d2d73fe5923f589f1cf37a51a1
3+
config: 39e63ce8d4160ad1db1731034064819d
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

0 commit comments

Comments
 (0)