> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/session-settings-are-configured-to-prevent-hijacking-attacks-in-which-an-attacker-impersonates-a.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# Session settings are configured to prevent hijacking attacks in which an attacker impersonates a...

### Synopsis

| Field           | Value                                                                                                                                 |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| Rule Name       | Session settings are configured to prevent hijacking attacks in which an attacker impersonates a legitimate user                      |
| Rule Type       | Detection                                                                                                                             |
| Severity        | Medium                                                                                                                                |
| Category        | CONFIGURATION                                                                                                                         |
| Platform Module | SSPM                                                                                                                                  |
| Asset Types     | FIGMA\_ORGANIZATION, SALESFORCE\_ORGANIZATION, SERVICENOW\_INSTANCE, SUMOLOGIC\_INSTANCE, YOUTRACK\_INSTANCE, ZOHO\_ONE\_ORGANIZATION |

### Description

A session is a series of HTTP requests and responses associated with a single user. Many SaaS apps issue session cookies for users upon authentication that allow the user to access and use the system without needing to authenticate. If an attacker gets access to a session cookie, they can impersonate the user within the app. To prevent these types of attacks, you must securely configure the session settings. For example, you can lock sessions to the domain in which they originated, use POST requests for cross-domain sessions, rotate HTTP session identifiers, use secure session cookies, and configure max-age and expiration settings.

### Remediation

Figma:

* Figma Organization - Please follow steps below to remediate violation for : Domain capture

Salesforce:

* Salesforce Organization - Please follow steps below to remediate violation for : Lock sessions to the domain in which they were first used, Please follow steps below to remediate violation for : Lock sessions to the IP address from which they originated, Please follow steps below to remediate violation for : Use POST requests for cross-domain sessions

ServiceNow:

* Servicenow Instance - Please follow steps below to remediate violation for : Rotate HTTP Session Identifiers, Please follow steps below to remediate violation for : Secure Session Cookies, Please follow steps below to remediate violation for : Minimize Concurrent Interactive Session Quantity

Sumologic:

* Sumologic Instance - Please follow steps below to remediate violation for : Enable Per User Concurrent Sessions Limit

Youtrack:

* Youtrack Instance - Please follow steps below to remediate violation for : Allow All Origins, Please follow steps below to remediate violation for : Allowed Origins

Zoho One:

* Zoho One Organization - Please follow steps below to remediate violation for : Concurrent Sessions


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/session-settings-are-configured-to-prevent-hijacking-attacks-in-which-an-attacker-impersonates-a.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
