Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    upgring openssh since it's vulnerable

    Scheduled Pinned Locked Moved General pfSense Questions
    11 Posts 5 Posters 905 Views 5 Watching
    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.
    • A Offline
      ageis
      last edited by

      The latest community edition has a version of openssh that has security holes in it. am I correct in saying there isnt a way for me to fix this now?

      https://www.cve.org/CVERecord?id=CVE-2024-6387

      johnpozJ A 2 Replies Last reply Reply Quote 0
      • johnpozJ Offline
        johnpoz LAYER 8 Global Moderator @ageis
        last edited by johnpoz

        @ageis that looks like a specific redhat issue.. pfsense runs on freebsd.

        I found this

        https://blog.qualys.com/vulnerabilities-threat-research/2024/07/01/regresshion-remote-unauthenticated-code-execution-vulnerability-in-openssh-server

        Freebsd not screaming out to me.. Couple of things - it mentions.

        (RCE) vulnerability in OpenSSH’s server (sshd) in glibc-based Linux systems.

        Pfsense does not run on linux.

        And then this about openbsd, which is freebsd brother.

        OpenBSD systems are unaffected by this bug, as OpenBSD developed a secure mechanism in 2001 that prevents this vulnerability.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 26.03.1 | Lab VMs 2.8.1, 26.07

        F 1 Reply Last reply Reply Quote 0
        • F Offline
          femtosize @johnpoz
          last edited by

          @johnpoz https://www.freebsd.org/security/advisories/FreeBSD-SA-24:04.openssh.asc

          johnpozJ 1 Reply Last reply Reply Quote 0
          • johnpozJ Offline
            johnpoz LAYER 8 Global Moderator @femtosize
            last edited by johnpoz

            @femtosize from 2024, listing old freebsd versions.. 2.8.1 runs FreeBSD 15.0-CURRENT

            Just because the version of openssh says 9.7p1, and the cve shows 9.8p1 clear doesn't mean the version of openssh your running has not been patched.. Looks like to me this was patched in freebsd 14.1p2 - which pfsense 2.8.1 is running 15..

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 26.03.1 | Lab VMs 2.8.1, 26.07

            SteveITSS 1 Reply Last reply Reply Quote 0
            • A Offline
              ageis @ageis
              last edited by

              oh lesson learnt the pentest tool isnt bullet proof. thats very embrassing. nvm

              johnpozJ 1 Reply Last reply Reply Quote 0
              • johnpozJ Offline
                johnpoz LAYER 8 Global Moderator @ageis
                last edited by johnpoz

                @ageis many of those tools just look at big version numbers of applications and can give false positives all the time..

                edit:
                I think I saw a python script for specific test of this - you could prob run that if your really concerned.. But find it almost impossible to fathom this has not been patched in pfsense to be honest. Is your ssh exposed to the public internet? Or would you worried about attacks from your local network?

                To be honest many of these sorts of exploits and issues can be mitigated with common sense security practices.. I personally wouldn't have ssh exposed to the public internet.. I vpn to pfsense when I need to remote admin it.

                Locally the only things that should be able to even talk to the pfsense gui or ssh would be admin machines on your admin vlan, etc.

                But you for sure did the right thing - check on it if concerned.. I would have to see if this was specifically addressed before with admin or developer chiming in. I don't recall this specific cve but from my quick look I would assume its been addressed quite some time ago.

                edit2: here was the post from admin about it

                https://forum.netgate.com/topic/189010/netgate-security-advisory-cve-2024-6387?_=1774639839498

                here is another thread about it

                https://forum.netgate.com/topic/188992/sshd-cve-2024-6387-vulnerability?_=1774639839506

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 26.03.1 | Lab VMs 2.8.1, 26.07

                A 1 Reply Last reply Reply Quote 0
                • A Offline
                  ageis @johnpoz
                  last edited by

                  @johnpoz I was just messing about.

                  I have already locked it to a particular ip.

                  Yeah i would agree but i embrassingly locked myself out of the vpn by changing it to use tcp instead of udp then forgot to update the firewall rule. lol. So I allow a back door. I use ssh to tunnel through to the admin interface.

                  I would stay away from the firewall if i ever get a job in IT support

                  johnpozJ 1 Reply Last reply Reply Quote 0
                  • johnpozJ Offline
                    johnpoz LAYER 8 Global Moderator @ageis
                    last edited by

                    @ageis said in upgring openssh since it's vulnerable:

                    I would stay away from the firewall if i ever get a job in IT support

                    ahahah ;)

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 26.03.1 | Lab VMs 2.8.1, 26.07

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S Online
                      stephenw10 Netgate Administrator
                      last edited by

                      Yup, this should have been fixed here: https://github.com/pfsense/FreeBSD-src/commit/2abea9df01655633aabbb9bf3204c90722001202
                      That's in 2.8.1.

                      1 Reply Last reply Reply Quote 1
                      • SteveITSS Offline
                        SteveITS Rebel Alliance @johnpoz
                        last edited by

                        @johnpoz said in upgring openssh since it's vulnerable:

                        Just because the version of openssh says 9.7p1, and the cve shows 9.8p1 clear doesn't mean the version of openssh your running has not been patched.

                        Side note, Red Hat and derivatives don’t change version numbers in patches. It was a bit annoying to talk to pen testers when we had more CentOS servers. “it’s fine trust me.” Or just turn off version display and let em guess. :)

                        To upgrade, select your branch in System/Update/Update Settings. When upgrading, allow 10-15 minutes to reboot, or more depending on packages, CPU, and/or disk speed.
                        Only install packages for your version of pfSense.
                        Upvote 👍 helpful posts!

                        johnpozJ 1 Reply Last reply Reply Quote 0
                        • johnpozJ Offline
                          johnpoz LAYER 8 Global Moderator @SteveITS
                          last edited by johnpoz

                          @SteveITS said in upgring openssh since it's vulnerable:

                          Or just turn off version display and let em guess.

                          Hahah - yeah that is a common security thing anyway, not to display banners, etc.

                          I recall, this was back some time ago (long time ago) - they wanted for us to dump our sam db to give to them so they could scan for weak passwords and the like.. I told them if we are so insecure you get it yourself.. I will plug you into a user port.. You get the db ;)

                          told them - here look, this is our policy for what users need to set their passwords too, I am not just handing you the db on a silver platter ;)

                          Thought you were suppose to be testing our security - not telling me our users are using stupid passwords, which yeah they are users - they will do that ;)

                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                          If you get confused: Listen to the Music Play
                          Please don't Chat/PM me for help, unless mod related
                          SG-4860 26.03.1 | Lab VMs 2.8.1, 26.07

                          1 Reply Last reply Reply Quote 1
                          • First post
                            Last post
                          Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                          Privacy Policy · Cookie Policy