• @bleistift2@feddit.de
    link
    fedilink
    192 years ago

    cleartext usernames and passwords as the URI components of GET requests

    I’m not an infrastructure person. If the receiving web server doesn’t log the URI, and supposing the communication is encrypted with TLS, which removes the credentials from the URI, are there security concerns?

    • @nudelbiotop@feddit.de
      link
      fedilink
      24
      edit-2
      2 years ago

      Anyone who has access to any involved network infrastructure can trace the cleartext communication and extract the credentials.

    • @ItsMyFirstDay@lemmy.world
      link
      fedilink
      82 years ago

      I’m not 100% on this but I think GET requests are logged by default.

      POST requests, normally used for passwords, don’t get logged by default.

      BUT the Uri would get logged would get logged on both, so if the URI contained @username:Password then it’s likely all there in the logs

      • Get and post requests are logged

        The difference is that the logged get requests will also include any query params

        GET /some/uri?user=Alpha&pass=bravo

        While a post request will have those same params sent as part of a form body request. Those aren’t logged and so it would look like this

        POST /some/uri

    • @netvor@lemmy.world
      link
      fedilink
      42 years ago

      I would still not sleep well; other things might log URI’s to different unprotected places. Depending on how the software works, this might be client, but also middleware or proxy…

    • @nijave@lemmy.world
      link
      fedilink
      English
      12 years ago

      Browser history

      Even if the destination doesn’t log GET components, there could be corporate proxies that MITM that might log the URL. Corporate proxies usually present an internally trusted certificate to the client.