QuickSight Authorization Bypass: Chat Agents Accessible Despite Custom Permissions Denial
Custom permissions in Amazon Quick Suite were meant to disable AI chat agents, but the back end did not enforce them, so the UI merely hid the agent controls. A user with a non-admin role could still send chat requests directly to the agent endpoint and interact with the default SYSTEM agent despite an account-wide denial.
- Triaged in 2 days
- Fixed in 51 days
- Disclosed after 2 months
Summary by the researcher
Authorization bypass in Amazon Quick’s (formerly QuickSight, then Quick Suite) AI Chat Agents that allowed users to access and interact with AI agents despite explicit administrative restrictions. This was due to missing server-side authorization checks.
Corresponding Blog Post: www.fogsecurity.io/blog/authorization-bypass-in-amazon-quick-ai-agents
The report
We found authorization bypass issues with AI Chat agents in AWS Quick Suite (Quicksight). We discovered that chat agent capabilities cannot be disabled in AWS Quick Suite, allowing users to access and use AI chat agents regardless of authorization settings. Thus, users can always interact with chat agents despite configuring AWS Quick Suite authorization to explicitly deny access to AI Chat agents.
Quick Suite offers chat agents defined as "AI-powered conversational interfaces that provide instant access to your organization’s knowledge base." These agents may have access to data across your organization including access to specific data sources and actions with the capability for contextual experience derived from team or organization data. (https://aws.amazon.com/quick/chat-agents/)
To manage Quick Suite capabilities, AWS offers "custom permissions" as an authorization mechanism to restrict the functionality that people can access in Amazon Quick Suite. Custom permissions can be configured for all identity types in Quick Suite (at multiple levels including account for all users, role, and individual user level). (https://docs.aws.amazon.com/quick/latest/userguide/create-custom-permisions-profile.html)
These custom permissions and restriction of functionality are documented in multiple different places in documentation and in AWS console:
AWS states that these custom permissions can be configured to:
You can completely disable all chat agent functionality for users, including chatting with the default agent, chatting with custom agents, and creating new agents. This can be done by restricting the Chat agent capability.
███
Another example states that "Chat functionality is disabled at the system level":
█████████
We found that these custom permissions do not work and were able to continue interacting with AWS Quick Suite chat agents. Thus, we found authorization bypass in Quick Suite where AI chat agents can always be used regardless of any security setting in Quick Suite (including AWS IAM and Quick Suite Custom Permissions). What happens is AWS "hides" the front-end components or the UI, but does not appropriately control the back end capabilities. Thus, by inspecting our network traffic or by leaving UI windows open after custom permissions have been applied - we're able to continue interacting with AI Chat Agents.
Impact is exacerbated since there is always a default system chat agent created by Quick Suite whenever the Quick Suite service is setup, this is standardized by name (SYSTEM) and thus even if no chat agents are created, users can always use an AI chat agent. Thus, there is no chat agent creation required for someone to bypass authorization and use AI chat agents in Quick Suite. There is no scenario (outside of severely and broadly limiting functionality for a user to a Reader role) where an administrator can prevent chat agent access. Therefore, an attacker can easily use the SYSTEM chat agent even if discovery of custom chat agents may be more difficult as the SYSTEM chat agent follows the same predictable resource format.
Impact
As described by AWS, Quick Suite is a Business Intelligence and Analytics platform that provides unified intelligence across enterprise data sources. QuickSight's documentation mentions bridging the gap between insights and action, exploring data, taking actions from dashboards, leveraging application integrations while maintaining enterprise-grade security and governance.
This creates audit and compliance gaps for organizations that need to disable chat agent access.
Currently, the only method to restrict granular access to capabilities including AI Agents is to use Custom Permissions. Custom Permissions are the only control mechanism for certain Quicksight actions including usage of AI Chat agents; AWS IAM cannot restrict chat agent access.. Additionally, AWS IAM cannot be used to restrict access to Quick Suite's AI Agent chat functionality. SCPs, RCPs, IAM policies, explicit denies, etc cannot be used to restrict access to Quick Suite's AI Agent chat functionality.
There is the ability to assign a different role, but out of all of Quicksight's roles - only the Reader role does not have access to chat agents and is an extremely limited and thus potentially un-utilized role. The other 5 roles: Reader Pro, Author, Author Pro, Admin, Admin Pro are much more suited towards QuickSuite usage. The Reader role only has "read-only access to dashboards". They do not have access to generate executive summaries, cannot build stories with Amazon Q, and cannot access Amazon Q in Quick Sight. Additionally, they cannot create data sources, datasets, analyses, and dashboards. Thus, this security affects a large population of users as it applies to:
- Reader Pro Users
- Author Users
- Author Pro Users
- Admin Users
- Admin Pro Users
█████████
https://docs.aws.amazon.com/quicksight/latest/APIReference/API_User.html
The ability to restrict the usage of AI Agents is crucial as it could have audit, compliance, and security implications. Organizations may want or need to restrict the usage of AI Agents, specifically in highly regulated or other industries.
For example, there's an EU Artificial Intelligence Act that states certain AI systems may not be used in regulated jurisdictions. In certail sections such as finance or healthcare, GDPR and HIPAA - certain AI use can be off-limits unless strict conditions are met. This finding impacts frameworks such as NIST SP 800‑53 AC‑3 for Access Enforcement, NIST AI RMF, ISO 42001, among others.
Thus, we see many use cases where organizations may need to disable the usage of AI Chat Agents within Quick Suite.
From our testing, this is broken authorization and not session staleness. We're able to procure fresh credentials and still see the same authorization bypass for AI Chat Agent usage despite disabling chat agent functionality. This will be shown in the walkthrough as well.
Background
System Chat Agent
By default, Amazon QuickSight comes with a default chat agent. This system chat agent is automatically created when someone signs up for Quick and is intended as a primary interface for users to interact with their data and perform tasks within the Quick environment.
Documentation here specifies that "Admins can disable chatting with chat agents including the system chat agent using custom permissions."
This agent comes with:
- Large language model (LLM) knowledge chat enabled.
- Access to all spaces, topics, dashboards, knowledge bases, and actions based on user permissions
- Web search capabilities
- File upload in chat capability enabled
██████
https://docs.aws.amazon.com/quick/latest/userguide/default-assistant.html
Custom Permissions
Custom Permissions are used to restrict functionality that people can access in Amazon Quick. These can be configured at the account, role, and user levels for all identity types in Quick. For chat agents, custom permission profiles can be used to manage granular feature access including the ability to "Restrict all chat agent-related features".
████████
Walkthrough
For this, we will need an active Amazon QuickSuite account setup. In order to do so, we require an AWS Account and an IAM Principal with appropriate permissions to setup.
Setup
We're logged in as an AWS IAM Role for now. This can be done via an AWS IAM User.
- Set up Amazon QuickSuite. We're doing this in one of my personal account (AWS Account # ███). This can be done via https://us-east-1.quicksight.aws.amazon.com/sn/console/signup.
I set this up with the following settings (use your own account name and email):
- Account name: ███████
- Email: ██████████
- Region: us-east-1
- Password-based or Single-Sign On (Recommended)
- Encryption: Use AWS-managed key (Default)
Now, we can click "Create Account"
There should be a success message once successful.
- Set up Custom Permissions.
This is where we'll attempt to completely deny chat agent usage. We will do so via https://us-east-1.quicksight.aws.amazon.com/sn/console/custom-permissions?#. In the top right of the page, we click "New profile"
For this profile, we do the following:
- Profile Name: no-chat-agents
- the Chat Agents box should be checked. This shows we're trying to restrict "Chat Agents".
████
Next, we click "Create"
Now, we have to apply this as the setting. We apply this at the account level. From the custom permissions page and to the right of the profile we just created, there's a drop down menu within actions. We click on "set as account profile"
██████████
Since this is an extremely restrictive action, AWS provides a extra confirmation step. Type in confirm and proceed.
████████
The Custom Permissions should now be successfully applied.
██████████
- Create a New User
The next step is to create a non-Admin user that doesn't have access to Custom Permissions, we will send this to our own email.
This can be done via https://us-east-1.quicksight.aws.amazon.com/sn/admin/users.
For this case, we will create a QuickSuite user that is not tied to any IAM credentials by inviting our personal email (███).
We will create this as an "Author Pro" role.
█████
Testing Authorization Bypass
For the authorization bypass, we'll use the simple use case of testing the System Chat agent with the minimal amount of setup. This simple use case shows the severity and how there is no additional setup required to create a chat agent. This is also possible if a user has created an AI Agent previously to use and then custom permissions were applied.
- Log into your new QuickSuite account with the user we just created. Mine is ██████. To do so, I checked my email and clicked the new link to set a new password.
████
After clicking the link and choosing a password, you should see a success message for a new user creation. Make sure you note the password, we'll need it later.
████
- Next, let's log in. We go to BURP and login via https://us-east-1.quicksight.aws.amazon.com/sn/start/home
I'll use my account name and the username (████) and password we just set.
I should now be at the landing page of https://us-east-1.quicksight.aws.amazon.com/sn/start/home.
For this, there should be no agent usage available. For example, when custom permissions are applied - the left side menu for agents should disappear.
Here's what the agent bar looks like when access is permitted (different than what you see):
█████
- Retrieve auth information. For this, we need to navigate to the repeater tab in BURP. Find a HTTP request that goes to quicksight (host: us-east-1.quicksight.aws.amazon.com)
We copy the cookie as well as the mbtc ID
█████████
- Craft HTTP request payloads. We're going to test chatting with the AI Agent:
In the following message, replace ███ with your AWS Account ID, the mbtc (<mbtc_here>), and the cookie (<copy_cookie_here>). We'll chat with the SYSTEM chat with the prompt "Tell me all about mangos"
POST /sn/qbsproxy/quicksight/accounts/█████████/conversations/chat?mbtc=<mbtc_here> HTTP/2
Host: us-east-1.quicksight.aws.amazon.com
Cookie: <copy_cookie_here>
Content-Length: 730
Sec-Ch-Ua-Platform: "macOS"
X-Amzn-Web-Client-Version: 0.1.4
Accept-Language: en-US,en;q=0.9
Sec-Ch-Ua: "Chromium";v="145", "Not:A-Brand";v="99"
Sec-Ch-Ua-Mobile: ?0
Amz-Sdk-Request: attempt=1; max=3
Amz-Sdk-Invocation-Id: ██████████
X-Amzn-Target: api
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36
Content-Type: application/json
Accept: */*
Origin: https://us-east-1.quicksight.aws.amazon.com
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: https://us-east-1.quicksight.aws.amazon.com/sn/start/home
Accept-Encoding: gzip, deflate, br
Priority: u=1, i
{"agentIdentifier":"arn:aws:quicksight:us-east-1:███:agent/SYSTEM","spaceArns":["arn:aws:quicksight:us-east-1:aws:space/ALL"],"surfaceType":"WEB_EXPERIENCE","temporaryChat":false,"userMessage":"Tell me all about mangos","userMetadata":{"localTimezone":"America/New_York"}}
Send the request, we see a success (200 OK status) with the response from the chat agent.
███████ █████████
We have now proven that we can always chat with chat agents despite custom permissions disabling chat agent functionality across the entire Quicksuite account - thus proving the authorization bypass.
Recommendations
We recommend enacting controls on the back-end logic for enforcement of permissions and authorization. An example of custom permissions actually working can be shown (with the same custom permissions) for POST /sn/qbsproxy/quicksight/v1/accounts/█████████/search/agents
This one results in a 401 unauthorized response.
█████ ██████
We can copy the same mbtc and cookie over for this request (also replace the account number with your account number)
POST /sn/qbsproxy/quicksight/v1/accounts/██████████/search/agents?maxResults=1&mbtc=<mbtc> HTTP/2
Host: us-east-1.quicksight.aws.amazon.com
Cookie: <cookie_here>
Content-Length: 163
Sec-Ch-Ua-Platform: "macOS"
X-Amzn-Web-Client-Version: 0.1.4
Accept-Language: en-US,en;q=0.9
Sec-Ch-Ua: "Chromium";v="145", "Not:A-Brand";v="99"
Sec-Ch-Ua-Mobile: ?0
Amz-Sdk-Request: attempt=1; max=3
Amz-Sdk-Invocation-Id: ████████
X-Amzn-Target: api
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36
Content-Type: application/json
Accept: */*
Origin: https://us-east-1.quicksight.aws.amazon.com
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: https://us-east-1.quicksight.aws.amazon.com/sn/start/home
Accept-Encoding: gzip, deflate, br
Priority: u=1, i
{"filterParams":{"roleFilter":{"role":"QUICKSIGHT_VIEWER"},"agentFilter":{"externalAgentId":"SYSTEM"}},"sortBy":[{"sortAttribute":"CREATED_AT","sortOrder":"DESC"}]}
████
References
Context
Amazon Quick Suite (formerly QuickSight, and referred to in the report as Amazon Quick) is a business intelligence and analytics platform that provides unified intelligence across enterprise data sources. Among its features are AI Chat Agents, which AWS describes as "AI-powered conversational interfaces that provide instant access to your organization's knowledge base." These agents can reach data across an organization, including specific data sources and actions, with a contextual experience derived from team or organization data.
To control what people can do in Quick Suite, AWS offers custom permissions, an authorization mechanism that restricts functionality at the account level (for all users), the role level, and the individual user level. AWS documentation states that these permissions can be used to "completely disable all chat agent functionality for users, including chatting with the default agent, chatting with custom agents, and creating new agents," by restricting the Chat agent capability. Another piece of documentation states that "Chat functionality is disabled at the system level."
The researcher found that these custom permissions do not actually prevent use of chat agents. The front-end components are hidden, but the back-end capability remains reachable, so a user can keep interacting with AI chat agents despite an explicit administrative denial.
Setup
The walkthrough needs an active Quick Suite account, which in turn needs an AWS account and an IAM principal with sufficient permissions to set it up. The researcher was logged in as an AWS IAM role, noting that an IAM user works too.
-
Set up Quick Suite at
https://us-east-1.quicksight.aws.amazon.com/sn/console/signup, using a personal AWS account. The settings used were:- Account name: [redacted]
- Email: [redacted]
- Region: us-east-1
- Password-based or Single Sign-On (recommended)
- Encryption: AWS-managed key (default)
After clicking "Create Account", a success message appears.
-
Create a custom permission profile at
https://us-east-1.quicksight.aws.amazon.com/sn/console/custom-permissions?#. Clicking "New profile" in the top right opens the profile form. The profile was configured as:- Profile Name:
no-chat-agents - The Chat Agents box checked, which is the way to restrict "Chat Agents".
After clicking "Create", the profile is applied at the account level: from the custom permissions page, in the actions drop-down to the right of the new profile, choose "set as account profile". Because this is an extremely restrictive action, AWS adds a confirmation step in which you type
confirmand proceed. The custom permissions are then applied. - Profile Name:
-
Create a non-admin user without access to custom permissions, invited by email. This is done at
https://us-east-1.quicksight.aws.amazon.com/sn/admin/users. The user is not tied to any IAM credentials and is created with the "Author Pro" role.
Finding it
The researcher configured custom permissions to deny chat agent access entirely, then logged in as the new Author Pro user. With the custom permissions applied, the left-side menu for agents disappears, so the UI gives the impression that chat agents are unavailable. The agent bar that appears when access is permitted is shown for comparison.
What the researcher noticed is that the restriction is only presentational. By inspecting network traffic, or by leaving UI windows open after the custom permissions were applied, the user can continue interacting with AI chat agents. The back end does not enforce the permission that the front end hides.
The impact is made worse by the default system chat agent. Quick Suite creates a system chat agent automatically when the service is set up, and it is standardised by name (SYSTEM). Even if no chat agents have been created, a user can always use an AI chat agent, and the predictable resource format makes the system agent easy to address. The researcher states that there is no scenario, outside of severely and broadly limiting a user to the Reader role, in which an administrator can prevent chat agent access.
Exploitation
Step 1: Log in as the restricted user
Log into Quick Suite with the newly created user, following the email link to set a password. After choosing the password, a success message for the new user creation appears. The password is needed for the next step.
Step 2: Log in through Burp
Using Burp, log in at https://us-east-1.quicksight.aws.amazon.com/sn/start/home with the account name, the username and the password just set. The landing page is https://us-east-1.quicksight.aws.amazon.com/sn/start/home, and no agent usage should be available: with custom permissions applied, the left-side menu for agents is gone.
Step 3: Retrieve authentication material
In Burp's Repeater tab, find an HTTP request to the QuickSight host us-east-1.quicksight.aws.amazon.com. Copy the cookie and the mbtc ID from that request.
Step 4: Send a chat request to the SYSTEM agent
The following request chats with the SYSTEM agent using the prompt "Tell me all about mangos". Replace the account ID, the mbtc value and the cookie with your own.
POST /sn/qbsproxy/quicksight/accounts/█████████/conversations/chat?mbtc=<mbtc_here> HTTP/2
Host: us-east-1.quicksight.aws.amazon.com
Cookie: <copy_cookie_here>
Content-Length: 730
Sec-Ch-Ua-Platform: "macOS"
X-Amzn-Web-Client-Version: 0.1.4
Accept-Language: en-US,en;q=0.9
Sec-Ch-Ua: "Chromium";v="145", "Not:A-Brand";v="99"
Sec-Ch-Ua-Mobile: ?0
Amz-Sdk-Request: attempt=1; max=3
Amz-Sdk-Invocation-Id: ██████████
X-Amzn-Target: api
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/[redacted] Safari/537.36
Content-Type: application/json
Accept: */*
Origin: https://us-east-1.quicksight.aws.amazon.com
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: https://us-east-1.quicksight.aws.amazon.com/sn/start/home
Accept-Encoding: gzip, deflate, br
Priority: u=1, i
{"agentIdentifier":"arn:aws:quicksight:us-east-1:███:agent/SYSTEM","spaceArns":["arn:aws:quicksight:us-east-1:aws:space/ALL"],"surfaceType":"WEB_EXPERIENCE","temporaryChat":false,"userMessage":"Tell me all about mangos","userMetadata":{"localTimezone":"America/New_York"}}
The request targets the conversations/chat endpoint under the account, carries the mbtc query parameter and the session cookie, and has a JSON body. It also sets surfaceType to WEB_EXPERIENCE, temporaryChat to false, the userMessage to the prompt, and a local timezone in userMetadata.
The request returns a success, a 200 OK status, with the response from the chat agent. This proves that a user can chat with chat agents despite custom permissions disabling chat agent functionality across the entire Quick Suite account.
Step 5: Compare with an endpoint that does enforce the permission
The researcher shows that the same custom permissions do work on another endpoint, POST /sn/qbsproxy/quicksight/v1/accounts/█████████/search/agents, which returns a 401 Unauthorized response. The same mbtc and cookie are reused, with the account number replaced.
POST /sn/qbsproxy/quicksight/v1/accounts/██████████/search/agents?maxResults=1&mbtc=<mbtc> HTTP/2
Host: us-east-1.quicksight.aws.amazon.com
Cookie: <cookie_here>
Content-Length: 163
Sec-Ch-Ua-Platform: "macOS"
X-Amzn-Web-Client-Version: 0.1.4
Accept-Language: en-US,en;q=0.9
Sec-Ch-Ua: "Chromium";v="145", "Not:A-Brand";v="99"
Sec-Ch-Ua-Mobile: ?0
Amz-Sdk-Request: attempt=1; max=3
Amz-Sdk-Invocation-Id: ████████
X-Amzn-Target: api
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/[redacted] Safari/537.36
Content-Type: application/json
Accept: */*
Origin: https://us-east-1.quicksight.aws.amazon.com
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: https://us-east-1.quicksight.aws.amazon.com/sn/start/home
Accept-Encoding: gzip, deflate, br
Priority: u=1, i
{"filterParams":{"roleFilter":{"role":"QUICKSIGHT_VIEWER"},"agentFilter":{"externalAgentId":"SYSTEM"}},"sortBy":[{"sortAttribute":"CREATED_AT","sortOrder":"DESC"}]}
It is rejected with 401, which shows that the permission model is enforced on this path but not on the chat path.
The researcher also confirmed that this is broken authorization rather than session staleness: fresh credentials were obtained and the same bypass was still observed with chat agent functionality disabled.
Root cause
The custom permission for chat agents is not enforced on the back end: AWS hides the UI components, but the chat endpoint does not check the permission. AWS hides the UI components, but the back end does not check the permission on the chat endpoint, so a request crafted directly against conversations/chat succeeds. The search/agents endpoint, by contrast, returns 401 under the same custom permissions.
Existing defences do not help. Custom permissions are the only control mechanism for certain Quick Suite actions, including use of AI chat agents. AWS IAM cannot restrict chat agent access, and neither can SCPs, RCPs, IAM policies or explicit denies. The only role without chat agent access is Reader, which has "read-only access to dashboards" and cannot generate executive summaries, build stories with Amazon Q, access Amazon Q in Quick Sight, or create data sources, datasets, analyses and dashboards. The other five roles, Reader Pro, Author, Author Pro, Admin and Admin Pro, are all affected.
Impact
The bypass lets a user who has been explicitly denied chat agent access continue to interact with AI chat agents, including the default SYSTEM agent created when Quick Suite is set up. The report lists what the SYSTEM agent comes with: LLM knowledge chat enabled, access to all spaces, topics, dashboards, knowledge bases and actions based on user permissions, web search capabilities, and file upload in chat.
The affected population is large: Reader Pro, Author, Author Pro, Admin and Admin Pro users. The restriction matters for audit, compliance and security. Organizations in highly regulated industries may need to disable AI agents, for example under the EU Artificial Intelligence Act, or in finance and healthcare contexts where GDPR and HIPAA can make certain AI use off-limits unless strict conditions are met. The finding touches frameworks such as NIST SP 800-53 AC-3 for Access Enforcement, the NIST AI RMF and ISO 42001. The practical result is an audit and compliance gap for organizations that need to disable chat agent access.
Fix
The recommendation is to enact controls on the back-end logic for enforcement of permissions and authorization. The search/agents endpoint returns a 401 under the same custom permissions, showing the permissions working there.
Variants to test
- On other SaaS platforms with capability toggles, apply the most restrictive custom permission profile and then replay requests captured before the change, or craft requests directly to feature endpoints. A positive result is a 200 response with feature data where the UI no longer offers the feature.
- Compare sibling endpoints under the same permission. If one endpoint returns 401 and another returns 200 for the same capability, the enforcement is likely per endpoint and incomplete.
- Target default or system-created resources, such as the
SYSTEMagent here, whose identifiers follow a predictable format. A positive result is successful interaction with a default resource that the administrator believes is disabled. - Re-authenticate and retry with fresh credentials to rule out session staleness. A positive result is the same bypass with new credentials.
- Check whether infrastructure-level controls (IAM policies, SCPs, explicit denies) have any effect on the feature. A positive result is the feature remaining reachable despite those controls, showing that only the application-level permission was ever intended to apply.
What happened, in plain words
Amazon Quick Suite (it used to be called QuickSight, and the report also calls it Amazon Quick) is a cloud service where a company keeps its business data, builds charts and dashboards, and lets staff ask questions about that data. One of its features is an AI Chat Agent: a chat window, a bit like talking to a chatbot, that can answer questions using the company's own data. AWS describes these agents as "AI-powered conversational interfaces that provide instant access to your organization's knowledge base."
Because such an agent can reach a lot of company information, an administrator may want to switch it off. Quick Suite has a setting for exactly that, called custom permissions. AWS documentation says an administrator can "completely disable all chat agent functionality for users, including chatting with the default agent, chatting with custom agents, and creating new agents," and another page says "Chat functionality is disabled at the system level."
The researcher found that this switch does not prevent use of chat agents. When the setting is applied, the chat button and menu simply disappear from the screen. But the part of the service that actually does the chatting, on the server, never checks the setting. So anyone who knows how to send the request by hand, or who kept a browser tab open from before the setting was applied, can still chat with the agent. The screen says no; the server says yes.
This is called an authorization bypass. Authorization means deciding whether a person is allowed to do something. A bypass means getting around that decision. The report attributes it to "missing server-side authorization checks".
Background: the pieces involved
The product
Quick Suite is a business intelligence and analytics platform. In everyday terms, it is where a company collects numbers from many systems, draws graphs, and lets people explore them. The report notes that its documentation talks about bridging the gap between insights and action, exploring data, taking actions from dashboards, and using application integrations while keeping enterprise-grade security and governance.
The AI Chat Agent
A chat agent is a conversational assistant inside the product. You type a question, it answers using the organisation's data. The report warns that these agents may have access to data across the organisation, including specific data sources and actions, with a contextual experience derived from team or organisation data.
The default SYSTEM agent
Every Quick Suite account gets one chat agent automatically when the service is set up. It is called the system chat agent, and its name is always SYSTEM. The report lists what it comes with:
- Large language model (LLM) knowledge chat enabled.
- Access to all spaces, topics, dashboards, knowledge bases, and actions based on user permissions.
- Web search capabilities.
- File upload in chat capability enabled.
This matters because an attacker does not need anyone to have created an agent. There is always one there, and its name is predictable.
Custom permissions
Custom permissions are the product's own way of restricting what people can do. They can be set for the whole account (all users), for a role, or for one individual user. For chat agents, a profile can be used to "Restrict all chat agent-related features".
Roles
Quick Suite gives each user a role that decides broadly what they can do. The report lists six: Reader, Reader Pro, Author, Author Pro, Admin and Admin Pro. Only Reader has no access to chat agents, and Reader is very limited: it has "read-only access to dashboards", cannot generate executive summaries, cannot build stories with Amazon Q, cannot access Amazon Q in Quick Sight, and cannot create data sources, datasets, analyses and dashboards. The other five roles are the ones most organisations actually use, so the problem affects most users.
The tools used in the walkthrough
Two tools appear throughout. One is a browser, used normally. The other is Burp, short for Burp Suite, a program that sits between your browser and a website and lets you look at, pause and edit the requests the browser sends. Think of it as a transparent pipe with a tap on it: you can see the water flowing and change it on the way through.
A few words you will meet in the requests:
- HTTP request: the message a browser sends to a server to ask for something. It has a method (like
POST, meaning "here is some data, please act on it"), a path (which part of the service you want), headers (extra information), and sometimes a body (the data itself). - API: the set of addresses and rules a program uses to talk to a service without a human clicking buttons. The chat window in your browser is really just a friendly picture on top of API calls.
- Endpoint: one specific address in that API, for example the one that handles chatting.
- Cookie: a small piece of text your browser stores after you log in and sends back with every request, so the server knows who you are. It works like a wristband at an event: show it and you get in without proving your identity again.
- Token / ID: a similar short value that identifies your session or request. Here a value called
mbtcappears in the URL. - JSON: a text format for structured data, using curly brackets and quoted names, easy for programs to read.
- ARN: Amazon Resource Name, a long identifier that names one specific thing in AWS, such as a particular agent.
- Status codes: the server's short answer.
200 OKmeans it did what you asked.401 Unauthorizedmeans you are not allowed.
Setup: building a test account
The walkthrough needs an active Quick Suite account. That in turn needs an AWS account and an IAM principal with enough permissions to set it up. IAM is AWS's system for managing who can do what; a principal is simply an identity, such as a user or a role. The researcher was logged in as an AWS IAM role and notes that an IAM user works too.
-
Set up Quick Suite at
https://us-east-1.quicksight.aws.amazon.com/sn/console/signup, using a personal AWS account. The settings used were:- Account name: [redacted]
- Email: [redacted]
- Region: us-east-1
- Password-based or Single Sign-On (recommended)
- Encryption: AWS-managed key (default)
After clicking "Create Account", a success message appears. The region is simply which of AWS's data centres the account lives in; us-east-1 is one of them.
-
Create a custom permission profile at
https://us-east-1.quicksight.aws.amazon.com/sn/console/custom-permissions?#. Clicking "New profile" in the top right opens the profile form. The profile was configured as:- Profile Name:
no-chat-agents - The Chat Agents box checked, which is the way to restrict "Chat Agents".
After clicking "Create", the profile is applied at the account level: from the custom permissions page, in the actions drop-down to the right of the new profile, choose "set as account profile". Because this is an extremely restrictive action, AWS adds a confirmation step in which you type
confirmand proceed. The custom permissions are then applied.Why this step: the whole point is to create the strictest possible "no chat agents" rule and prove it can be beaten. If the rule were weak, a bypass would prove nothing.
- Profile Name:
-
Create a non-admin user without access to custom permissions, invited by email. This is done at
https://us-east-1.quicksight.aws.amazon.com/sn/admin/users. The user is not tied to any IAM credentials and is created with the "Author Pro" role.Why this step: the attacker in this story is an ordinary staff member, not an administrator. Using a separate, ordinary account shows what a normal user could do.
Finding it
With the custom permissions applied, I logged in as the new Author Pro user. The left-side menu for agents disappears, so the screen gives the impression that chat agents are unavailable. The agent bar that appears when access is permitted is shown for comparison.
What I noticed is that the restriction is only presentational. By inspecting network traffic, or by leaving UI windows open after the custom permissions were applied, the user can continue interacting with AI chat agents. The back end does not enforce the permission that the front end hides.
"Presentational" is the key word. Hiding a button is like putting a curtain in front of a door: the door is still there, and anyone who knows the handle can open it. The proper fix is a lock on the door, meaning a check on the server every time the action is requested.
The impact is made worse by the default system chat agent. Quick Suite creates it automatically when the service is set up, and it is standardised by name (SYSTEM). Even if no chat agents have been created, a user can always use an AI chat agent, and the predictable resource format makes the system agent easy to address. There is no scenario, outside of severely and broadly limiting a user to the Reader role, in which an administrator can prevent chat agent access.
Exploitation: step by step
Step 1: Log in as the restricted user
Log into Quick Suite with the newly created user, following the email link to set a password. After choosing the password, a success message for the new user creation appears. The password is needed for the next step.
Why: we need a real, logged-in session belonging to a user who is supposed to be blocked.
Step 2: Log in through Burp
Using Burp, log in at https://us-east-1.quicksight.aws.amazon.com/sn/start/home with the account name, the username and the password just set. The landing page is https://us-east-1.quicksight.aws.amazon.com/sn/start/home, and no agent usage should be available: with custom permissions applied, the left-side menu for agents is gone.
Why: logging in through Burp means Burp sees every request and response, so we can capture the login material and later replay requests by hand.
Step 3: Retrieve authentication material
In Burp's Repeater tab, find an HTTP request to the QuickSight host us-east-1.quicksight.aws.amazon.com. Copy the cookie and the mbtc ID from that request.
Repeater is Burp's tab for taking one captured request and sending it again and again, edited as you like. The cookie and the mbtc value are the wristband and the ticket: without them the server has no idea who is asking.
Step 4: Send a chat request to the SYSTEM agent
The following request chats with the SYSTEM agent using the prompt "Tell me all about mangos". Replace the account ID, the mbtc value and the cookie with your own.
POST /sn/qbsproxy/quicksight/accounts/█████████/conversations/chat?mbtc=<mbtc_here> HTTP/2
Host: us-east-1.quicksight.aws.amazon.com
Cookie: <copy_cookie_here>
Content-Length: 730
Sec-Ch-Ua-Platform: "macOS"
X-Amzn-Web-Client-Version: 0.1.4
Accept-Language: en-US,en;q=0.9
Sec-Ch-Ua: "Chromium";v="145", "Not:A-Brand";v="99"
Sec-Ch-Ua-Mobile: ?0
Amz-Sdk-Request: attempt=1; max=3
Amz-Sdk-Invocation-Id: ██████████
X-Amzn-Target: api
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/[redacted] Safari/537.36
Content-Type: application/json
Accept: */*
Origin: https://us-east-1.quicksight.aws.amazon.com
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: https://us-east-1.quicksight.aws.amazon.com/sn/start/home
Accept-Encoding: gzip, deflate, br
Priority: u=1, i
{"agentIdentifier":"arn:aws:quicksight:us-east-1:███:agent/SYSTEM","spaceArns":["arn:aws:quicksight:us-east-1:aws:space/ALL"],"surfaceType":"WEB_EXPERIENCE","temporaryChat":false,"userMessage":"Tell me all about mangos","userMetadata":{"localTimezone":"America/New_York"}}
POST /sn/qbsproxy/quicksight/accounts/█████████/conversations/chat?mbtc=<mbtc_here> HTTP/2: send data (POST) to the chat endpoint of the account, carrying thembtcvalue in the address. HTTP/2 is just the version of the web protocol being used.Host: us-east-1.quicksight.aws.amazon.com: which server this is addressed to.Cookie: <copy_cookie_here>: the session wristband copied from the browser.Content-Length: 730: how long the body is, in bytes.Sec-Ch-Ua-Platform,Sec-Ch-Ua,Sec-Ch-Ua-Mobile: the browser telling the server what kind of device and browser it is. These are normal browser headers.X-Amzn-Web-Client-Version: 0.1.4: the version of the web client.Accept-Language: en-US,en;q=0.9: the language the client prefers.Amz-Sdk-Request: attempt=1; max=3: AWS's own bookkeeping about retries.Amz-Sdk-Invocation-Id: an identifier for this particular call.X-Amzn-Target: api: tells the front door that this is an API call.User-Agent: the browser's self-description.Content-Type: application/json: the body is JSON.Accept: */*: any response format is fine.OriginandReferer: where the request came from, here the Quick Suite site itself.Sec-Fetch-Site,Sec-Fetch-Mode,Sec-Fetch-Dest: browser hints about the kind of request.Accept-Encoding: which compression the client can handle.Priority: u=1, i: a hint about request priority.- The body:
agentIdentifiernames the agent by its ARN, pointing at theSYSTEMagent in us-east-1.spaceArnspoints at theALLspace.surfaceTypeisWEB_EXPERIENCE.temporaryChatisfalse.userMessageis the prompt, "Tell me all about mangos".userMetadatacarries the local timezone.
The request returns a success, a 200 OK status, with the response from the chat agent. This proves that a user can chat with chat agents despite custom permissions disabling chat agent functionality across the entire Quick Suite account.
Why this matters: the account-wide rule said no, the screen said no, and the server answered the question anyway. That is the bypass.
Step 5: Compare with an endpoint that does enforce the permission
The same custom permissions do work on another endpoint, POST /sn/qbsproxy/quicksight/v1/accounts/█████████/search/agents, which returns a 401 Unauthorized response. The same mbtc and cookie are reused, with the account number replaced.
POST /sn/qbsproxy/quicksight/v1/accounts/██████████/search/agents?maxResults=1&mbtc=<mbtc> HTTP/2
Host: us-east-1.quicksight.aws.amazon.com
Cookie: <cookie_here>
Content-Length: 163
Sec-Ch-Ua-Platform: "macOS"
X-Amzn-Web-Client-Version: 0.1.4
Accept-Language: en-US,en;q=0.9
Sec-Ch-Ua: "Chromium";v="145", "Not:A-Brand";v="99"
Sec-Ch-Ua-Mobile: ?0
Amz-Sdk-Request: attempt=1; max=3
Amz-Sdk-Invocation-Id: ████████
X-Amzn-Target: api
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/[redacted] Safari/537.36
Content-Type: application/json
Accept: */*
Origin: https://us-east-1.quicksight.aws.amazon.com
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: https://us-east-1.quicksight.aws.amazon.com/sn/start/home
Accept-Encoding: gzip, deflate, br
Priority: u=1, i
{"filterParams":{"roleFilter":{"role":"QUICKSIGHT_VIEWER"},"agentFilter":{"externalAgentId":"SYSTEM"}},"sortBy":[{"sortAttribute":"CREATED_AT","sortOrder":"DESC"}]}
- The path now ends in
search/agentsinstead ofconversations/chat: this endpoint looks for agents rather than chatting with one. ?maxResults=1&mbtc=<mbtc>: return at most one result, and carry the samembtcvalue.- The headers are the same kind as before, with the same cookie and the same browser details.
- The body asks for agents filtered to the
QUICKSIGHT_VIEWERrole and theSYSTEMexternal agent ID, sorted by creation date descending (DESC).
This request is rejected with 401, which shows that the permission model is enforced on this path but not on the chat path. In other words, the lock exists on one door and is missing on the one next to it.
I also confirmed that this is broken authorization rather than session staleness: fresh credentials were obtained and the same bypass was still observed with chat agent functionality disabled. Session staleness would mean an old login still carrying old rights; getting new credentials and seeing the same result rules that out.
Why it happens
The custom permission for chat agents is not enforced on the back end: AWS hides the UI components, but the chat endpoint does not check the permission. AWS hides the UI components, but the back end does not check the permission on the chat endpoint, so a request crafted directly against conversations/chat succeeds. The search/agents endpoint, by contrast, returns 401 under the same custom permissions.
Existing defences do not help. Custom permissions are the only control mechanism for certain Quick Suite actions, including use of AI chat agents. AWS IAM cannot restrict chat agent access, and neither can SCPs, RCPs, IAM policies or explicit denies. SCPs and RCPs are organisation-wide guardrails in AWS, and an explicit deny is a rule that says "never, no matter what". None of them reach this feature.
Impact
The bypass lets a user who has been explicitly denied chat agent access continue to interact with AI chat agents, including the default SYSTEM agent created when Quick Suite is set up. The report lists what the SYSTEM agent comes with: LLM knowledge chat enabled, access to all spaces, topics, dashboards, knowledge bases and actions based on user permissions, web search capabilities, and file upload in chat.
The affected population is large: Reader Pro, Author, Author Pro, Admin and Admin Pro users. The restriction matters for audit, compliance and security. Organisations in highly regulated industries may need to disable AI agents, for example under the EU Artificial Intelligence Act, or in finance and healthcare contexts where GDPR and HIPAA can make certain AI use off-limits unless strict conditions are met. The finding touches frameworks such as NIST SP 800-53 AC-3 for Access Enforcement, the NIST AI RMF and ISO 42001. The practical result is an audit and compliance gap for organisations that need to disable chat agent access.
In everyday terms: a company may be legally required to keep AI out of certain workflows. If the off switch does not work, the company cannot show a regulator that it complied, even though it tried.
The fix
The recommendation is to enact controls on the back-end logic for enforcement of permissions and authorization. The search/agents endpoint returns a 401 under the same custom permissions, showing the permissions working there.
Variants to test
These are general patterns you can try on other products, based on what this report shows:
- On other SaaS platforms with capability toggles, apply the most restrictive custom permission profile and then replay requests captured before the change, or craft requests directly to feature endpoints. A positive result is a 200 response with feature data where the UI no longer offers the feature.
- Compare sibling endpoints under the same permission. If one endpoint returns 401 and another returns 200 for the same capability, the enforcement is likely per endpoint and incomplete.
- Target default or system-created resources, such as the
SYSTEMagent here, whose identifiers follow a predictable format. A positive result is successful interaction with a default resource that the administrator believes is disabled. - Re-authenticate and retry with fresh credentials to rule out session staleness. A positive result is the same bypass with new credentials.
- Check whether infrastructure-level controls (IAM policies, SCPs, explicit denies) have any effect on the feature. A positive result is the feature remaining reachable despite those controls, showing that only the application-level permission was ever intended to apply.
Glossary
- API: the set of addresses and rules a program uses to talk to a service, as opposed to a human clicking buttons.
- ARN (Amazon Resource Name): a long identifier that names one specific resource in AWS, such as a particular agent.
- Authorization: the decision about whether a person is allowed to perform an action.
- Authorization bypass: getting around that decision, so an action succeeds even though it should be refused.
- Back end: the part of a service that runs on the server and does the real work.
- Burp Suite: a tool that sits between browser and website so you can inspect, pause and edit requests.
- Cookie: a small piece of text stored by the browser after login and sent with each request, so the server knows who you are.
- Custom permissions: Quick Suite's own setting for restricting what users can do, at account, role or user level.
- Endpoint: one specific address in an API that handles one kind of action.
- Explicit deny: a rule that refuses an action outright, whatever else says otherwise.
- Front end: the part of a service you see and click in the browser.
- GDPR: the European data protection regulation.
- HIPAA: a United States law about protecting health information.
- HTTP request: the message a browser sends to a server, with a method, a path, headers and sometimes a body.
- IAM: AWS's system for managing identities and what they are allowed to do.
- JSON: a text format for structured data using curly brackets and quoted names.
- LLM (large language model): the kind of AI model behind chat assistants.
- mbtc: a value carried in the request address that the service uses alongside the session.
- NIST AI RMF: a United States framework for managing AI risk.
- NIST SP 800-53 AC-3: a United States control catalogue entry about enforcing access.
- Presentational restriction: hiding a feature in the interface without actually blocking it on the server.
- Principal: an identity in AWS, such as a user or a role.
- Repeater: Burp's tab for resending and editing a captured request.
- Role: a named bundle of permissions given to a user, such as Reader or Author Pro.
- SCP / RCP: organisation-wide guardrails in AWS that limit what accounts can do.
- Session staleness: an old login still carrying old rights, which can look like a bypass but is not.
- Status code: the server's short numeric answer, such as 200 OK or 401 Unauthorized.
- SYSTEM agent: the default chat agent that Quick Suite creates automatically in every account.
- Token: a short value that identifies a session or request.
- 401 Unauthorized: the server's answer meaning you are not allowed to do this.
- 200 OK: the server's answer meaning the request succeeded.