• @[email protected]
    link
    fedilink
    English
    531 day ago

    This was my thought as well, sanitize your inputs! Are they not quoting/casting to string before input?

    • Cousin Mose
      link
      fedilink
      English
      471 day ago

      Unless you’re coding from scratch it’s hard to not do this with any modern framework.

      • @Cocodapuf
        link
        English
        5
        edit-2
        12 hours ago

        Unless you’re coding from scratch it’s hard to not do this with any modern framework.

        I think that word modern is doing a lot of heavy lifting there.

        A lot of systems simply aren’t modern. There’s always that mentality of “well, it’s been working for the last 12 years, let’s not mess with it now”, despite all the valid objections like "but it’s running on Windows2000” or “it’s a data breach waiting to happen”…

        • Cousin Mose
          link
          fedilink
          English
          110 hours ago

          Is it though? I haven’t used a framework since probably 2007 that doesn’t do this. There are the smaller, more DIY frameworks out there but I’ve never used them professionally.

          • @Cocodapuf
            link
            English
            112 hours ago

            Thanks, I missed that

        • @T156
          link
          English
          41 day ago

          And it’s probably not seen as urgent enough an issue to need replacing the whole system for.

      • @[email protected]
        link
        fedilink
        English
        191 day ago

        Word press code, and plugins, do not sanitize out of the box. You have to call an additional function, each time, that is not provided automatically. Many home made plugins miss that; many popular plugins used to be home made ones

      • SkaveRat
        link
        fedilink
        English
        131 day ago

        A couple years ago I wanted to write a simple website with SQL injection vulnerability, so I could demonstrate sqlmap to someone

        It was surprisingly difficult (and every fiber in my body screamed)