VITI Security

Securing Your Public Portals: Lessons from City-Forum Attacks

by CyberZestAug 13, 2026

Public-facing SaaS portals like Salesforce Experience Cloud and ServiceNow are prime targets for data theft due to misconfigurations. This article outlines concrete steps to secure your portals against anonymous access vulnerabilities.

Securing Your Public Portals: Lessons from City-Forum Attacks - VITI Security

Protecting your public-facing Salesforce Experience Cloud or ServiceNow portals from data theft means diligently reviewing and locking down anonymous access configurations and associated data sharing rules, which are often overlooked. The recent City-Forum attacks highlight a critical failure mode: attackers exploiting misconfigured guest user access to extract sensitive information that was inadvertently exposed to the public. As security engineers, we need to treat these SaaS portals with the same rigor as any on-premise application exposed to the internet, understanding their unique permission models and potential for configuration drift.

The Problem: Anonymous Access as an Attack Vector

These recent attacks underscore a persistent vulnerability pattern: cloud platforms providing powerful customization and public-facing capabilities also introduce complex security considerations. Salesforce Experience Cloud and ServiceNow Customer Portals are designed to be flexible, allowing businesses to expose information and services to customers, partners, and even anonymous users. The catch is, this flexibility demands meticulous configuration.

When data theft occurs via these portals, it's rarely a zero-day exploit in the underlying platform itself. Instead, it's almost always a misconfiguration in how data is shared or how anonymous (guest) user profiles are set up. Attackers leverage automated tools to crawl these public interfaces, probing for instances where object-level permissions, field-level security, or data sharing rules grant more access than intended to unauthenticated sessions. We often focus on authenticated user security, but the 'Guest User' or 'Public User' profile on these platforms is a significant attack surface that requires constant vigilance.

Practical Controls for Hardening Public SaaS Portals

Addressing this requires a multi-layered approach, focusing on the specific mechanisms these platforms use to control data visibility:

1. Lock Down Anonymous/Guest User Profiles: This is your absolute first priority. On Salesforce, review the 'Guest User Profile' for each Experience Site. Remove all 'Read' and 'Create' permissions on objects that don't absolutely need to be publicly accessible. For ServiceNow, examine the 'public' user role and any associated ACLs (Access Control Lists) that grant read access to tables without authentication. Seriously, scrutinize every permission here. If it's not strictly necessary, disable it.

2. Restrict Data Sharing Defaults: In Salesforce, 'Org-Wide Defaults' (OWD) for external users are critical. Ensure that default external access for sensitive objects is set to 'Private' or 'Controlled by Parent'. Only then should you selectively open up access using sharing rules, and always with a clear business justification. For ServiceNow, review the table-level 'Can Read' ACLs and ensure that 'public' is not checked for sensitive tables.

3. Implement Field-Level Security (FLS) and Object-Level Security (OLS): Even if an object is exposed, FLS can prevent sensitive fields from being viewed. Ensure that personal identifiable information (PII) or other confidential data fields are explicitly hidden from guest user profiles. This applies across both platforms.

4. Secure Custom Components and Pages: If your portal uses custom Lightning Web Components, Aura Components, Visualforce pages (Salesforce), or Service Portal Widgets, UI Pages (ServiceNow) for anonymous users, their underlying Apex classes, JavaScript controllers, and server-side scripts must enforce robust authorization checks. Do not rely solely on platform-level security for custom code; implement your own checks. A vulnerability assessment and penetration testing (VAPT) can be invaluable here. Consider VAPT services to identify gaps.

5. IP Restrictions and CAPTCHA: For Salesforce Guest User profiles, consider setting 'IP Ranges' under Profile settings if anonymous access is limited to specific geographic areas or networks. Implement CAPTCHA on any publicly facing forms or APIs to mitigate bot activity and automated data scraping attempts.

6. Regular Security Audits and Configuration Reviews: Platform security settings, especially around sharing and profiles, can drift. Conduct quarterly or bi-annual audits of your public portal security configurations. This isn't a one-and-done task. Treat it as an ongoing process. Use configuration comparison tools if available, or maintain baseline configurations for easy review.

Proactive Monitoring and Incident Response Readiness

Even with robust controls, proactive monitoring is non-negotiable. Implement robust logging and alerting for anomalous activity related to your public portals:

1. Log Access and Data Exports: Monitor anonymous user access patterns. Look for unusual spikes in data requests, excessive failed login attempts (if applicable), or unexpected access to certain records. In Salesforce, Event Monitoring data can be invaluable for tracking these activities. ServiceNow logs all user interactions, which should be analyzed.

2. Alerting for Configuration Changes: Set up alerts for any changes to guest user profiles, site sharing settings, or critical ACLs related to public access. This flags potential configuration drift or unauthorized changes immediately.

3. Incident Response Plan: Have a clear incident response plan specifically for data breaches involving SaaS platforms. Know who to contact at Salesforce or ServiceNow, how to isolate compromised data, and the steps for forensic analysis and notification. Speed is paramount when a data exposure is detected.

Staying on top of your public portal security is an ongoing commitment. It requires understanding the platform's nuances, diligent configuration, and continuous monitoring. Don't let your public-facing assets become an easy win for attackers.

Frequently asked questions

What is a Salesforce Experience Cloud Guest User Profile?
The Guest User Profile in Salesforce Experience Cloud allows unauthenticated users (visitors who are not logged in) to access certain pages and resources on your public-facing sites. It's a powerful feature but requires strict configuration to prevent unintended data exposure.
How often should I audit my ServiceNow customer portal security settings?
You should audit your ServiceNow customer portal security settings, especially ACLs and public user roles, at least quarterly. Significant platform upgrades or new feature deployments should also trigger an immediate security review.
Can anonymous access really lead to a data breach?
Yes, absolutely. If misconfigured, anonymous access can inadvertently grant public users read access to sensitive data objects or fields, leading to large-scale data theft. The recent City-Forum attacks are a direct example of this vulnerability being exploited.
What's the first step to secure my public SaaS portal?
The very first step is to review and restrict the permissions of your anonymous or guest user profiles. Remove all 'Read' and 'Create' permissions on objects and fields that are not absolutely essential for public access.
Do I need a separate penetration test for my public portals?
Yes, a separate penetration test focused specifically on your public-facing portals is highly recommended. These tests can uncover configuration errors, insecure custom code, and logical flaws that automated scanners might miss. Consider engaging <a href="/vapt-services/">VAPT services</a> for this.

Strengthen Your SaaS Portal Defenses

Don't leave your Salesforce or ServiceNow portals vulnerable to attack. Our team of security engineers can help you identify and remediate configuration weaknesses, implement robust controls, and establish proactive monitoring. Contact us for a specialized security assessment.