Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-13393

Failed CMS login doesn't give proper http response code

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Fixed
    • None
    • 12.6.11, 13.4.4, 14.3.0
    • None
    • None
    • Flagged
    • Pulsar
    • Pulsar 240 - 14.3 Hardening, Pulsar 241 - Site Dev APIs 1

    Description

      When you fail to login to the CMS you don't get the correct http response code as result. This makes it more difficult to react to failed logins with web-application-firewall (waf).
      I've tested this with 13.4.1-1

      Reproduction path:

      • Run a project locally
      • Go to the CMS login page
      • Observe network traffic in browser dev tools
      • Enter wrong credentials

      Expectected behaviour:

      • get a 401 (Unauthorized) response code

      Actual result

      • get a 302 (Found), forwarding to "Location: ./?0"
      • get a number of 200 response codes

      Attachments

        Activity

          People

            Unassigned Unassigned
            nout Niels Out
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: