Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-20243

Allow login only through POST

    XMLWordPrintable

    Details

    • Type: Clean up
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 8.3
    • Fix Version/s: 8.10
    • Component/s: Security, Web Common

      Description

      URL/Location

      https://bounty.nuxeo.com/nuxeo/login.jsp

      Parameter

      vulnerable endpoint: https://bounty.nuxeo.com/nuxeo/nxstartup.faces

      Description

      hi
      the login form transmit data via POST request.
      but at the same time,the API accept data using a GET request like this:
      https://bounty.nuxeo.com/nuxeo/nxstartup.faces?user_name=test&user_password=test&language=fr_FR&requestedUrl=&forceAnonymousLogin=&form_submitted_marker=&Submit=Connexion

      API should only accept POST request here!

      as a POC,i can't find a good scenario on how to exploit this!
      maybe this could be a bug and not a vulnerability!
      some times this is used to bypass captcha and rate limiting on login form!
      hope that you just provide me with more information if Nuxeo use any protection on login form,to see if this could help to bypass it or no!
      at the same time,this need fix!

      thanks.

      Proof of concept

      this is the login endpoint:

      https://bounty.nuxeo.com/nuxeo/nxstartup.faces?user_name=test&user_password=test&language=fr_FR&requestedUrl=&forceAnonymousLogin=&form_submitted_marker=&Submit=Connexion

      i used test as a username and password!
      you can test it with a valid credential by changing the user_name= and user_password value

      then you will login succefully!

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours
                6h