• TimeSquirrel@kbin.melroy.org
    link
    fedilink
    arrow-up
    88
    arrow-down
    1
    ·
    8 days ago

    Simply removing the two-factor auth element which does nothing to access the main page underneath. I do that shit with newspaper paywalls. That is wild.

    Also having a script in there that just resets a password no questions asked. WTF is going on with modern software development? It isn’t just Subaru. It’s almost everything in the last 15 years. Behind all the pretty lipstick, IT systems are jankier than ever.

    For any aspiring programmers, remember, never ever assume the user is rational, expecting them to follow the rules. At least half of your user data-handling code should be validation and sanity checks. Code defensively.

    • TheKMAP@lemmynsfw.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 days ago

      That password reset looked to be like step four of something. So it’s a business logic bypass. Still awful of course but slightly more understandable given other ways this vulnerability could have been introduced. The cool part was detecting all the steps completely blackbox because everything was in the Javascript.

      There is no excuse for issuing a valid token before mfa succeeds though. That is negligent.

    • edric@lemm.ee
      link
      fedilink
      English
      arrow-up
      71
      ·
      8 days ago

      WTF is going on with modern software development?

      Lowest bidder.

    • Viri4thus@feddit.org
      link
      fedilink
      English
      arrow-up
      12
      arrow-down
      29
      ·
      8 days ago

      Subcontracted to Indian, Ucranian and other low income countries. You get what you pay for.

      • unalivejoy@lemm.ee
        link
        fedilink
        English
        arrow-up
        34
        arrow-down
        2
        ·
        8 days ago

        Just subcontracts in general. No need to bring any specific country into this.

        • sugar_in_your_tea@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          5
          ·
          7 days ago

          Idk, we work with two companies, one based in India and the other in E. Europe, and the E. Europe code quality is certainly better. There are great devs on each, but each group needs a different type of hand holding. The Indian group follows instructions too literally and doesn’t ask enough questions, and the E. Europe group takes too many liberties and doesn’t ask enough questions.

          I think it has more to do with he nature of how get get paid, but each country has its own idiosyncracies.

        • Viri4thus@feddit.org
          link
          fedilink
          English
          arrow-up
          6
          arrow-down
          15
          ·
          8 days ago

          Only someone who was never forced to outsource critical software to low pay companies basically sweatshoping software, thinks outsourcing is equal throughout the world. Everyone loses in that chain except the C type that shows nice numbers that quarter for a nice performance number. Meanwhile shit like the one above propagates like wildfire.