• @[email protected]
    link
    fedilink
    1212 days ago

    Probably, but if you’re interpreting user inputs as raw code, you’ve got much much worse problems going on, lol.

    • LostXOR
      link
      fedilink
      282 days ago

      [...]&register=import os; os.system("sudo rm -rf /"); return True

      • @[email protected]
        link
        fedilink
        142 days ago

        Hey, that’s my username too. Or it was going to be, while the site was still up.

        What a coincidence!

        I guess I’ll wait for the site to come back, and see if it’s still available…

      • @[email protected]
        link
        fedilink
        8
        edit-2
        2 days ago

        A good place to put persistent malware. That’s why when using docker images always mount as ro if at all possible.

        • Ashley
          link
          fedilink
          92 days ago

          It’s you can modify the settings file you sure as hell can put the malware anywhere you want

        • @[email protected]
          link
          fedilink
          42 days ago

          Every environment has plenty of good places to put persistent malware. Even if you run your docker images as ro.

    • Trailblazing Braille Taser
      link
      fedilink
      72 days ago

      Given the warning about capitalization, the best possible case is that they’re using ast.literal_eval() rather than throwing untrusted input into eval().

      Err, I guess they might be comparing strings to ‘True’ and are choosing to be really strict about capitalization for some reason.