Slashdot Mirror


WordPress Auto-Update Server Had Flaw Allowing Persistent Backdoors In Websites (theregister.co.uk)

mask.of.sanity quotes a report from The Register: Up to a quarter of all websites on the internet could have been breached through a since-patched vulnerability that allowed WordPress' core update server to be compromised. The since-shuttered remote code execution flaw was found in a php webhook within api.wordpress.org that allows developers to supply a hashing algorithm of their choice to verify code updates are legitimate. Matt Barry, lead developer of WordPress security outfit WordFence, found attackers could supply their own extremely weak hashing algorithm as part of that verification process, allowing a shared secret key to be brute-forced over the course of a couple of hours. The rate of guessing attempts would be small enough to fly under the radar of WordPress' security systems. Attackers that used the exploit could then send URLs to the WordPress update servers that would be accepted and pushed out to all WordPress sites. Web-watching service W3techs.com reckons those sites represent 27.1 per cent of the entire world wide web. "By compromising api.wordpress.org, an attacker could conceivably compromise more than a quarter of the websites worldwide in one stroke," Barry says. "We analyzed [WordPress] code and found a vulnerability that could allow an attacker to execute their own code on api.wordpress.org and gain access to it. Compromising this [update] server could allow an attacker to supply their own URL to download and install software to WordPress websites, automatically." Attackers could go further; once a backdoored or malicious update was pushed out, they could disable the default auto updates preventing WordPress from fixing compromised websites.

33 comments

  1. Wordpess by TFlan91 · · Score: 2

    You could've just left the summary as "Wordpress".

    Would've conveyed the same message.

    1. Re:Wordpess by Anonymous Coward · · Score: 0

      HA! Yeah!! Wordpress is the sux! I hate Microsoft too! And Airline food!

      You're the best!

    2. Re:Wordpess by justthinkit · · Score: 1

      Yay. My log files should be 25% smaller now.

      --
      I come here for the love
  2. I'm not sure whats scarier by Big+Hairy+Ian · · Score: 3, Interesting

    That someone thinks hacking Wordpress is news or that 25% of the internet runs on Wordpress :|

    --

    Build a Man a Fire, and He'll Be Warm for a Day. Set a Man on Fire, and He'll Be Warm for the Rest of His Life.

    1. Re:I'm not sure whats scarier by Anonymous Coward · · Score: 0

      Neckbeard?

    2. Re:I'm not sure whats scarier by Anonymous Coward · · Score: 0

      Your just mad cuz PHP isn't web scale

    3. Re:I'm not sure whats scarier by Anonymous Coward · · Score: 0

      Considering its widespread usage and relatively good security record then I would say they have done pretty. As one of the most, if not *the* most attacked platform, pretty damn well indeed!

  3. Many eyes! by Anonymous Coward · · Score: 0

    OSS = our security's shit

    1. Re:Many eyes! by Anonymous Coward · · Score: 0

      Is that you, Larry?

  4. ot sig by drinkypoo · · Score: 1

    Build a Man a Fire, and He'll Be Warm for a Day. Set a Man on Fire, and He'll Be Warm for the Rest of His Life.

    Set a man a fire

    Set a man afire

    It actually makes sense that way.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  5. Okay by Anonymous Coward · · Score: 0

    So how would someone know if their WP site was hacked or not?

    1. Re:Okay by Anonymous Coward · · Score: 0

      Just like your Windows computer.

    2. Re:Okay by The-Ixian · · Score: 1

      Browse to your site. Does it offer an Angler exploit kit?

      --
      My eyes reflect the stars and a smile lights up my face.
    3. Re:Okay by Ol+Olsoc · · Score: 1

      Browse to your site. Does it offer an Angler exploit kit?

      You have to go to forbes.com for that.

      --
      The shepherds did so well protecting the flock that the sheep no longer believed that wolves existed.
    4. Re:Okay by TechyImmigrant · · Score: 1

      Just like your Windows computer.

      Oh dear. They'll mess with my Goat Simulator profile. It's a good thing I do real work on something else.

      --
      I should use this sig to advertise my book ISBN-13 : 978-1501515132.
  6. Equivalent Statement by Anonymous Coward · · Score: 0

    100% of computers have flaws that allow zero-day exploits to be delivered to them, if only you can find them and exploit them before they're patched.

    News at 11.

    Yes, it seems like a major vulnerability was patched. So fucking what? That happens all the time with computers these days, because people DON'T CARE that their systems are vulnerable as long as they gets their cat videos delivered with Metro style.

    captcha: insights

  7. Only one way to go with a static... by __aaclcg7560 · · Score: 1

    I'm converting my WordPress websites to static websites, removing PHP and database from the backend. The Russian and Southeast Asian hackers can kiss my shiny text files.

    1. Re:Only one way to go with a static... by daveime · · Score: 1

      Why not convert them all to ASCII text, no images, no colors, and only allow download from a 2400 or less baud modem for that really authentic 1990 feel?

    2. Re:Only one way to go with a static... by __aaclcg7560 · · Score: 1

      Why not convert them all to ASCII text, no images, no colors, and only allow download from a 2400 or less baud modem for that really authentic 1990 feel?

      Because I still want my JavaScript. :P

  8. WordPress requires professional administration by AndrewStephens · · Score: 1

    I ran a low traffic WordPress blog for many years. WordPress has many great features but between insecure plugins and a constantly updating core system, it just takes too much time to administer for someone who just wants to host a simple no-fuss blog.

    My advice is for anyone starting a personal blog is to either use a WordPress hosting company or just go with something like Tumblr. You don't get the flexibility, but your life will be easier.

    I got so fed up that I wrote my own static site generator to run my site. It doesn't have the nice features of WordPress but it certainly won't collapse under load and I get to laugh at the script-kiddies trying to hack the non-existent php scripts.

    --
    sheep.horse - does not contain information on sheep or horses.
    1. Re:WordPress requires professional administration by RinzeWind · · Score: 2

      And if you want to play with something a bit more technical, I would recommend Pelican. As creimer said above: static is the way to go for a lot of people. You write your posts in markdown, then compile to HTML, then upload to your hosting. No database, no management, no worries, no patching.

    2. Re:WordPress requires professional administration by AndrewStephens · · Score: 1

      That's exactly how my site works - it turns a folder structure of markdown(ish) files into a folder structure of indexed and cross-linked html, then rsync's the result to my server. No database, no dependencies, just files and a python script or two.

      I even exported and converted 400 posts from WordPress using a small script.

      I looked at pelican at the time. I can't remember why I didn't use it, but rolling my own was a fun project.

      --
      sheep.horse - does not contain information on sheep or horses.
    3. Re:WordPress requires professional administration by Anonymous Coward · · Score: 0

      Good advice, which few will take and the WP community will contradict vigorously.

      WP is an attractive nuisance.

    4. Re:WordPress requires professional administration by Kernel+Krumpit · · Score: 1

      WordPress has many great features but between insecure plugins and a constantly updating core system, it just takes too much time to administer

      This. A thousand times.

      --
      May the lies we live by make us strong, healthy, happy and wise - Kurt Vonnegut.
    5. Re:WordPress requires professional administration by Anonymous Coward · · Score: 0

      I wholeheartedly agree. Our agency uses OnSiteWP for website maintenance so that our clients don't have to manage the updates on their own.

  9. My jaw is on the floor by Anonymous Coward · · Score: 0

    A vulnerability in WordPress?

    I have to admit, I'm more than a little surprised to hear this would happen considering the solid history of quality and security that the program has, in addition to the fact that it's written in PHP, which I think we can all agree is as close as you can get to being unassailable by hackers. I mean PHP is the literal poster child for programming language competence and security.

    I wonder if this is some of that "fake news" that I keep hearing about.

  10. To put things in perspective ... by Qbertino · · Score: 5, Insightful

    WordPress has north of 100 Million active installations on the web (100 000 000+).
    Again, in words: thats more than one-hundred-million in active, running installations on the web.
    The last critical exploit was about half a year ago and had infected roughly 8000 installations by the time it was patched

    I don't know about you, but I'd say that's a pretty impressive security track record for a piece of software written on Crack, in PHP, by people who didn't have the slightest idea about software architecture back in 2001, mostly running on LAMP and that gets installed and run by n00bs 99.99 % of the time and is constantly exposed to the open intarweb and an onslaught of permanent attacks.

    Try that with any OOAD-buzzword-compliant 'cleanroom designed' Java or Ruby thingie. Good luck.

    My 2 cents.

    --
    We suffer more in our imagination than in reality. - Seneca
    1. Re:To put things in perspective ... by Anonymous Coward · · Score: 0

      Well, the problem with Wordpress has always been a total wild-west free-for-all plugin market that are chock with security holes. While critical exploits may be low, there are so many exploitable plugins that nobody can even keep track.

    2. Re:To put things in perspective ... by Anonymous Coward · · Score: 0

      and yet their "crack written php software" was more successful than anything you have done, and ever will achieve in your pathetic life

      there's some additional perspective for you