Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Site Bugs / Suggestions
  4. CodeProject insecure login

CodeProject insecure login

Scheduled Pinned Locked Moved Site Bugs / Suggestions
questionsecurity
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • _ Offline
    _ Offline
    _groo_
    wrote on last edited by
    #1

    Why does CodeProject provide insecure login at the top of the page? If I type the wrong password in the box first time, then it will take me to a https page, which is a good thing. But since CP already has SSL anyway, I don't see a reason to leave this vulnerability?

    D 1 Reply Last reply
    0
    • _ _groo_

      Why does CodeProject provide insecure login at the top of the page? If I type the wrong password in the box first time, then it will take me to a https page, which is a good thing. But since CP already has SSL anyway, I don't see a reason to leave this vulnerability?

      D Offline
      D Offline
      DaveAuld
      wrote on last edited by
      #2

      If you look at the source of the page, the login form submits to an HTTPS target

      <script type="text/javascript">//<!--
      function doSubmit(secure)
      {
      if (secure)
      document.subForm.action = "https://www.codeproject.com/script/Membership/LogOn.aspx?rp=%2FMessages%2F4365528%2FRe-CodeProject-insecure-login.aspx"
      else
      document.subForm.action = "https://www.codeproject.com/script/Membership/LogOn.aspx?rp=%2FMessages%2F4365528%2FRe-CodeProject-insecure-login.aspx"
      document.subForm.submit();
      return true;
      }//-->
      </script>

              <a name="SignUp"></a>
              <form name="subForm" id="subForm" action="https://www.codeproject.com/script/Membership/LogOn.aspx?rp=%2fMessages%2f4365528%2fRe-CodeProject-insecure-login.aspx" method="post" class="tight">
      

      Dave Find Me On: Web|Facebook|Twitter|LinkedIn


      Folding Stats: Team CodeProject

      _ 1 Reply Last reply
      0
      • D DaveAuld

        If you look at the source of the page, the login form submits to an HTTPS target

        <script type="text/javascript">//<!--
        function doSubmit(secure)
        {
        if (secure)
        document.subForm.action = "https://www.codeproject.com/script/Membership/LogOn.aspx?rp=%2FMessages%2F4365528%2FRe-CodeProject-insecure-login.aspx"
        else
        document.subForm.action = "https://www.codeproject.com/script/Membership/LogOn.aspx?rp=%2FMessages%2F4365528%2FRe-CodeProject-insecure-login.aspx"
        document.subForm.submit();
        return true;
        }//-->
        </script>

                <a name="SignUp"></a>
                <form name="subForm" id="subForm" action="https://www.codeproject.com/script/Membership/LogOn.aspx?rp=%2fMessages%2f4365528%2fRe-CodeProject-insecure-login.aspx" method="post" class="tight">
        

        Dave Find Me On: Web|Facebook|Twitter|LinkedIn


        Folding Stats: Team CodeProject

        _ Offline
        _ Offline
        _groo_
        wrote on last edited by
        #3

        I am aware of that, but it doesn't prevent an MITM attack. Whenever there are input boxes on a page which is not secured, nothing guarantees you that you are not being a victim of a MITM attack. All form post links could be rewritten to send the data elsewhere. Even worse, page could be running a key-logging JavaScript code, and no-one would have a clue that their passwords have being stolen before they even clicked the submit button.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups