Facebook Google Plus Twitter LinkedIn YouTube RSS Menu Search Resource - BlogResource - WebinarResource - ReportResource - Eventicons_066 icons_067icons_068icons_069icons_070

Microsoft Azure AI/ML Studio Information Disclosure

Low

Synopsis

A security issue has been discovered within the Azure AI/ML Studio services that allows for low severity information disclosure. 

 

This issue allows for the generation of authentication tokens for the scopes of management.azure.com, storage.azure.com, graph.azure.com, and others. These tokens are generated for a subscription ID internal to Microsoft, rather than the user’s own subscription or tenant. Tenable does not have reason to believe that cross-tenant access was possible via this vector.

 

Tenable Research considers this an Information Disclosure issue with Low severity, based on Microsoft’s severity scale.

 

This issue stems from improper restrictions to Azure’s IMDS from hosts deployed within AI/ML Studio environments. While access to Azure’s IMDS is properly redirected when using Azure CLI tooling, the same restrictions are not applied when accessing the IMDS directly – such as via curl or other similar tools.

 

(azureml_py38) azureuser@gfieri2:~$ curl -s -H Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance?api-version=2021-02-01" | jq .compute.subscriptionId

"f62afd7a...redacted...d9beb4e93"

 

(azureml_py38) azureuser@gfieri2:~$ curl -s -f -H "Metadata: true" "http://169.254.169.254/metadata/identity/oauth2/token?api-version=2021-12-13&resource=https://management.azure.com/" | jq

{

  "access_token": "...REDACTED...",

  "expires_in": "86379",

  "expires_on": "1730491193",

  "ext_expires_in": "86399",

  "not_before": "1730404493",

  "resource": "https://management.azure.com/",

  "token_type": "Bearer"

}

 

 

Solution

MSRC is investigating possible defense-in-depth mechanisms to avoid making these token accessible. At present, the availability of these tokens does not pose any inherent risk to customers or users.

Disclosure Timeline

October 31, 2024 - Tenable discloses to Microsoft.
October 31, 2024 - Automated acknowledgement from Microsoft.
November 7, 2024 - MSRC requests PoC video.
November 7, 2024 - Tenable requests clarification.
November 12, 2024 - Tenable requests status update. MSRC acknowledges request.
November 15, 2024 - MSRC disputes severity of reported issue.
November 18, 2024 - Tenable provides additional information. MSRC acknowledges.
November 21, 2024 - MSRC provides a status update.
November 27, 2024 - MSRC provides a status update.
December 6, 2024 - MSRC provides an updated investigation.
December 11, 2024 - MSRC requests status update from Tenable.
December 12, 2024 - Tenable provides advisory draft and agrees with updated MSRC investigation.
December 13, 2024 - MSRC acknowledges.
December 18, 2024 - MSRC provides review of advisory draft - no comments or concerns.

All information within TRA advisories is provided “as is”, without warranty of any kind, including the implied warranties of merchantability and fitness for a particular purpose, and with no guarantee of completeness, accuracy, or timeliness. Individuals and organizations are responsible for assessing the impact of any actual or potential security vulnerability.

Tenable takes product security very seriously. If you believe you have found a vulnerability in one of our products, we ask that you please work with us to quickly resolve it in order to protect customers. Tenable believes in responding quickly to such reports, maintaining communication with researchers, and providing a solution in short order.

For more details on submitting vulnerability information, please see our Vulnerability Reporting Guidelines page.

If you have questions or corrections about this advisory, please email [email protected]

Risk Information

Tenable Advisory ID: TRA-2025-02
Credit:
Evan Grant
Jimi Sebree
Affected Products:
Hosts deployed within Azure AI/ML Studio environments
Risk Factor:
Low

Advisory Timeline

January 15, 2025 - Initial release.