Slashdot Mirror


Update Drupal ASAP: Over a Million Sites Can Be Easily Hacked by Any Visitor (zdnet.com)

Developers of popular open-source CMS Drupal are warning admins to immediately patch a flaw that an attacker can exploit just by visiting a vulnerable site. From a report: The bug affects all sites running on Drupal 8, Drupal 7, and Drupal 6. Drupal's project usage page indicates that about a million sites are running the affected versions. Admins are being urged to immediately update to Drupal 7.58 or Drupal 8.5.1. Drupal issued an alert for the patch last week warning admins to allocate time for patching because exploits might arrive "within hours or days" of its security release. So far, there haven't been any attacks using the flaw, according to Drupal. The bug, which is being called Drupalgeddon2, has been assigned the official identifier CVE-2018-7600. Drupal has given it a 'highly critical' rating with a risk score of 21 out of 25 under the NIST Common Misuse Scoring System. Further reading: Drupal Fixes Drupalgeddon2 Security Flaw That Allows Hackers to Take Over Sites (BleepingComputer). Commenting on security advisory that Drupal issued last week, BleepingComputer's Catalin Cimpanu said, "In the 9 years I've been around Drupal, I've never seen them publish such an apocalyptic security advisory."

33 of 65 comments (clear)

  1. Re:Who still runs Drupal in 2018? by Anonymous Coward · · Score: 1

    Ahh yes, an old fuck complaining about obsolete technology on Slashdot. Slashdot. The one written in Perl.

    I was wondering if they'd let you out of your room on a day pass long enough to show up, still calling everything Micro$$$haft and proclaiming Gentoo to be the way of the future perchance?

  2. Re:Who still runs Drupal in 2018? by Anonymous Coward · · Score: 1

    Universities and Government mostly. No one uses Drupal for blogging, you must be thinking of WordPress

  3. Real Security Notice at the source by Moskit · · Score: 4, Informative

    https://www.drupal.org/sa-core...

    Saves time clicking through the articles.

    1. Re:Real Security Notice at the source by THE_WELL_HUNG_OYSTER · · Score: 1

      Here's the patch for 8.5: https://cgit.drupalcode.org/dr... Notice that the sanitize_input_whitelist values aren't defined anywhere in the patch.

    2. Re:Real Security Notice at the source by Anonymous Coward · · Score: 1

      yes they are, whitelist is empty by default:
      + $whitelist = variable_get('sanitize_input_whitelist', array());

  4. Re:Yeah by Anonymous Coward · · Score: 1

    hey man conspiracy theories are experiencing a real renaissance right now after trump's election. who knows what kind of clues might be hidden on an old school chemtrails site. actually, that gives me a fakenews idea! make a real old web 1.0 site about some shit relevant today, and be like omg this conspiracy nut from 1999 predicted this shit! pay some prick on youtube with a million followers to gush about it for five minutes, and watch the traffic roll in. then sell them an ebook on investing in gold bullion or whatever.

  5. Drupal and Wordpress are awesome! by ilsaloving · · Score: 3, Insightful

    Their software is just such horrific shitshows that tons of money can be made from offering consulting and maintenance services.

    These systems are prime examples of exactly how not to write code. The biggest being: Don't mix code with data. They should be kept completely separate from one another.

    1. Re:Drupal and Wordpress are awesome! by bjdevil66 · · Score: 1

      You did notice that he was ripping Drupal AND WordPress, right?

    2. Re:Drupal and Wordpress are awesome! by Anonymous Coward · · Score: 1

      Yes, this code and data mixing is a horror. I don't understand why more people don't rail against it.

    3. Re:Drupal and Wordpress are awesome! by drinkypoo · · Score: 1

      These systems are prime examples of exactly how not to write code. The biggest being: Don't mix code with data. They should be kept completely separate from one another.

      I'm confused as to what you're saying here. The data lives in a RDBMS, the code lives in PHP files. They're already in separate places.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    4. Re:Drupal and Wordpress are awesome! by ilsaloving · · Score: 1

      It's actually mixed up all over the place, at all levels.
      Doesn't matter if it's at the database level, or the file level, physically. Logically, it doesn't matter if it's at the system level or the content level. Data and code is mixed at every possible level.

      Because absolutely zero thought was given to enforcing any kind of formal structure, the entire architecture of the systems guarantee that you will run into a whole whackton of issues, such as:
      -A giant honking attack surface to work with. It's physically impossible to lock anything down as a preventative measure, because the data needs to be able to change.
      -Maintenance is an absolute nightmare because code and data can be literally anywhere, so being able to export and import records is very challenging, or basically trying to do anything that vaguely resembles formal development/approval processes.

      The best you can do is try to impose some kind of rigidity through various methods such as judicious use of carefully curated plugins or specifically avoid using features that make the problem worse. For example, if you don't permit article comments, forums, or anything that requires write-access, then you can treat the entire site as one fixed object. You can then have one instance of it that is writeable for making your updates on, then when you're happy you move the entire site to it's "production" instance and make the entire thing read-only to prevent malicious actors from making changes to it.

  6. Security by 93+Escort+Wagon · · Score: 1

    Remember when Drupal was supposed to be the “secure” alternative for a web CMS? Certainly over the past few years it seems to have had significantly more core vulnerabilities than Wordpress.

    (Note that I said “core”... plugins are another matter)

    --
    #DeleteChrome
    1. Re:Security by Anonymous Coward · · Score: 1

      No, a whitelist is a list of strings that are not filtered. It's empty unless otherwise set in Settings, which makes sense.+ (array) Settings::get(RequestSanitizer::SANITIZE_WHITELIST, []),

      + /**
      + * The name of the setting that configures the whitelist.
      + */
      + const SANITIZE_WHITELIST = 'sanitize_input_whitelist';

    2. Re:Security by drinkypoo · · Score: 1

      Remember when Drupal was supposed to be the âoesecureâ alternative for a web CMS?

      It still is. They have a security team that addresses vulnerabilities and they do a lot of work to maintain security in general. The fact that sometimes they fail does not change the fact that they are still the security-minded choice in prerolled CMSes. The average developer, trying to do all the things that Drupal does, might well also fail. Without many eyes on their code, they might well write serious security bugs which they do not catch.

      Once upon a time, you could build a wall and expect that it would protect you pretty well. Then someone invented the ladder, and the rest is history. Ever since, it's been both an arms race, and a situation where the only defense is defense in depth. Security is a process, not a product, and several other platitudes.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  7. Re:Who still runs Drupal in 2018? by XXeR · · Score: 1

    The one written in Perl.

    Hang on a second, what did Perl do to deserve getting pulled into this? Everything else was spot on, but that's taking it too far!!

  8. Re:Who still runs Drupal in 2018? by jellomizer · · Score: 2

    But the difference is. Drupal was made for the average Joe. Slashdot doesn't like technology that the average person off the street can use.
    How else do you show how superior you are to everyone else.

    We have one guy living in a nicely furnish home, where they have store bought fur nature. While Slashdotters are living in a home with furniture, that has rough edges, pieces that fall off, and sometimes bugs are eating them. Because they refuse to buy furniture, But went out into the woods, found a rock and banged it against another rock until they had some sort of blade, Used this stone blade to cut down a tree and chisel away enough of it to make it it appear to be like furniture.

    Sure there is pride in the accomplishment but at the end of the day, you may be stuck with less then quality furniture.

    --
    If something is so important that you feel the need to post it on the internet... It probably isn't that important.
  9. Re:Yeah by jellomizer · · Score: 1

    But the people who know the real scoop on most of these conspiracy keep on getting fired.

    Undisclosed person of power: I want the report on Aria 51!
    Undisclosed cabinet member: Here it is. They are about a dozen failed jet engine designs. and a couple of them that are considered out of date.
    Undisclosed person of power: And the UFO
    Undisclosed cabinet member: That was actually just a weather balloon. They launched them to get an idea of how the wind was going in the atmosphere to determine if is was safe for a test flight that night. It was blown off course. So the military picked it up, because they didn't want someone to get a hold of the broadcast radio, which was using a top secrete frequency.
    Undisclosed person of power: That boring and rational. Your fired, I needed you to tell the "Truth"

    --
    If something is so important that you feel the need to post it on the internet... It probably isn't that important.
  10. Re:Who still runs Drupal in 2018? by cascadingstylesheet · · Score: 1

    Ahh yes, an old fuck complaining about obsolete technology on Slashdot. Slashdot. The one written in Perl.

    I was wondering if they'd let you out of your room on a day pass long enough to show up, still calling everything Micro$$$haft and proclaiming Gentoo to be the way of the future perchance?

    You think he's old?!?

    by xxxJonBoyxxx ( 565205 )

    I'll show ya old, sonny. Sheesh, kids these days ...

  11. Re:Who still runs Drupal in 2018? by Bert64 · · Score: 1

    On the other hand a competent craftsman can produce much higher quality furniture than the cheap garbage built from reformed sawdust you get from most furniture retailers these days.

    --
    http://spamdecoy.net - free throwaway anonymous email - avoid spam!
  12. Patch for Drupal 6 and 5 too by Anonymous Coward · · Score: 2, Informative

    Drupal 6 and 5 are EOL, but still get patches due to the severity of the issue:

    For Drupal 6: https://www.drupal.org/files/issues/2018-03-28/SA-CORE-2018-002.patch
    For Drupal 5: https://www.drupal.org/files/issues/2018-03-28/sa-core-2018-002-d5.patch

    From the Drupal 6 Long Term Support here: https://www.drupal.org/project/d6lts/issues/2955130

  13. Turnkey by duke_cheetah2003 · · Score: 1

    And yet again, turnkey systems rear their ugly truth: If one is vulnerable, then they all are.

    Stay away from turnkey solutions, roll your own, know what you have and how it works.

    1. Re:Turnkey by Gramie2 · · Score: 3, Insightful

      Yes, and become an expert in security (filesystem, network and databases especially), in accessibility, performance and optimization (especially caching), content searching.

      Oh, and your solution should be expandable to seamlessly handle e-commerce, calendaring, blogs, forums, email, producing and consuming RSS and Atom feeds, allow OAuth/Google/Facebook authentication.

      It should allow different layouts and menus on every page, if desired. It should be able to run headless, so that you can throw an Angular front-end on it. It should handle multiple websites with the same codebase. Give me an easy way to import and export data. And make it user-friendly so Brenda in Marketing can update our pages, including uploading images and embedding videos.

      I've been a developer at the early days of a custom CMS, and it was ugly, very ugly.

      There is a reason that CMSs exist, and not just because people are lazy, but because any one of the things I mentioned above is very hard to do right. Keeping up with changes in technology and evolving security risks is a full-time job for a bunch of people. To do all of it together is really, really hard and the reason that yesterday's security alert exists.

  14. Re: You Fail It by Anonymous Coward · · Score: 1

    No it just means if you can fix it yourself nothing is in your way.

  15. Re:Yeah by dcollins117 · · Score: 2

    Undisclosed person of power: I want the report on Aria 51!

    Aria 51 is from one of Puccini's lesser-known and enigmatic operas "lombrichi dallo spazio" circa 1896.

    It caused quite a stir amongst the classe privilegiata.

  16. Re: Who still runs Drupal in 2018? by bjdevil66 · · Score: 2

    We use Pantheon, and it scales up Drupal for traffic/bandwidth without a hitch.

  17. Re:Who still runs Drupal in 2018? by bjdevil66 · · Score: 2

    We're a large, American university - and we're about 2/1 Drupal to WordPress.

    With that said, the key isn't which CMS is better. It's which CMS just works for them in terms of saving money and time. While our Drupal build isn't great, many departments use it because there's a pre-built, profile-based, customized version of Drupal that does 95% of what they want - and that's "Good Enough" (TM). They learn to deal with Drupal's UI shortcomings while we try to improve our existing UI to make it as easy for them to do their jobs as possible.

    In the meantime, the college has a WordPress system that is very efficient in giving them basic site spinups that match our university's Web standards.

  18. Re:Who still runs Drupal in 2018? by keithm · · Score: 1

    Are you saying that *you* are old? (smile)

    This is my first Slashdot comment since 1999.

    And the first web site I wrote used Visual dBase as the back end.

  19. Re:Who still runs Drupal in 2018? by um...+Lucas · · Score: 1

    What are you going on about? Geez.

    Kids these days...

  20. Re:Who still runs Drupal in 2018? by um...+Lucas · · Score: 1

    Got ya beat.

  21. Subjects on posts are stupid. by thegarbz · · Score: 1

    Nope. Who the fuck reads subjects anyways. Subjects on posts are stupid.

  22. code igniter by wolfheart111 · · Score: 1

    I found something like this to be helpful instead a cms https://codeigniter.com/ and if google wants to remove things from their search results try removing generic brandings like "powered by wordpress" ect...

    --
    [($)]
  23. Re:Drupal is a mess ... by drinkypoo · · Score: 1

    Wordpress tends to both have more remote code execution vulnerabilities, and be exploited more than Drupal in actual practice. There is no real evidence that one is higher quality than the other, only that Drupal's process is superior. They are better at curation, if not development. Both are capable of failure. I'm certain, though, that if I tried to implement all the parts of a CMS that I personally use, I'd do worse than either one.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  24. Greenspun's Tenth Rule by UnConeD · · Score: 1

    It's because the part of Drupal that's vulnerable is the part that satisfies Greenspun's rule: sufficiently complex software will contain an adhoc, bug ridden version of common lisp (i.e. render arrays, i.e. deferred evaluation). And lisp is about realizing that code is data.

    But without a language that has that built into its core, you're more likely to shoot yourself in the foot.

    By the way, if you don't think code and data will necessarily mix, your software never does anything surprising.