UPDATED 09:00 EDT / SEPTEMBER 16 2024

SECURITY

Vectra AI warns of Google Cloud Document AI vulnerability allowing data exfiltration

A new report out from threat detection and response company Vectra AI Inc. is warning of a vulnerability in Google Cloud service Document AI that allows malicious actors to exploit the service’s misconfigured permissions.

Document AI is a Google Cloud service that uses machine learning to extract structured data from unstructured documents to automate data processing tasks. The service offers both pretrained models and customizable tools that allow businesses to efficiently analyze and manage large volumes of documents.

The vulnerability in Document AI stems from to the way the service allows users to process documents stored in Cloud Storage by creating both online, or standard, jobs and offline or batch processing jobs. When performing batch processing, the service employs the Document AI Core Service Agent with the Role “documentaicore.serviceAgent” to handle data ingestion and output the results. But in doing so, the service agent possesses broad permissions to access any cloud storage bucket within the same project.

As explained in the report, the broad permission model poses a significant risk because the Document AI Core Service Agent’s permissions are not limited to the resources specifically needed for the task at hand. Instead, the permission allows access to any Cloud Storage bucket within the project, meaning that even if the initial caller has restricted access, the service agent can bypass these controls.

As a result, a malicious actor could exploit the loophole to read and transfer data from a cloud storage bucket that they would not normally have access to, leading to serious data exfiltration risks.

The vulnerability represents a case of transitive access abuse, where unauthorized access is gained indirectly through a trusted intermediary – in this case, the service agent. Even if customers aren’t using Document AI, they are still vulnerable if the service can be enabled by an attacker with sufficient permissions, such as the ability to create or modify processors. The report notes that this raises significant concerns for Google Cloud customers, as the vulnerability impacts data security at a fundamental level, necessitating immediate attention and stronger access control policies.

Normally, when details of a vulnerability are published by a cybersecurity company, it’s followed by the given company with the vulnerability resolving the issue, but surprisingly, that’s not the case here.

The issue was reported by Vectra AI to Google through the Google Vulnerability Reward Program on April 4, but despite several months of research efforts to identify the root cause of the issue and propose a solution, Google is claimed in the report to have “yet to determine whether they will internally classify this issue as ‘Working as Intended’ or a ‘Vulnerability,’ nor has any change to the service been made.”

Google was informed by Vectra AI that it intended to go public with the information about the vulnerability on July 2, with publication only occurring today.

The researchers warn that all Google Cloud customers are affected by the vulnerability if they do not prevent the enablement of the Document AI service and its usage via Organizational Policy Constraints. Further, a customer doesn’t need to be using Document AI to be affected.

Organizations using Google Cloud are advised to take immediate steps to disable the service if it’s not essential for their operations. Implementing strict identity and access management policies to limit permissions and using organizational constraints to block Document AI from being enabled can also significantly reduce exposure.

Image: SiliconANGLE/Ideogram

A message from John Furrier, co-founder of SiliconANGLE:

Support our open free content by sharing and engaging with our content and community.

Join theCUBE Alumni Trust Network

Where Technology Leaders Connect, Share Intelligence & Create Opportunities

11.4k+  
CUBE Alumni Network
C-level and Technical
Domain Experts
15M+ 
theCUBE
Viewers
Connect with 11,413+ industry leaders from our network of tech and business leaders forming a unique trusted network effect.

SiliconANGLE Media is a recognized leader in digital media innovation serving innovative audiences and brands, bringing together cutting-edge technology, influential content, strategic insights and real-time audience engagement. As the parent company of SiliconANGLE, theCUBE Network, theCUBE Research, CUBE365, theCUBE AI and theCUBE SuperStudios — such as those established in Silicon Valley and the New York Stock Exchange (NYSE) — SiliconANGLE Media operates at the intersection of media, technology, and AI. .

Founded by tech visionaries John Furrier and Dave Vellante, SiliconANGLE Media has built a powerful ecosystem of industry-leading digital media brands, with a reach of 15+ million elite tech professionals. The company’s new, proprietary theCUBE AI Video cloud is breaking ground in audience interaction, leveraging theCUBEai.com neural network to help technology companies make data-driven decisions and stay at the forefront of industry conversations.