- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
on 07-22-2020 03:59 PM - edited on 04-24-2024 10:11 AM by JayGolf
Summary
This document discusses the configuration steps for applying a vulnerability protection security profile to GlobalProtect interface, in order to protect the GlobalProtect services from attacks using published product security vulnerabilities.
Background
In customer deployments that use GlobalProtect for remote access, customers often configure and apply security profiles such as vulnerability protection to network traffic between VPN clients and internal network zones.
There are also certain circumstances where a customer may want to apply a vulnerability protection profile to traffic hitting the GlobalProtect portal and gateway services, which are served by the firewall and not just traffic going through the firewall into the network. For example, there may be situations where a customer wants to block attempted attacks before they are able to upgrade PAN-OS to a patched version. This can be accomplished by applying a properly configured vulnerability protection profile to a firewall rule that is configured to apply to traffic hitting the GlobalProtect portal and gateway services hosted by the firewall.
Note 1: 4/14/2024: A hotfix for each of the PAN-OS versions (10.2, 11.0, 11.1) affected by CVE-2024-3400 is now available in the Customer Support Portal (CSP) and inside PAN-OS (both NGFWs and Panorama). An ETA for other commonly deployed versions of PAN-OS is available on the product security advisory for CVE-2024-3400. It is recommended to apply this hotfix and also complete the mitigations recommended in the advisory.
Note 2: This document uses CVE-2024-3400 as an example in this how-to guide, where vulnerability protection signature #95187 was released in content version 8833-8682, released on 4/11/2024 to detect and prevent attempted attacks. The vulnerability affected GlobalProtect portal and gateway services. This document assumes that the firewall is already configured and used as a GlobalProtect portal and/or gateway service.
Configuration Steps:
Step 1: Ensure that you have the latest content update installed that includes the relevant threat protection
Step 2: Determine the correct zone for GP portal and GP gateway
Step 3: Modify or Create a New Vulnerability Protection Profile
Configure a new or existing vulnerability profile that is specifically configured to block the relevant threat impacting the GlobalProtect services. Go to Objects > Security Profiles > Vulnerability Protection. We recommend as a best practice to simply set the blocking action of “reset-server” for all critical severity signature triggers.
Step 4: Modify or create a firewall security rule
After modifying or creating a new vulnerability protection object, verify what security policies were in place to protect GlobalProtect services, and add newly created Vulnerability Protection Profile. If you already have a customized / Best Practices Profile attached to your security policy, please go back to Step 3 and amend your existing Vulnerability Protection Profile instead of creating a new one.
If you did not have an existing security policy and rule in place, then go ahead and create a security rule to apply the vulnerability protection profile to. Go to Policies > Security. Create a new policy. In this example, we name it “block_gp_vulnerability.” The source zone should be “any” and the destination zone is the GlobalProtect gateway and/or GlobalProtect portal zones we found in step 1. Assign to this rule the Vulnerability Protection Profile you modified or created in step 3. Please make sure that the rest of the the applied policy and security policies follow our best practices guides.
Step 5: Commit
Commit the changes to apply the new Vulnerability Protection Profile to the Security Rule protecting the GP Portal and/or Gateway. Any attempted attacks against the GlobalProtect services that attempt to use this specific vulnerability will be blocked and logged in the threat log.
@DevalS If you have a Security Policy that is already setup to allow users to access the WAN interface for the GlobalProtect portals zone or interface then that rule is where you want to make sure a Vulnerability Profile is applied. If that Vulnerability Profile is in line with the Palo Alto Recommended best practice then you are already good to go.
Got the signature deployed - finally!
Problem:
Fix:
Follow Up:
Applications and Threats Content version 8834 updated the metadata for threat id 95187 and it does show up in gui now
This article should/must be heavily adjusted. As several has mentioned here, following the guidelines will make things worse, since an any any allow rule on top with only vulnerability protection for that specific signature will open “everything”. I’ve just assisted a customer who followed this exact article and made an any any allow rule with only vulnerability protection for that specific signature. Crisis. All rules below with best practice setup where shadowed.
Very important with
@maurisy can you please adjust this article to advice people to follow best practices, so that inbound communication to GlobalProtect are protected with all profiles running best practices, including vulnerability protection which will have reset-both for critical severity vulnerabilities. Then the only thing customers need to verify is that they have that specific signature update, which seems to have been a problem with this release so that they have to delete the content update and download it again. And that’s it.
No config change is needed if they’re running best practices.
Please adjust this article so that no more customers open “everything”
Thanks
GT
Hi Team,
Please help me to understand the below:
Firewall 1 - 10.2, GP portal & Gateway, Device telemetry enabled
Firewall 2 - 10.2, only GP portal & gateway, no device telemetry enabled
Firewall 3 - 10.2, no GP portal and gateway, only device telemetry enabled.
Firewall 1 will be impacted by this vulnerability.
Please confirm if firewall 2 and firewall 3 will also be impacted due to this vulnerability.
Thanks in advance
Anyone know of a way to test it from the outside to see if the vulnerability is in fact blocked/mitigated?
Anyone else having issues with GP portal after upgrading?
All my users are now unable to connect. From the logs it seems that it "Failed to get client config"
If i replace the group-matching with a test user it works right away...worked before as a charme
Any ideas?
Hi @M.Sharma415844 ,
No, this issue is applicable only to PAN-OS 10.2, PAN-OS 11.0, and PAN-OS 11.1 firewalls configured with GlobalProtect gateway or GlobalProtect portal (or both) and device telemetry enabled.
Kind regards,
-Kim.
Hi @kiwi
Thank you for your confirmation.
I understand now that only firewall 1 will be impacted. Not firewall 2 and 3.
Thanks again
I think the article confused a lot of people and causing some to overthink. If you have a vulnerability profile that has "critical" classified vulnerabilities set to reset-both or reset-server, and applied to the Security Policy that is allowing the GlobalProtect connection (SSL/IPSec), you're already protected. The article tried to list a way to "override" the default actions your policies may have been set to in case for some reason you're not blocking "critical" vulnerabilities. Which is a weird thing to assume for them... but I guess in an effort to be thorough.
The threat ID 95187 is appearing correclty after installation of APP ID 8834.
@waleedsabourDO NOT add a new rule a the top of your rule list. Doing so will allow all sorts of things into your network that you don't want. Here's what to do instead:
1. Disable telemetry. Commit this change.
2. Update the firmware on your firewall(s) to the appropriate patched version.
3. Go back and check your existing inbound security profiles, make sure they are set to something (not "none") that blocks the malicious stuff.
Instead of search for the Threat id in the exemption tab, just search for the cve.
( cve contains 'cve-2024-3400' )
Since they are adding more, they will all show up. Later.
Hi,
Our firewall which has GP portal is currently running on 10.1.11-h5 and would like to know if we are also impacted by
As the advisory mentions that all the firewalls above 10.2 are the ones which are impacted.
I just want to double check that PAN OS 10.1 is not impacted by this CVE.
Thanks
Ports required for Global-protect in the security policy :https://docs.paloaltonetworks.com/pan-os/10-2/pan-os-admin/firewall-administration/reference-port-nu...
Anyone know of a way to test it from the outside to see if the vulnerability is in fact blocked/mitigated?
monitor > logs > threat > paste this in for filter:
( severity eq 'critical' ) and ( name-of-threatid eq 'Palo Alto Networks GlobalProtect OS Command Injection Vulnerability' )
To see if there's any hit on the signatures in the threat log: (( threatid eq '95187' ) or ( threatid eq '95189' ) or ( threatid eq '95191' ))
I've written an article on how to whitelist (Least Privilege) inbound GlobalProtect communication including URL, and similar for outbound communication from the Firewall so that malicious outbound connections aren't possible. Do your proactive security job properly. Use your firewall as it was meant to be used. Assume Breach. Least Privilege. Zero Trust.
Start with this, and continue the Least Privilege approach for server to internet communication, start with your domain controllers, because what do your DCs need towards internet? This is all about Cyber Kill Chain #6, Command & Control
https://zerotrustsoldier.com/2024/04/17/cve-2024-3400-made-harmless/
Someone are wondering if they can test if they're still vulnerable. Check out this PoC: