{"id":33247,"date":"2019-10-31T21:51:34","date_gmt":"2019-10-31T18:51:34","guid":{"rendered":"https:\/\/prohoster.info\/blog\/reliz-wordpress-5-2-s-podderzhkoj-proverki-obnovlenij-po-tsifrovoj-podpisi\/"},"modified":"2019-10-31T21:51:34","modified_gmt":"2019-10-31T18:51:34","slug":"reliz-wordpress-5-2-s-podderzhkoj-proverki-obnovlenij-po-tsifrovoj-podpisi","status":"publish","type":"post","link":"https:\/\/prohoster.info\/en\/blog\/news\/reliz-wordpress-5-2-s-podderzhkoj-proverki-obnovlenij-po-tsifrovoj-podpisi","title":{"rendered":"Release of WordPress 5.2 with support for digital signature update checking","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><noindex><a rel=\"nofollow\" href=\"https:\/\/wordpress.org\/news\/2019\/05\/jaco\/\">Introduced<\/a><\/noindex> release of the web content management system <noindex><a rel=\"nofollow\" href=\"https:\/\/wordpress.org\/\">WordPress 5.2<\/a><\/noindex>. The release is notable for completing <noindex><a rel=\"nofollow\" href=\"https:\/\/core.trac.wordpress.org\/ticket\/25052\">a six-year saga<\/a><\/noindex> of implementing <noindex><a rel=\"nofollow\" href=\"https:\/\/paragonie.com\/blog\/2019\/05\/wordpress-5-2-mitigating-supply-chain-attacks-against-33-internet\">capabilities<\/a><\/noindex> update and add-on verification through digital signatures. <\/p>\n<p>Until now, when installing updates in WordPress, the main security factor was trust in the WordPress infrastructure and servers (after downloading, a hash check was performed without source verification). In the event of server compromise, attackers could substitute the update and spread malicious code among WordPress sites using the automatic update system. Under the previously used trust delivery model, such substitution on the user side would go unnoticed. <\/p>\n<p>Considering that according to <noindex><a rel=\"nofollow\" href=\"https:\/\/w3techs.com\/technologies\/overview\/content_management\/all\">data<\/a><\/noindex> the w3techs project, the WordPress platform is used on 33.8% of websites on the internet, the incident would have had catastrophic implications. Moreover, the threat of infrastructure compromise was not hypothetical but quite real. For example, several years ago, one security researcher <noindex><a rel=\"nofollow\" href=\"https:\/\/www.wordfence.com\/blog\/2016\/11\/hacking-27-web-via-wordpress-auto-update\/\">demonstrated<\/a><\/noindex> discovered a vulnerability that allowed an attacker to execute their code on the api.wordpress.org server. <\/p>\n<p>In the case of using digital signatures, gaining control over the update distribution server would not compromise user systems, as conducting an attack would additionally require obtaining a separately stored private key used for signing updates. <\/p>\n<p>The implementation of update source verification through digital signatures was hindered by the fact that support for the necessary cryptographic algorithms became available in PHP's standard distribution relatively recently. The required cryptographic algorithms were introduced thanks to the integration of the <noindex><a rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=49924\">Libsodium<\/a><\/noindex> library into the core of <noindex><a rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=47652\">PHP 7.2<\/a><\/noindex>. However, the minimum supported version of PHP declared in WordPress <noindex><a rel=\"nofollow\" href=\"https:\/\/wordpress.org\/support\/article\/requirements\/\">is the<\/a><\/noindex> version 5.2.4 (starting from WordPress 5.2 \u2014 5.6.20). Enabling support for digital signatures would significantly increase the requirements for the minimum supported version of PHP or require the addition of an external dependency, which the developers could not accept given the prevalence of PHP versions in hosting systems. <\/p>\n<p>The solution was <noindex><a rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=45868\">development<\/a><\/noindex> and the inclusion in WordPress 5.2 of a compact version of Libsodium \u2014  <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/paragonie\/sodium_compat\">Sodium Compat<\/a><\/noindex>, which implements a minimal set of algorithms in PHP for verifying digital signatures. The implementation leaves much to be desired in terms of performance but fully addresses compatibility issues and allows plugin developers to begin integrating modern cryptographic algorithms.<\/p>\n<p>The algorithm used for generating digital signatures is <noindex><a rel=\"nofollow\" href=\"https:\/\/ed25519.cr.yp.to\/\">properties<\/a><\/noindex>, developed with the participation of Daniel J. Bernstein. A digital signature is formed for the SHA384 hash value computed from the contents of the archive being updated. Ed25519 offers a higher level of security than ECDSA and DSA, demonstrating very high verification and signature creation speeds. The resilience to attacks for Ed25519 is around 2^128 (on average, an attack on Ed25519 requires performing 2^140 bit operations), which corresponds to the resilience of algorithms like NIST P-256 and RSA with a key size of 3000 bits or a 128-bit block cipher. Ed25519 is also immune to hash collision issues, is not susceptible to cache-timing attacks, and is resistant to side-channel attacks. <\/p>\n<p>In the release of WordPress 5.2, digital signature verification currently only covers the core platform updates and does not by default block updates but merely informs the user of any issues. The decision was made not to enable blocking by default due to the need for complete verification and circumvention of  <noindex><a rel=\"nofollow\" href=\"https:\/\/bugs.php.net\/bug.php?id=75938\">potential issues<\/a><\/noindex>. In the future, verification via digital signatures is also planned to be added for the installation source verification of themes and plugins (manufacturers will be able to sign releases with their key).<\/p>\n<p>In addition to supporting digital signatures in WordPress 5.2, the following changes can be noted:<\/p>\n<ul>\n<li class=\"l\"> The 'Site Health' section has added two new pages for debugging common setup issues, along with a form through which developers can submit debugging information to site administrators;\n<li class=\"l\"> A 'white screen of death' implementation has been added, displayed in the case of fatal issues and helping the administrator to fix problems related to plugins or themes by entering a special recovery mode;\n<li class=\"l\"> The compatibility check system with plugins has been implemented, automatically verifying the plugin's usability in the current configuration considering the applied PHP version. If a newer PHP version is required for the plugin to function, the system will automatically prevent the activation of that plugin;\n<li class=\"l\"> Support has been added for enabling modules with JavaScript code using <noindex><a rel=\"nofollow\" href=\"https:\/\/webpack.js.org\/\">webpack<\/a><\/noindex> and <noindex><a rel=\"nofollow\" href=\"https:\/\/babeljs.io\/\">Babel<\/a><\/noindex>;\n<li class=\"l\"> A new template privacy-policy.php has been added, allowing customization of the content of the privacy compliance page;\n<li class=\"l\"> For themes, the wp_body_open hook has been added, allowing code to be inserted immediately after the body tag;\n<li class=\"l\"> The minimum PHP version requirement has been raised to 5.6.20, and namespaces and anonymous functions can now be used in plugins and themes;\n<li class=\"l\"> 13 new icons have been added.\n<\/ul>\n<p>Additionally, it is worth mentioning <noindex><a rel=\"nofollow\" href=\"https:\/\/blog.alertlogic.com\/alert-logic-uncovers-new-vulnerability-in-wordpress-wp-live-chat-cve-2019-11185\/\">the discovery of<\/a><\/noindex> a critical vulnerability in the WordPress plugin   <noindex><a rel=\"nofollow\" href=\"https:\/\/wp-livechat.com\/\">WP Live Chat<\/a><\/noindex> (CVE-2019-11185). The vulnerability allows arbitrary PHP code to be executed on the server. The plugin is used on over 27,000 sites to organize interactive chat with visitors, including on sites for companies like IKEA, Adobe, Huawei, PayPal, Tele2, and McDonald's (Live Chat is often used to implement pop-up intrusive chats on companies' websites offering to chat with a staff member).<\/p>\n<p>The issue arises in the file upload code on the server and allows bypassing acceptable file type checks to upload a PHP script to the server, which can then be executed directly via the web. Interestingly, a similar vulnerability (CVE-2018-12426) was discovered in Live Chat last year, which allowed uploading PHP code disguised as an image by specifying a different content type in the Content-type field. Additional checks against whitelists and content MIME type were added as part of the issue resolution. However, these checks were implemented incorrectly and can be easily bypassed.<\/p>\n<p>In particular, direct upload of files with the '.php' extension is prohibited, but the '.phtml' extension was not added to the blacklist, which is associated with the PHP interpreter on many servers. The whitelist allows uploading only images, but it can be bypassed by specifying a double extension, for example, '.gif.phtml'. To bypass MIME type checking at the beginning of the file, before the PHP code tag, it was sufficient to include the string 'GIF89a'.<\/p>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Source: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=50649\">opennet.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0440\u0435\u043b\u0438\u0437 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f web-\u043a\u043e\u043d\u0442\u0435\u043d\u0442\u043e\u043c WordPress 5.2. \u0412\u044b\u043f\u0443\u0441\u043a \u043f\u0440\u0438\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u0435\u043d \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435\u043c \u0448\u0435\u0441\u0442\u0438\u043b\u0435\u0442\u043d\u0435\u0439 \u044d\u043f\u043e\u043f\u0435\u0438 \u043f\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0439 \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0439 \u043f\u043e \u0446\u0438\u0444\u0440\u043e\u0432\u043e\u0439 \u043f\u043e\u0434\u043f\u0438\u0441\u0438. \u0414\u043e \u0441\u0438\u0445 \u043f\u043e\u0440 \u043f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0439 \u0432 WordPress \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u0444\u0430\u043a\u0442\u043e\u0440\u043e\u043c \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0431\u044b\u043b\u043e \u0434\u043e\u0432\u0435\u0440\u0438\u0435 \u043a \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435 \u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u043c WordPress (\u043f\u043e\u0441\u043b\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u043b\u0430\u0441\u044c \u0441\u0432\u0435\u0440\u043a\u0430 \u0445\u044d\u0448\u0430 \u0431\u0435\u0437 \u0432\u0435\u0440\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430). \u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u043a\u043e\u043c\u043f\u0440\u043e\u043c\u0435\u0442\u0430\u0446\u0438\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0430\u0442\u0430\u043a\u0443\u044e\u0449\u0438\u0435 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-33247","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0440\u0435\u043b\u0438\u0437 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f web-\u043a\u043e\u043d\u0442\u0435\u043d\u0442\u043e\u043c WordPress.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/en\/blog\/news\/reliz-wordpress-5-2-s-podderzhkoj-proverki-obnovlenij-po-tsifrovoj-podpisi\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0420\u0435\u043b\u0438\u0437 WordPress 5.2 \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0439 \u043f\u043e \u0446\u0438\u0444\u0440\u043e\u0432\u043e\u0439 \u043f\u043e\u0434\u043f\u0438\u0441\u0438 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0440\u0435\u043b\u0438\u0437 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f web-\u043a\u043e\u043d\u0442\u0435\u043d\u0442\u043e\u043c WordPress.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/en\/blog\/news\/reliz-wordpress-5-2-s-podderzhkoj-proverki-obnovlenij-po-tsifrovoj-podpisi\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-10-31T18:51:34+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T18:51:34+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47 WordPress 5.2 release with support for digital signature verification of updates | ProHoster","description":"The release of the web content management system WordPress has been announced.","canonical_url":"https:\/\/prohoster.info\/en\/blog\/news\/reliz-wordpress-5-2-s-podderzhkoj-proverki-obnovlenij-po-tsifrovoj-podpisi","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0420\u0435\u043b\u0438\u0437 WordPress 5.2 \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0439 \u043f\u043e \u0446\u0438\u0444\u0440\u043e\u0432\u043e\u0439 \u043f\u043e\u0434\u043f\u0438\u0441\u0438 | ProHoster","og:description":"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0440\u0435\u043b\u0438\u0437 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f web-\u043a\u043e\u043d\u0442\u0435\u043d\u0442\u043e\u043c WordPress.","og:url":"https:\/\/prohoster.info\/en\/blog\/news\/reliz-wordpress-5-2-s-podderzhkoj-proverki-obnovlenij-po-tsifrovoj-podpisi","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-10-31T18:51:34+00:00","article:modified_time":"2019-10-31T18:51:34+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"33247","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-21 14:31:20","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 02:44:41","updated":"2026-01-21 14:31:20","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/33247","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/comments?post=33247"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/33247\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media?parent=33247"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/categories?post=33247"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/tags?post=33247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}