Hackers Can Exploit Default ServiceNow AI Assistants Configurations to Launch Prompt Injection Attacks

Security researchers have uncovered a critical vulnerability in ServiceNow’s Now Assist AI platform that enables attackers to execute second-order prompt-injection attacks by exploiting default agent configurations.

The attack enables threat actors to manipulate AI agents into performing unauthorized Create, Read, Update, and Delete (CRUD) operations and sending external emails containing sensitive data, even with ServiceNow’s built-in prompt injection protections enabled.

The Agent Discovery Vulnerability

The vulnerability centers on ServiceNow’s agent discovery feature, which enables Now Assist agents to communicate autonomously without explicit user configuration.

By default, three critical properties are enabled simultaneously: LLM agent discovery support, automatic team grouping of agents, and discoverable agent status.

This combination creates an unintended attack surface that threat actors can weaponize.

When a low-privileged user inserts malicious prompts into ticket description fields or other readable data, these prompts can be discovered by more powerful agents.

The research demonstrates how an attacker with minimal permissions can inject instructions that trick benign agents into recruiting higher-privileged agents to complete malicious tasks.

Critically, these recruited agents execute actions with the permissions of the user who initiated the interaction, not the user who created the malicious prompt.

In testing, researchers deployed multiple Now Assist agents accessible only to administrative users, including categorization and record management agents.

A low-privileged user created a ticket containing a hidden prompt instructing any agent reading it to access restricted tickets and copy their contents.

Despite having no direct access to protected records, the low-privileged user received sensitive information through their own ticket, bypassing access control lists entirely.

Additional testing revealed that the attack could enable privilege escalation by tricking agents into assigning administrative roles to malicious users and exfiltrating data via email in SMTP-enabled instances.

ServiceNow has confirmed these behaviors were intentional design choices, but updated documentation to clarify the risks.

Organizations should implement several hardening measures: enforcing supervised execution mode for powerful agents, requiring user approval before autonomous actions, disabling the autonomous override system property, and segmenting agent duties across separate teams to limit lateral movement after compromise.

Continuous real-time monitoring of agent behavior offers critical protection, with security teams analyzing deviations between initial tasks and tools used during execution.

This approach helps detect configuration drift and suspicious inter-agent communications before attacks succeed.

Find this Story Interesting! Follow us on Google News, LinkedIn and X to Get More Instant Updates

AnuPriya
AnuPriya
Any Priya is a cybersecurity reporter at Cyber Press, specializing in cyber attacks, dark web monitoring, data breaches, vulnerabilities, and malware. She delivers in-depth analysis on emerging threats and digital security trends.

Trending News

Related Stories