{"id":1699,"date":"2019-04-11T21:42:18","date_gmt":"2019-04-11T21:42:18","guid":{"rendered":"https:\/\/draculaservers.com\/tutorials\/?p=1699"},"modified":"2021-11-14T20:34:08","modified_gmt":"2021-11-14T20:34:08","slug":"update-secure-phpmyadmin","status":"publish","type":"post","link":"https:\/\/draculaservers.com\/tutorials\/update-secure-phpmyadmin\/","title":{"rendered":"Secure phpMyAdmin against PLEASE_READ.WARNING Attack"},"content":{"rendered":"<p><strong>phpMyAdmin<\/strong> is a free and open-source MariaDB and MySQL management tool. It&#8217;s among the most popular web-based tools that enable you to manage databases, execute SQL queries, manage accounts, export, and import data and much more.<\/p>\n<p>Unfortunately, it&#8217;s a target for hacking attempts, and if those attempts succeed they can cause irreparable damage as hackers can steal or delete sensitive information.<\/p>\n<p>For that reason, you should keep phpMyAdmin updated, as it will have the latest patches against recent exploits, and secure it against automated attacks by adding extra layers of security.<\/p>\n<p>Having software that is not up to date on servers is a risky move.&nbsp; In 2019, <strong>phpMyAdmin<\/strong> has been the target of random attacks from botnets.<\/p>\n\n<h2 id=\"please_read-warning-attack\">PLEASE_READ.WARNING Attack<\/h2>\n<p>This attack deletes all the databases it finds and replaces them with a table name <strong>WARNING<\/strong> containing &#8220;To recover your lost data SEND BTC&#8221;.&nbsp; There are serveral variations that may ask for different BTC sums or have a different database name.<\/p>\n<p>It appears that the attacker only deletes the data and there isn&#8217;t a way to recover them from the attacker, but this may be different from case to case. One of the people that have first detected the attack has written a detailed <a href=\"https:\/\/www.guardicore.com\/2017\/02\/0-2-btc-strikes-back-now-attacking-mysql-databases\/\">description<\/a>.<\/p>\n<p>A database exploited by this attack will look like the picture below.<\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/04\/PLEASE_READ_ME_XMG.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1261\" height=\"164\" class=\"wp-image-1710 size-full\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/04\/PLEASE_READ_ME_XMG.jpg\" alt=\"SQL ATACK \" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/04\/PLEASE_READ_ME_XMG.jpg 1261w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/04\/PLEASE_READ_ME_XMG-300x39.jpg 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/04\/PLEASE_READ_ME_XMG-1024x133.jpg 1024w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/04\/PLEASE_READ_ME_XMG-768x100.jpg 768w\" sizes=\"auto, (max-width: 1261px) 100vw, 1261px\" \/><\/a><\/p>\n<p>In this tutorial we&#8217;ll learn how to manually update phpMyAdmin to the latest version, change phpMyAdmin default access URL and add an authentication gateway that requires an extra set of credentials before logging in. This tutorial is aimed at phpMyAdmin running with <strong>Apache Web Server<\/strong> on <strong>Ubuntu 18.04<\/strong><\/p>\n<div class=\"container custom-content-block\" style=\"background-color: #282a36; border-radius: 3px; padding: 20px 25px 35px 25px !important; margin-top: 60px; margin-bottom: 60px;\">\r\n<div class=\"row\">\r\n<div class=\"col-lg-12\">\r\n<p style=\"color: #74fa7a; font-weight: bold !important; font-family: Droid Sans Mono,'DroidSansMonoRegular','Courier New',monospace !important;\">Need Help?<\/p>\r\n\r\n<\/div>\r\n<div class=\"col-lg-12\">\r\n<p style=\"color: #ffffff; font-family: Droid Sans Mono,'DroidSansMonoRegular','Courier New',monospace !important;\">Have a server from a different provider and need help? Hit us up!<\/p>\r\n\r\n<\/div>\r\n<div class=\"col-lg-12\">\r\n<p style=\"color: #60709f; font-size: 1em; font-family: Droid Sans Mono,'DroidSansMonoRegular','Courier New',monospace !important;\">We offer various services to assist you in achieving your business goal. Working in the industry, we've gained proficiency various areas related to hosting.\r\n<br \/>\r\n<div style=\"font-family: Droid Sans Mono,'DroidSansMonoRegular','Courier New',monospace !important; font-size: 14px; color: #74fa7a;\">\r\n<span style=\"color: #ffffff; !important;\">[Proficiencies Include]<\/span><\/br>\r\n&nbsp;&nbsp;- RADIUS<br \/>\r\n&nbsp;&nbsp;- WHMCS<br \/>\r\n&nbsp;&nbsp;- LAMP Stack<br \/>\r\n&nbsp;&nbsp;- LEMP Stack<br \/>\r\n&nbsp;&nbsp;- VPN Protocols<br \/>\r\n&nbsp;&nbsp;- SMTP<br \/>\r\n&nbsp;&nbsp;- Remote Desktop Solutions<br \/>\r\n&nbsp;&nbsp;- Linux in general<br \/>\r\n<\/div>\r\n<\/p>\r\n\r\n<\/div>\r\n<div class=\"col-lg-12\">\r\n<p style=\"color: #ffffff; font-weight: bold !important; font-family: Droid Sans Mono,'DroidSansMonoRegular','Courier New',monospace !important;\">Hire Us<\/p>\r\n\r\n<\/div>\r\n<div class=\"col-lg-12\"><a role=\"button\" aria-pressed=\"true\" class=\"btn btn-primary btn-lg\" style=\"background-color: #58689e; color: #ffffff; box-shadow: 0 2px 2px 0 #3F51B5, 0 3px 1px -2px #3F51B5, 0 1px 5px 0 #3F51B5; font-family: Droid Sans Mono,'DroidSansMonoRegular','Courier New',monospace !important; font-weight: bold !important;\" href=\"https:\/\/draculaservers.com\/members\/submitticket.php\" target=\"_blank\" rel=\"noopener\">HIT US UP<\/a><\/div>\r\n<\/div>\r\n<\/div>\n<h2 id=\"how-to-update-phpmyadmin-to-the-latest-version\">How to Update phpMyAdmin to the latest Version<\/h2>\n<p>First, install phpMyAdmin from the official Ubuntu repositories:<\/p>\n<pre><code>$ sudo apt-get install phpmyadmin<\/code><\/pre>\n<p>Now, change directory into <code>\/usr\/share<\/code>:<\/p>\n<pre><code>$ sudo cd \/usr\/share<\/code><\/pre>\n<p>Remove the <strong>phpMyAdmin directory<\/strong>:<\/p>\n<pre><code>$ sudo rm -rf phpmyadmin<\/code><\/pre>\n<p>Use <code>wget<\/code> to download the latest phpMyAdmin version. You can find the packages with the latest version here <a href=\"https:\/\/www.phpmyadmin.net\/downloads\/\" target=\"_blank\" rel=\"noopener\">phpMyAdmin &#8211; Downloads<\/a>.<\/p>\n<p>The current latest version at the time of writing is 4.8.5, so we&#8217;ll download that one:<\/p>\n<pre><code>$ wget -P \/usr\/share\/ https:\/\/files.phpmyadmin.net\/phpMyAdmin\/4.8.5\/phpMyAdmin-4.8.5-english.zip<\/code><\/pre>\n<p>Next, unzip it:<\/p>\n<pre><code>$ unzip phpMyAdmin-4.8.5-english.zip<\/code><\/pre>\n<p>Finally we rename the unzipped folder <code>phpMyAdmin-4.8.5-english<\/code> to <code>phpmyadmin<\/code>:<\/p>\n<pre><code>$ mv phpMyAdmin-4.8.5-english phpmyadmin<\/code><\/pre>\n<h2 id=\"important\">IMPORTANT<\/h2>\n<p>If you log into phpMyAdmin now, you&#8217;ll see two errors:<\/p>\n<pre><code>the configuration file now needs a secret passphrase (blowfish_secret). phpmyadmin\nThe $cfg['TempDir'] (.\/tmp\/) is not accessible. phpMyAdmin is not able to cache templates and will be slow because of this.<\/code><\/pre>\n<p>To fix the first error, just run the following:<\/p>\n<pre><code>$ cd \/usr\/share\/phpmyadmin\n$ cp config.sample.inc.php config.inc.php<\/code><\/pre>\n<p>Now you&#8217;ll have to add a Blowfish Secret in <code>config.inc.php<\/code>. To do this, visit the following link to generate a Blowfish Secret <a href=\"https:\/\/www.motorsportdiesel.com\/tools\/blowfish-salt\/pma\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.motorsportdiesel.com\/tools\/blowfish-salt\/pma\/<\/a>. Copy the secret so we can paste it into <code>config.inc.php<\/code>.<\/p>\n<p>When you&#8217;ve copied it, open the file <code>config.inc.php<\/code>:<\/p>\n<pre><code>$ sudo nano config.inc.php<\/code><\/pre>\n<p>And paste in the Blowfish Secret &#8211; you&#8217;ll notice the section right away. In my case right now, it&#8217;s <code>t&amp;GeQ&gt;FhO@sG]\/b*&amp;Y9lVG1mh\\UQ3CYP<\/code><\/p>\n<blockquote class=\"note\"><p><small>Credit goes to <a href=\"https:\/\/askubuntu.com\/users\/850887\/crimson-501\" target=\"_blank\" rel=\"noopener\">user CRIMSON 501 from askubuntu.com<\/a> for the Blowfish Secret generator made especially for phpMyAdmin.<\/small><\/p><\/blockquote>\n<p>Here&#8217;s how the section should look after you&#8217;ve pasted it in:<\/p>\n<pre><code>\/**\n * This is needed for cookie based authentication to encrypt password in\n * cookie. Needs to be 32 chars long.\n *\/\n$cfg['blowfish_secret'] = 't&amp;GeQ&gt;FhO@sG]\/b*&amp;Y9lVG1mh\\UQ3CYP'; \/* YOU MUST FILL IN THIS FOR COOKIE AUTH! *\/<\/code><\/pre>\n<p>Save and close the file.<\/p>\n<p>Lastly, we need to create a <code>tmp<\/code> directory for phpMyAdmin and give Apache ownership over it:<\/p>\n<pre><code>$ sudo mkdir tmp\n$ sudo chown -R www-data:www-data \/usr\/share\/phpmyadmin\/tmp<\/code><\/pre>\n<p>Well done. You&#8217;ve not upgraded your phpMyAdmin to the latest version.<\/p>\n<h2 id=\"changing-default-phpmyadmin-location\">Changing Default phpMyAdmin Location<\/h2>\n<p>As attackers will probe for common locations on any software they&#8217;re trying to hack, we&#8217;ll change the default path<\/p>\n<p><code>http:\/\/domain_or_IP\/phpmyadmin<\/code><\/p>\n<p>to<\/p>\n<p><code>https:\/\/domain_or_IP\/somethingunexpected<\/code><\/p>\n<p>To change the phpMyAdmin default access URL on Ubuntu 18.04, open <code>\/etc\/apache2\/conf-enabled\/phpmyadmin.conf<\/code> using your favorite text editor:<\/p>\n<pre><code>$ sudo nano \/etc\/apache2\/conf-enabled\/phpmyadmin.conf<\/code><\/pre>\n<p>Among first lines ( <strong>line 3<\/strong> ) you&#8217;ll see:<\/p>\n<pre><code>Alias \/phpmyadmin \/usr\/share\/phpmyadmin<\/code><\/pre>\n<p>Change it to something unexpected like:<\/p>\n<pre><code>Alias \/castleentrance \/usr\/share\/phpmyadmin<\/code><\/pre>\n<p>Restart Apache:<\/p>\n<pre><code>$ sudo service apache2 restart<\/code><\/pre>\n<p>Now you should be able to access phpMyAdmin by visiting:<\/p>\n<pre><code>https:\/\/domain_or_IP\/castleentrance<\/code><\/pre>\n<h2 id=\"add-auth-gateway-to-phpmyadmin\">Add Auth Gateway to phpMyAdmin<\/h2>\n<p>As an additional layer of security, we can add a popup that requires an extra login, before our usual phpMyAdmin login.<\/p>\n<p>To do this on Ubuntu 18.04, open the Apache configuration file and add these lines to it:<\/p>\n<pre><code>\n    AuthType Basic\n    AuthName \"Restricted Content\"\n    AuthUserFile \/etc\/apache2\/.htpasswd\n    Require valid-user\n<\/code><\/pre>\n<p>To give you a complete example, here&#8217;s how mine looks after adding the lines:<\/p>\n<pre><code>\n        # The ServerName directive sets the request scheme, hostname and port that\n        # ...\n        #ServerName www.example.com\n\n        ServerAdmin webmaster@localhost\n        DocumentRoot \/var\/www\/html\n\n        # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,\n        # ...\n        #LogLevel info ssl:warn\n\n        ErrorLog ${APACHE_LOG_DIR}\/error.log\n        CustomLog ${APACHE_LOG_DIR}\/access.log combined\n\n        # For most configuration files from conf-available\/, which are\n        # ...\n        #Include conf-available\/serve-cgi-bin.conf\n\n        \n            AuthType Basic\n            AuthName \"Restricted Content\"\n            AuthUserFile \/etc\/apache2\/.htpasswd\n            Require valid-user\n        \n\n\n\n# vim: syntax=apache ts=4 sw=4 sts=4 sr noet<\/code><\/pre>\n<p>Save and close the file when you&#8217;re done.<\/p>\n<p>Now use <strong>htpasswd<\/strong> to generate a password file for an account that will be allowed to access the <code>phpMyAdmin<\/code> login page on Ubuntu 18.04. I&#8217;ll use the username <code>dracula<\/code>, but you can use anything you want:<\/p>\n<pre><code>$ sudo htpasswd -c \/etc\/apache2\/.htpasswd dracula<\/code><\/pre>\n<p>You&#8217;ll be prompted to create a password and enter it again to confirm it.<\/p>\n<p>Finally we&#8217;ll change the permissions for the file, to prevent anyone not in the <code>www-data<\/code> or <code>apache<\/code> group from being able to access it:<\/p>\n<pre><code>$ sudo chmod 640 \/etc\/apache2\/.htpasswd\n$ chgrp www-data \/etc\/apache2\/.htpasswd<\/code><\/pre>\n<p>And you&#8217;re done.<\/p>\n<p>Now you can go to your <code>phpMyAdmin<\/code> access URL and you should be prompted for the extra credentials.<\/p>\n<p>After changing the phpMyAdmin access URL and added the extra authentication gateway, here&#8217;s how it looks like:<\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/update-secure-phpmyadmin\/phpmyadmin_auth_gateway\/\" rel=\"attachment wp-att-1700\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"347\" class=\"aligncenter size-full wp-image-1700\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/04\/phpMyAdmin_auth_gateway.png\" alt=\"phpMyAdmin_auth_gateway\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/04\/phpMyAdmin_auth_gateway.png 600w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/04\/phpMyAdmin_auth_gateway-300x174.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h2 id=\"conclusion\">Conclusion<\/h2>\n<p>Well done. You&#8217;ve learned how to manually upgrade phpMyAdmin and add 2 extra layers of security to your phpMyAdmin installation.<\/p>\n<div class=\"container custom-content-block\" style=\"background-color: #282a36; border-radius: 3px; padding: 20px 25px 35px 25px !important; margin-top: 60px; margin-bottom: 60px;\">\r\n<div class=\"row\">\r\n<div class=\"col-lg-12\">\r\n<p style=\"color: #74fa7a; font-weight: bold !important; font-family: Droid Sans Mono,'DroidSansMonoRegular','Courier New',monospace !important;\">Need Help?<\/p>\r\n\r\n<\/div>\r\n<div class=\"col-lg-12\">\r\n<p style=\"color: #ffffff; font-family: Droid Sans Mono,'DroidSansMonoRegular','Courier New',monospace !important;\">Have a server from a different provider and need help? Hit us up!<\/p>\r\n\r\n<\/div>\r\n<div class=\"col-lg-12\">\r\n<p style=\"color: #60709f; font-size: 1em; font-family: Droid Sans Mono,'DroidSansMonoRegular','Courier New',monospace !important;\">We offer various services to assist you in achieving your business goal. Working in the industry, we've gained proficiency various areas related to hosting.\r\n<br \/>\r\n<div style=\"font-family: Droid Sans Mono,'DroidSansMonoRegular','Courier New',monospace !important; font-size: 14px; color: #74fa7a;\">\r\n<span style=\"color: #ffffff; !important;\">[Proficiencies Include]<\/span><\/br>\r\n&nbsp;&nbsp;- RADIUS<br \/>\r\n&nbsp;&nbsp;- WHMCS<br \/>\r\n&nbsp;&nbsp;- LAMP Stack<br \/>\r\n&nbsp;&nbsp;- LEMP Stack<br \/>\r\n&nbsp;&nbsp;- VPN Protocols<br \/>\r\n&nbsp;&nbsp;- SMTP<br \/>\r\n&nbsp;&nbsp;- Remote Desktop Solutions<br \/>\r\n&nbsp;&nbsp;- Linux in general<br \/>\r\n<\/div>\r\n<\/p>\r\n\r\n<\/div>\r\n<div class=\"col-lg-12\">\r\n<p style=\"color: #ffffff; font-weight: bold !important; font-family: Droid Sans Mono,'DroidSansMonoRegular','Courier New',monospace !important;\">Hire Us<\/p>\r\n\r\n<\/div>\r\n<div class=\"col-lg-12\"><a role=\"button\" aria-pressed=\"true\" class=\"btn btn-primary btn-lg\" style=\"background-color: #58689e; color: #ffffff; box-shadow: 0 2px 2px 0 #3F51B5, 0 3px 1px -2px #3F51B5, 0 1px 5px 0 #3F51B5; font-family: Droid Sans Mono,'DroidSansMonoRegular','Courier New',monospace !important; font-weight: bold !important;\" href=\"https:\/\/draculaservers.com\/members\/submitticket.php\" target=\"_blank\" rel=\"noopener\">HIT US UP<\/a><\/div>\r\n<\/div>\r\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>phpMyAdmin is a free and open-source MariaDB and MySQL management tool. It&#8217;s among the most popular web-based tools that enable you to manage databases, execute SQL queries, manage accounts, export, and import data and much more. Unfortunately, it&#8217;s a target for hacking attempts, and if those attempts succeed they can cause irreparable damage as hackers [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1701,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[64,22],"tags":[42,43,49,96],"class_list":["post-1699","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-open-source","category-ubuntu","tag-apache","tag-phpmyadmin","tag-security","tag-web-servers"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"featured_image_urls_v2":{"full":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/04\/How-to-Secure-Update-phpMyAdmin-to-Latest-Version-on-Ubuntu-18.04.png",1024,512,false],"thumbnail":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/04\/How-to-Secure-Update-phpMyAdmin-to-Latest-Version-on-Ubuntu-18.04-150x150.png",150,150,true],"medium":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/04\/How-to-Secure-Update-phpMyAdmin-to-Latest-Version-on-Ubuntu-18.04-300x150.png",300,150,true],"medium_large":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/04\/How-to-Secure-Update-phpMyAdmin-to-Latest-Version-on-Ubuntu-18.04-768x384.png",768,384,true],"large":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/04\/How-to-Secure-Update-phpMyAdmin-to-Latest-Version-on-Ubuntu-18.04-1024x512.png",1024,512,true],"1536x1536":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/04\/How-to-Secure-Update-phpMyAdmin-to-Latest-Version-on-Ubuntu-18.04.png",1024,512,false],"2048x2048":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/04\/How-to-Secure-Update-phpMyAdmin-to-Latest-Version-on-Ubuntu-18.04.png",1024,512,false],"pk-small":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/04\/How-to-Secure-Update-phpMyAdmin-to-Latest-Version-on-Ubuntu-18.04-80x80.png",80,80,true],"pk-thumbnail":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/04\/How-to-Secure-Update-phpMyAdmin-to-Latest-Version-on-Ubuntu-18.04-300x225.png",300,225,true]},"post_excerpt_stackable_v2":"<p>phpMyAdmin is a free and open-source MariaDB and MySQL management tool. It&#8217;s among the most popular web-based tools that enable you to manage databases, execute SQL queries, manage accounts, export, and import data and much more. Unfortunately, it&#8217;s a target for hacking attempts, and if those attempts succeed they can cause irreparable damage as hackers can steal or delete sensitive information. For that reason, you should keep phpMyAdmin updated, as it will have the latest patches against recent exploits, and secure it against automated attacks by adding extra layers of security. Having software that is not up to date on&hellip;<\/p>\n","category_list_v2":"<a href=\"https:\/\/draculaservers.com\/tutorials\/category\/open-source\/\" rel=\"category tag\">Open-source<\/a>, <a href=\"https:\/\/draculaservers.com\/tutorials\/category\/ubuntu\/\" rel=\"category tag\">Ubuntu<\/a>","author_info_v2":{"name":"Vlad","url":"https:\/\/draculaservers.com\/tutorials\/author\/vlad\/"},"comments_num_v2":"1 comment","yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Secure phpMyAdmin against PLEASE_READ.WARNING Attack<\/title>\n<meta name=\"description\" content=\"In this tutorial we learn how to update phpMyAdmin to the latest version, change default access URL &amp; add an extra set of credentials before logging in.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/draculaservers.com\/tutorials\/update-secure-phpmyadmin\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Secure phpMyAdmin against PLEASE_READ.WARNING Attack\" \/>\n<meta property=\"og:description\" content=\"In this tutorial we learn how to update phpMyAdmin to the latest version, change default access URL &amp; add an extra set of credentials before logging in.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/draculaservers.com\/tutorials\/update-secure-phpmyadmin\/\" \/>\n<meta property=\"og:site_name\" content=\"Dracula Servers Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2019-04-11T21:42:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-11-14T20:34:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/04\/How-to-Secure-Update-phpMyAdmin-to-Latest-Version-on-Ubuntu-18.04.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"512\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Vlad\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Vlad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/update-secure-phpmyadmin\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/update-secure-phpmyadmin\\\/\"},\"author\":{\"name\":\"Vlad\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/931f7fa8b2126ace6edfb82775e0ec0e\"},\"headline\":\"Secure phpMyAdmin against PLEASE_READ.WARNING Attack\",\"datePublished\":\"2019-04-11T21:42:18+00:00\",\"dateModified\":\"2021-11-14T20:34:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/update-secure-phpmyadmin\\\/\"},\"wordCount\":756,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/update-secure-phpmyadmin\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/How-to-Secure-Update-phpMyAdmin-to-Latest-Version-on-Ubuntu-18.04.png\",\"keywords\":[\"Apache\",\"phpMyAdmin\",\"Security\",\"Web Servers\"],\"articleSection\":[\"Open-source\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/update-secure-phpmyadmin\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/update-secure-phpmyadmin\\\/\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/update-secure-phpmyadmin\\\/\",\"name\":\"Secure phpMyAdmin against PLEASE_READ.WARNING Attack\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/update-secure-phpmyadmin\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/update-secure-phpmyadmin\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/How-to-Secure-Update-phpMyAdmin-to-Latest-Version-on-Ubuntu-18.04.png\",\"datePublished\":\"2019-04-11T21:42:18+00:00\",\"dateModified\":\"2021-11-14T20:34:08+00:00\",\"description\":\"In this tutorial we learn how to update phpMyAdmin to the latest version, change default access URL & add an extra set of credentials before logging in.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/update-secure-phpmyadmin\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/update-secure-phpmyadmin\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/update-secure-phpmyadmin\\\/#primaryimage\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/How-to-Secure-Update-phpMyAdmin-to-Latest-Version-on-Ubuntu-18.04.png\",\"contentUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/How-to-Secure-Update-phpMyAdmin-to-Latest-Version-on-Ubuntu-18.04.png\",\"width\":1024,\"height\":512,\"caption\":\"secure_update_phpmyadmin_ubuntu_apache\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/update-secure-phpmyadmin\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Secure phpMyAdmin against PLEASE_READ.WARNING Attack\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\",\"name\":\"Dracula Servers Tutorials\",\"description\":\"Dedicated Servers\",\"publisher\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\",\"name\":\"Dracula Servers\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/dracula_full_logo_smaller.png\",\"contentUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/dracula_full_logo_smaller.png\",\"width\":1625,\"height\":200,\"caption\":\"Dracula Servers\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/931f7fa8b2126ace6edfb82775e0ec0e\",\"name\":\"Vlad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/499c7a24aa9727703300a291f8f69dfd1b01b8d6a19a4ae4fbe669b4b12b8cbe?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/499c7a24aa9727703300a291f8f69dfd1b01b8d6a19a4ae4fbe669b4b12b8cbe?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/499c7a24aa9727703300a291f8f69dfd1b01b8d6a19a4ae4fbe669b4b12b8cbe?s=96&d=mm&r=g\",\"caption\":\"Vlad\"},\"description\":\"Tech Support\",\"sameAs\":[\"https:\\\/\\\/draculaservers.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Secure phpMyAdmin against PLEASE_READ.WARNING Attack","description":"In this tutorial we learn how to update phpMyAdmin to the latest version, change default access URL & add an extra set of credentials before logging in.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/draculaservers.com\/tutorials\/update-secure-phpmyadmin\/","og_locale":"en_US","og_type":"article","og_title":"Secure phpMyAdmin against PLEASE_READ.WARNING Attack","og_description":"In this tutorial we learn how to update phpMyAdmin to the latest version, change default access URL & add an extra set of credentials before logging in.","og_url":"https:\/\/draculaservers.com\/tutorials\/update-secure-phpmyadmin\/","og_site_name":"Dracula Servers Tutorials","article_published_time":"2019-04-11T21:42:18+00:00","article_modified_time":"2021-11-14T20:34:08+00:00","og_image":[{"width":1024,"height":512,"url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/04\/How-to-Secure-Update-phpMyAdmin-to-Latest-Version-on-Ubuntu-18.04.png","type":"image\/png"}],"author":"Vlad","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Vlad","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/draculaservers.com\/tutorials\/update-secure-phpmyadmin\/#article","isPartOf":{"@id":"https:\/\/draculaservers.com\/tutorials\/update-secure-phpmyadmin\/"},"author":{"name":"Vlad","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/person\/931f7fa8b2126ace6edfb82775e0ec0e"},"headline":"Secure phpMyAdmin against PLEASE_READ.WARNING Attack","datePublished":"2019-04-11T21:42:18+00:00","dateModified":"2021-11-14T20:34:08+00:00","mainEntityOfPage":{"@id":"https:\/\/draculaservers.com\/tutorials\/update-secure-phpmyadmin\/"},"wordCount":756,"commentCount":1,"publisher":{"@id":"https:\/\/draculaservers.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/update-secure-phpmyadmin\/#primaryimage"},"thumbnailUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/04\/How-to-Secure-Update-phpMyAdmin-to-Latest-Version-on-Ubuntu-18.04.png","keywords":["Apache","phpMyAdmin","Security","Web Servers"],"articleSection":["Open-source","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/draculaservers.com\/tutorials\/update-secure-phpmyadmin\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/draculaservers.com\/tutorials\/update-secure-phpmyadmin\/","url":"https:\/\/draculaservers.com\/tutorials\/update-secure-phpmyadmin\/","name":"Secure phpMyAdmin against PLEASE_READ.WARNING Attack","isPartOf":{"@id":"https:\/\/draculaservers.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/draculaservers.com\/tutorials\/update-secure-phpmyadmin\/#primaryimage"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/update-secure-phpmyadmin\/#primaryimage"},"thumbnailUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/04\/How-to-Secure-Update-phpMyAdmin-to-Latest-Version-on-Ubuntu-18.04.png","datePublished":"2019-04-11T21:42:18+00:00","dateModified":"2021-11-14T20:34:08+00:00","description":"In this tutorial we learn how to update phpMyAdmin to the latest version, change default access URL & add an extra set of credentials before logging in.","breadcrumb":{"@id":"https:\/\/draculaservers.com\/tutorials\/update-secure-phpmyadmin\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/draculaservers.com\/tutorials\/update-secure-phpmyadmin\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/draculaservers.com\/tutorials\/update-secure-phpmyadmin\/#primaryimage","url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/04\/How-to-Secure-Update-phpMyAdmin-to-Latest-Version-on-Ubuntu-18.04.png","contentUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/04\/How-to-Secure-Update-phpMyAdmin-to-Latest-Version-on-Ubuntu-18.04.png","width":1024,"height":512,"caption":"secure_update_phpmyadmin_ubuntu_apache"},{"@type":"BreadcrumbList","@id":"https:\/\/draculaservers.com\/tutorials\/update-secure-phpmyadmin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/draculaservers.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Secure phpMyAdmin against PLEASE_READ.WARNING Attack"}]},{"@type":"WebSite","@id":"https:\/\/draculaservers.com\/tutorials\/#website","url":"https:\/\/draculaservers.com\/tutorials\/","name":"Dracula Servers Tutorials","description":"Dedicated Servers","publisher":{"@id":"https:\/\/draculaservers.com\/tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/draculaservers.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/draculaservers.com\/tutorials\/#organization","name":"Dracula Servers","url":"https:\/\/draculaservers.com\/tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/06\/dracula_full_logo_smaller.png","contentUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/06\/dracula_full_logo_smaller.png","width":1625,"height":200,"caption":"Dracula Servers"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/person\/931f7fa8b2126ace6edfb82775e0ec0e","name":"Vlad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/499c7a24aa9727703300a291f8f69dfd1b01b8d6a19a4ae4fbe669b4b12b8cbe?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/499c7a24aa9727703300a291f8f69dfd1b01b8d6a19a4ae4fbe669b4b12b8cbe?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/499c7a24aa9727703300a291f8f69dfd1b01b8d6a19a4ae4fbe669b4b12b8cbe?s=96&d=mm&r=g","caption":"Vlad"},"description":"Tech Support","sameAs":["https:\/\/draculaservers.com"]}]}},"_links":{"self":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/1699","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/comments?post=1699"}],"version-history":[{"count":4,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/1699\/revisions"}],"predecessor-version":[{"id":2554,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/1699\/revisions\/2554"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/media\/1701"}],"wp:attachment":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/media?parent=1699"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/categories?post=1699"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/tags?post=1699"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}