- Products
- Learn
- Local User Groups
- Partners
- More
Quantum Spark Management Unleashed!
Introducing Check Point Quantum Spark 2500:
Smarter Security, Faster Connectivity, and Simpler MSP Management!
Check Point Named Leader
2025 Gartner® Magic Quadrant™ for Hybrid Mesh Firewall
HTTPS Inspection
Help us to understand your needs better
CheckMates Go:
SharePoint CVEs and More!
Hi, Checkmates!
I would like to share with you one tip I found out when I was trying to resolve audit findings.
One of audit findings was that there shouldn't be hostname exposed when Gaia portal page is loaded.
I haven't found any Check Point article regarding that so made my own investigation.
Using Browser developers tools I found out that the file login.js is loading during the page opening.
After that I logged in to the gateway and found the location of the file is /web/htdocs2/js/
And the section which is responsible for hostname displaying:
Instruction how to disable hostname from Check Point Gaia Web UI:
cp login.js login.js_bkp
4. Edit the login.js file using Vi editor
5. Remove the below lines related to hostname
{
xtype: 'displayfield',
id: 'hostname_caption_id',
//cls: 'webui_version_hbox',
value: hostname,
hidden: false,
hideLabel: true,
listeners: {
beforerender: function(){
if (this.value == "") {
this.hidden=true;
}
else {
this.hidden=false;
}
}
6. Save the file.
7. Restart the httpd2 process on the gateway using below commands:
tell pm httpd2
tell pm httpd2 t
Hope this helps! Thank you!
Update:
You can change the setting also through Web UI settings:
If this checkbox is disabled but you still have hostname shown just enable and then disable it again.
Actually I found this setting in the portal:
It was disabled by default but hostname was shown.
After I enabled/disabled it once again the hostname disappeared.
Thanks for sharing!
Do you understand what is hidden here ?
I attached the screenshot, the hostname is exposed in the login page. Here it doesn't make sense to hide anything as an intruder needs to know credentials to get to this page.
He talks about something shown before login.
You wrote: One of audit findings was that there shouldn't be hostname exposed when Gaia portal page is loaded.
Can you show in a screenshot what you mean ? I never see a hostname for my GWs, only IPs !
Also, why deleting lines at all ? Usually you just comment them out and leave a note there when and why you did that...
That's hostname that will be hidden. As a potential intruder will be able to load this page and get information about naming convention in the organisation.
I have defined a GW hostname but never had anything at that spot !
Me neither, checked 5 devices 🙂
Actually I found this setting in the portal:
It was disabled by default but hostname was shown.
After I enabled/disabled it once again the hostname disappeared.
100% correct...I found one appliance in my lab where it shows and that setting is the reason 👍
But anyway it is good to know how you can customise the login page.
Regarding deletion, yes you can comment this section - the result will be the same.
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
User | Count |
---|---|
17 | |
12 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 | |
3 |
Wed 10 Sep 2025 @ 11:00 AM (CEST)
Effortless Web Application & API Security with AI-Powered WAF, an intro to CloudGuard WAFWed 10 Sep 2025 @ 11:00 AM (EDT)
Quantum Spark Management Unleashed: Hands-On TechTalk for MSPs Managing SMB NetworksFri 12 Sep 2025 @ 10:00 AM (CEST)
CheckMates Live Netherlands - Sessie 38: Harmony Email & CollaborationTue 16 Sep 2025 @ 02:00 PM (EDT)
Securing Applications with Check Point and AWS: A Unified WAF-as-a-Service Approach - AmericasWed 17 Sep 2025 @ 04:00 PM (AEST)
Securing Applications with Check Point and AWS: A Unified WAF-as-a-Service Approach - APACWed 10 Sep 2025 @ 11:00 AM (EDT)
Quantum Spark Management Unleashed: Hands-On TechTalk for MSPs Managing SMB NetworksFri 12 Sep 2025 @ 10:00 AM (CEST)
CheckMates Live Netherlands - Sessie 38: Harmony Email & CollaborationTue 16 Sep 2025 @ 02:00 PM (EDT)
Securing Applications with Check Point and AWS: A Unified WAF-as-a-Service Approach - AmericasWed 17 Sep 2025 @ 04:00 PM (AEST)
Securing Applications with Check Point and AWS: A Unified WAF-as-a-Service Approach - APACWed 17 Sep 2025 @ 03:00 PM (CEST)
Securing Applications with Check Point and AWS: A Unified WAF-as-a-Service Approach - EMEAAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY