{"id":5816,"date":"2018-02-05T14:11:17","date_gmt":"2018-02-05T19:11:17","guid":{"rendered":"https:\/\/www.thesslstore.com\/blog\/?p=5816"},"modified":"2018-02-06T00:18:04","modified_gmt":"2018-02-06T05:18:04","slug":"wordpress-vulnerability-dos-flaw","status":"publish","type":"post","link":"https:\/\/www.thesslstore.com\/blog\/wordpress-vulnerability-dos-flaw\/","title":{"rendered":"WordPress Vulnerability: DoS flaw could bring down your site"},"content":{"rendered":"<h2>WordPress isn\u2019t going to patch it, either&#8230;<\/h2>\n<p>WordPress is the most popular Content Management System (CMS) in the entire world. In fact, WordPress powers <a href=\"https:\/\/thehackernews.com\/2018\/02\/wordpress-dos-exploit.html?m=1\" rel=\"nofollow\">29% of the web<\/a>. That\u2019s why it\u2019s alarming the company isn\u2019t going to patch a <a href=\"https:\/\/www.thesslstore.com\/blog\/everything-you-ever-wanted-to-know-about-dosddos-attacks\/\">DoS vulnerability<\/a> that, when exploited, could easily bring down an entire website.<span id=\"newline\"><\/span><\/p>\n<p>Let\u2019s start back at the beginning.<\/p>\n<p>Israeli research <a href=\"https:\/\/baraktawily.blogspot.in\/2018\/02\/how-to-dos-29-of-world-wide-websites.html\" rel=\"nofollow\">Barak Tawily<\/a> discovered a vulnerability\u00a0(<a href=\"https:\/\/cve.mitre.org\/cgi-bin\/cvename.cgi?name=CVE-2018-6389\" target=\"_blank\" rel=\"nofollow noopener\">CVE-2018-6389<\/a>) in the way that \u201cload-scripts.php\u201d processes user-defined requests. \u201cload-scripts.php\u201d is a built-in script that was designed for users with admin permissions to help improve website performance and page load speeds by combining JavaScript files into a single request.<\/p>\n<p>To do this, \u201cload-scripts.php\u201d calls the required JavaScript files by passing their names into its load parameter. Once it\u2019s called every JavaScript file in a given URL it sends them back in a single file.<\/p>\n<p>That\u2019s a lot to untangle, maybe this comparison will help. This script acts kind of like a project manager would: they manage a bunch of different inputs from different team members, then organize it into one coherent document before presenting it to management.<\/p>\n<h2>What is the WordPress Vulnerability?<\/h2>\n<p>Unfortunately, WordPress, in attempting to make \u201cload-scripts.php\u201d work on the admin login page, forgot to put authentication in place. That means that it\u2019s accessible to anyone.<\/p>\n<p>Here\u2019s where the exploit comes in. Because the \u201cload-scripts.php\u201d file is accessible to anyone an attacker can bring down an entire website simply by forcing \u201cload-scripts.php\u201d to call all possible JavaScript files in one go by passing their names into the Load Parameter. That, in turn, makes the targeted website slow to a crawl due to high usage of the CPU and server memory.<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/nNDsGTalXS0\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>One attacker would likely not be able to take a site down on their own. But Tawily provides a Proof of Concept that showed what a distributed attack could accomplish. <a href=\"https:\/\/thehackernews.com\/2018\/02\/wordpress-dos-exploit.html?m=1\" rel=\"nofollow\">Hacker News independently confirmed the exploit<\/a>. They used it to bring down a test site on a medium-sized server. It was unable to knock another site with a dedicated server offline.<\/p>\n<p>That doesn\u2019t mean the attack wouldn\u2019t still be effective against a site with higher server power. It could still put considerable strain on the server\u2019s resources.<\/p>\n<h2>WordPress to the Rescue&#8230; or not<\/h2>\n<p>Here\u2019s where the story gets aggravating though, Tawily submitted the bug to WordPress, who promptly did nothing. WordPress has no plans to patch it. Their argument is that it should be handled at the server or network level.<\/p>\n<p>Fortunately, <a href=\"https:\/\/github.com\/Quitten\/WordPress\/blob\/master\/wp-dos-patch.sh\" rel=\"nofollow\">Tawily produced a patch for WordPress users<\/a>.<\/p>\n<p>If you\u2019re a WordPress user, this applies to you. It applies to every WordPress version for the past nine years\u2014including the most recent one (4.9.2).<\/p>\n<p>So maybe get on that.<\/p>\n<p>Happy Monday.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress isn\u2019t going to patch it, either&#8230; WordPress is the most popular Content Management System (CMS) in the entire world. In fact, WordPress powers 29% of the web. That\u2019s why&#8230;<\/p>\n","protected":false},"author":6,"featured_media":5817,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":"","tve_updated_post":"","tve_custom_css":"","tve_user_custom_css":"","tve_globals":{},"tcb2_ready":0,"tcb_editor_enabled":0,"tve_landing_page":"","_tve_header":"","_tve_footer":""},"categories":[16],"tags":[174,4327],"class_list":["post-5816","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hashing-out-cyber-security","tag-vulnerabilities","tag-wordpress","post-with-tags"],"views":17891,"jetpack_featured_media_url":"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2018\/02\/iStock-458090181.jpg","_links":{"self":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/posts\/5816","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/comments?post=5816"}],"version-history":[{"count":0,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/posts\/5816\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/media\/5817"}],"wp:attachment":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/media?parent=5816"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/categories?post=5816"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/tags?post=5816"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}