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

    (solved) Nessus vulnerability false positives

    Scheduled Pinned Locked Moved General pfSense Questions
    40 Posts 6 Posters 6.1k 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.
    • M
      MaxBishop
      last edited by

      I am running version 2.4.2-RELEASE-p1 (amd64)

      A Nessus scan shows several false positives identified as: pfSense < 2.1.1 Multiple Vulnerabilities

      It reports my installed version as: unknown..0

      My question is: is the current version of pfSense hiding its version?

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

        How exactly are you scanning - from public wan side or lan side?  do you have ports open on the wan?  What exactly are you scanning with, what version of Nessue/Tenable?

        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 24.11 | Lab VMs 2.7.2, 24.11

        1 Reply Last reply Reply Quote 0
        • M
          MaxBishop
          last edited by

          Hi,

          I'm scanning from the LAN side with:
          Nessus  7.0.1 (#108) LINUX
          Updated: February 7 at 12:15 PM
          Plugin set: 201802071215

          The scan identifies 4 Critical, 5 High, and 9 Medium level vulnerabilities.

          
          CRITICAL	10.0		106488	pfSense < 2.1.1 Multiple Vulnerabilities (SA-14_02 - SA-14_03)
          CRITICAL	10.0		106490	pfSense SA-14_08 / pfSense SA-14_09 / pfSense SA-14_10 / pfSense SA-14_11 / SA-14-12	SA-14-12 : Multiple Vulnerabilities
          CRITICAL	10.0		106491	pfSense < 2.1.5 Multiple Vulnerabilities (SA-14_15 - SA-14_17)
          CRITICAL	0.0		106499	pfSense SA-16_01 / SA-16-02 : Multiple Vulnerabilities
          HIGH		9.0		106501	pfSense < 2.3.1-p1 Multiple Vulnerabilities (SA-16_05)
          HIGH		9.0		106502	pfSense < 2.3.1-p5 Multiple Vulnerabilities (SA-16_07 - SA-16_08)
          HIGH		9.0		106503	pfSense < 2.3.3 Multiple Vulnerabilities (SA-17_01 - SA-17_03)
          HIGH		7.8		106489	pfSense < 2.1.3 Remote Denial of Service Vulnerability (SA-14_05)
          HIGH		7.5		106498	pfSense SA-15_10 / SA-15-11 : Multiple Vulnerabilities
          MEDIUM		6.8		106493	pfSense < 2.2.1 Multiple Vulnerabilities (SA-15_02 - SA-15_04)
          MEDIUM		4.3		106492	pfSense < 2.2 Multiple Vulnerabilities (SA-15_01)
          MEDIUM		4.3		106494	pfSense < 2.2.2 Multiple Vulnerabilities (SA-15_05)
          MEDIUM		4.3		106495	pfSense < 2.2.3 Multiple Vulnerabilities (SA-15_07)
          MEDIUM		4.3		106496	pfSense < 2.2.4 Multiple Vulnerabilities (SA-15_07)
          MEDIUM		4.3		106497	pfSense < 2.2.5 Multiple Vulnerabilities (SA-15_08)
          MEDIUM		4.3		106500	pfSense SA-16_03 / SA-16-04 : Multiple Vulnerabilities
          MEDIUM		4.3		106504	pfSense < 2.3.4 DHCP Lease Display XSS (SA-17_04)
          MEDIUM		4.3		106505	pfSense < 2.3.4-p1 Multiple Vulnerabilities (SA-17_05 - SA-17_06)
          
          

          I can provide a more detailed report, but again, all of these are based on the reported pfSense version number (unknown..0).

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

            Well clearly something is not right if your running 2.4.2p1 and all those issues are related to running pfense below looks like 2.3.4p1

            I will have to fire up nessus and do a scan, just haven't played with it in a bit - will fire up that VM…

            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 24.11 | Lab VMs 2.7.2, 24.11

            1 Reply Last reply Reply Quote 0
            • M
              MaxBishop
              last edited by

              Hi,
              Thanks,
              Let me know if you need any other information.
              Meanwhile, I'll check it out in my VM prototype network too.

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

                Just installed 7.0.1 plugins are compiling should be able to scan here shortly.

                nessus.png
                nessus.png_thumb

                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 24.11 | Lab VMs 2.7.2, 24.11

                1 Reply Last reply Reply Quote 0
                • M
                  MaxBishop
                  last edited by

                  Hi,

                  My virtual network gives me the same results.

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

                    Its still working on the plugins - as soon as it finishes.. If I can duplicate the problem then we can look into why and raise it to either nessus or pfsense… I know for sure I am running 2.4.2p1... I would assume ;) you know what version your running.. I take it your running one on hardware and other on some vms.  I also have a pfsense vm I can scan.. Currently using sg4860 which is what I will scan first as soon as the plugins finish...

                    getinthere.png
                    getinthere.png_thumb

                    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 24.11 | Lab VMs 2.7.2, 24.11

                    1 Reply Last reply Reply Quote 0
                    • M
                      MaxBishop
                      last edited by

                      Correct: 2.4.2-RELEASE-p1 (in both VM and native network)

                      My VM network is an isolated system with its own pfsense router.

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

                        My guess is whatever they are doing to detect version is flawed in someway… Normally you can actually look at the source of the script they use for that specific detection and the output... Will know more and be able get more details once I can get my system showing the same thing or maybe not.. Its about ready I hope ;)

                        They are not actually check for the issue, they are just reporting known issues with version its detecting which seems to be under 2.1.1?

                        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 24.11 | Lab VMs 2.7.2, 24.11

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

                          Ok not seeing what your seeing… Pretty sure picked the firewall plugins... But let me double check and run another scan... All hits I understand or am OK with.  The only one going to look into is the ssl 2 and 3..  No use for those on the webgui - but then again only can hit that from my trusted network so not really an issue.  And can sure setup nessus to trust my cert signed by my CA..

                          What exact scan did you do so I can duplicate what you did.. I just picked the basic network scan and thought I had selected the firewalls plugin which includes the pfsense web gui stuff...  But will double check that.

                          scanresults.png
                          scanresults.png_thumb

                          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 24.11 | Lab VMs 2.7.2, 24.11

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

                            Yeah your going to have to give exact details of your scan… I can not seem to get it to show those issues.

                            Information about this scan :

                            Nessus version : 7.0.1
                            Plugin feed version : 201802080515
                            Scanner edition used : Nessus
                            Scan type : Normal
                            Scan policy used : Basic Network Scan
                            Scanner IP : 192.168.9.211
                            Port scanner(s) : snmp_scanner
                            Port range : default
                            Thorough tests : no
                            Experimental tests : no
                            Paranoia level : 1
                            Report verbosity : 1
                            Safe checks : yes
                            Optimize the test : yes
                            Credentialed checks : no
                            Patch management checks : None
                            CGI scanning : enabled
                            Web application tests : enabled
                            Web app tests -  Test mode : single
                            Web app tests -  Try all HTTP methods : no
                            Web app tests -  Maximum run time : 5 minutes.
                            Web app tests -  Stop at first flaw : CGI
                            Max hosts : 30
                            Max checks : 5
                            Recv timeout : 5
                            Backports : Detected
                            Allow post-scan editing: Yes
                            Scan Start Date : 2018/2/8 11:55 CST
                            Scan duration : 699 sec

                            less...

                            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 24.11 | Lab VMs 2.7.2, 24.11

                            1 Reply Last reply Reply Quote 0
                            • M
                              MaxBishop
                              last edited by

                              Hi,

                              Advanced Scan:
                                  Discovery
                                    General: Test the Local Nessus host
                                    Ping Methods: ARP, TCP=built-in, ICMP(max=2)
                                Port Scanning:
                                    Local Port Enumerators: SSH,  WMI, SNMP, [only run if local failed]
                                    Network Scanners: SYN
                                Service Discovery
                                    General: Probe all ports
                                    Search for SSL/TLS ciphers - enumerate all 
                                Assessment
                                    General: default
                                    Brute Force: Only use credentials provided
                                Web Applications: Scan web applications: ON

                              The last item may be of interest.

                              Meanwhile, I'll try the scan without the Web Applications scan. Then I'll try it with a "reset to factory" in the VM.

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

                                thanks

                                You mean host discovery.. There are options under advanced for discovery..

                                Yeah that doesn't do much of anything… Please walk me through what your doing on the newscan screen..  What you pick what you change in settings, etc.

                                newscan.png
                                newscan.png_thumb

                                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 24.11 | Lab VMs 2.7.2, 24.11

                                1 Reply Last reply Reply Quote 0
                                • M
                                  MaxBishop
                                  last edited by

                                  I edited that last post. (Sorry, I hit post before I was done.)

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

                                    Yeah scan is running now..

                                    Yeah Not seeing anything like what your seeing… Did your exact scan settings.  See my previous post of what it finds for warnings.

                                    You running like proxy or pfblocker or something?  The finding of ssl 2 and 3 is because of the ntopng interface on 3000, not the pfsense gui in my findings.

                                    Here attached scan using your walk through of what you changed... Not anything like what your seeing..  You must of brokensomething or had a failed update or something??

                                    yoursettings.png
                                    yoursettings.png_thumb

                                    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 24.11 | Lab VMs 2.7.2, 24.11

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      MaxBishop
                                      last edited by

                                      Hi,

                                      I did have pfBlocker and Suricata installed. Here's what I'm going to do:

                                      1. Uninstall pfBlocker and Suricata and rerun

                                      If that fails, I'll create a fresh install and try it.

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        MaxBishop
                                        last edited by

                                        OK,

                                        On my Advanced scan I have a plugin tab that shows the CGI abuses plugin as enabled (image attached)

                                        On a from-scratch install, running the scan shows the same set of critical/high/medium vulnerabilities.

                                        However, running the scan with the CGI abusus plugin disabled removes the detections.

                                        Do you have this plugin enabled?

                                        cgiAbuses.jpg
                                        cgiAbuses.jpg_thumb

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

                                          All plugins enabled… Yes went through and made sure my settings were exactly how you stated your settings are... Can post screenshots if you want.

                                          Seems I even have 1 more plugin than you under that 3785, you list 3784..

                                          My plugins dated

                                          Plugins
                                          Last Updated
                                          Today at 5:15 AM
                                          Expiration
                                          February 06, 2023
                                          Plugin Set
                                          201802080515

                                          Seems your plugins are from yesterday? "201802071215" - you could update them..

                                          edit:  Where exactly did you find this? "reported pfSense version number (unknown..0)."

                                          dupesettings.png
                                          dupesettings.png_thumb

                                          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 24.11 | Lab VMs 2.7.2, 24.11

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            MaxBishop
                                            last edited by

                                            Below I have the details of one example where the pfSense version shows as unknown. All of the vulnerabilities are in the CGI abuses category and all appear to occur because the version could not be determined by Nessus.

                                            I have also included a screenshot of my pfSense dashboard (this is the from-scratch install)..

                                            I am re-running the scan after a complete Nessus update.

                                            vulner.jpg
                                            vulner.jpg_thumb
                                            pfDash.jpg
                                            pfDash.jpg_thumb

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.