Alternate version:

  • HiddenLayer555@lemmy.mlOP
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    19 days ago

    Bypassing authentication or checks by incorporating a statement that always returns true, and doing an ‘or’ operation with the statement being injected. It manipulates the return value of the SQL statement to make it always return true, so if the website is checking if the statement returned true to indicate, for example, the password is correct, it will now think that was the case.

    • CanadaPlus@lemmy.sdf.org
      link
      fedilink
      arrow-up
      0
      ·
      17 days ago

      So does that imply they already knew the candidate they were hiring, and were just checking if this is the guy?

      • MadhuGururajan@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        7 days ago

        No the interviewer is personification of the naive backend that checks only that a specific row is present in the DB, or that’s how I read it.

        • CanadaPlus@lemmy.sdf.org
          link
          fedilink
          arrow-up
          0
          ·
          6 days ago

          So I guess the interview is handled by a non-vulnerable intermediate process, which adds the hire to the the main table of employees when at some point in a successful interview, and then calls a notification process that just searches it?