Google fixed two vulnerabilities in its Vertex AI platform that could have led to privilege escalation and exfiltration of fine-tuned machine learning (ML) models and large language models (LLMs), Palo Alto Networks’ Unit 42 reported Tuesday.Vertex AI provides tools and features for developers to train and deploy AI models leveraging Google Cloud resources. One of these features is Vertex AI Pipelines, which developers can use to create custom training jobs in order to flexibly tune their models.Since running a custom job is similar to running code, it creates the potential for malicious actors to misuse this feature to execute unauthorized commands, the researchers found. They also noted that custom jobs are executed with “service agent” permissions, which grant much greater access than needed to launch the job to begin with.Seeking to leverage the elevated privileges of the custom job’s service agent identity, the researchers created a custom image that opens a reverse shell when the custom job is executed, ultimately escalating the user’s privileges to that of an AI Platform Custom Code Service Agent. With this role, the researchers could access the metadata service and all BigQuery tables, acquire service credentials, extract the user-data script, list all service accounts, create, delete, read and write all storage buckets, and more. They further escalated their access by using the user-data script to gain visibility into virtual machine creation and obtain metadata on Google Cloud Platform internal Artifactory repositories, the researchers wrote.“We used the metadata to access the internal GCP repositories and downloaded images that we didn’t have permissions for with our original service account. Although we gained access to restricted internal GCP repositories, we could not understand the extent of the vulnerability that we discovered, since permissions on the repository are granted at the repository level,” the report authors explained.
AI/ML, Vulnerability Management, Cloud Security
Google fixes 2 Vertex AI flaws that could lead to privilege escalation, model leaks

Adobe Stock
An In-Depth Guide to AI
Get essential knowledge and practical strategies to use AI to better your security program.
Get daily email updates
SC Media's daily must-read of the most current and pressing daily news
You can skip this ad in 5 seconds