• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

FreeRadius XMLRPC admin password

Scheduled Pinned Locked Moved pfSense Packages
5 Posts 3 Posters 1.6k Views
Loading More Posts
  • 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.
  • Q
    qwertz
    last edited by May 15, 2013, 1:24 PM

    When using '$' in a password for the admin login on sync slaves,
    the web interface of the FreeRadius package seem to consume '$' and all following characters.
    In my case until it found a '?' later in the password.
    Works perfectly in UserManager and CARP.

    Isn't that a security hole in the 'GUI Admin Password' field ?

    Also the password is saved clear text in the config.xml.
    Shouldn't it be encrypted ?

    1 Reply Last reply Reply Quote 0
    • M
      marcelloc
      last edited by May 15, 2013, 1:35 PM

      @qwertz:

      the web interface of the FreeRadius package seem to consume '$' and all following characters.

      The code is interpreting it as a php var.

      @qwertz:

      Also the password is saved clear text in the config.xml.
      Shouldn't it be encrypted ?

      Encrypt your backup files to keep it safe.
      xmlrpc code needs to authenticate on remote system and AFAIK this is the only way to do that on current pfsense code.

      There is a new sync gui that uses system sync settings to push config to slave box, but I think it's no applied to Freeradius yet.

      Treinamentos de Elite: http://sys-squad.com

      Help a community developer! ;D

      1 Reply Last reply Reply Quote 0
      • Q
        qwertz
        last edited by May 15, 2013, 1:42 PM

        @marcelloc:

        The code is interpreting it as a php var.

        Isn't it possible then to inject unwanted code here ?

        @marcelloc:

        Encrypt your backup files to keep it safe.
        xmlrpc code needs to authenticate on remote system and AFAIK this is the only way to do that on current pfsense code.

        There is a new sync gui that uses system sync settings to push config to slave box, but I think it's no applied to Freeradius yet.

        OK, so will change password.
        Thx.

        1 Reply Last reply Reply Quote 0
        • M
          marcelloc
          last edited by May 15, 2013, 1:46 PM

          @qwertz:

          Isn't it possible then to inject unwanted code here ?

          It's a good question and may need some tests but IIRC, there is a limit om password fields(that may limit injection code) and on normal use, only admins has access to pfsense gui.

          Treinamentos de Elite: http://sys-squad.com

          Help a community developer! ;D

          1 Reply Last reply Reply Quote 0
          • C
            cmb
            last edited by May 15, 2013, 5:11 PM

            @qwertz:

            Also the password is saved clear text in the config.xml.
            Shouldn't it be encrypted ?

            It can't be securely.
            http://doc.pfsense.org/index.php/Why_are_some_passwords_stored_in_plaintext_in_config.xml%3F

            1 Reply Last reply Reply Quote 0
            5 out of 5
            • First post
              5/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received