Security News > 2021 > December > 4-Year-Old Microsoft Azure Zero-Day Exposes Web App Source Code

4-Year-Old Microsoft Azure Zero-Day Exposes Web App Source Code
2021-12-23 19:04

The Microsoft Azure App Service has a four-year-old vulnerability that could reveal the source code of web apps written in PHP, Python, Ruby or Node, researchers said, that were deployed using Local Git.

The Azure App Service is a cloud computing-based platform for hosting websites and web applications.

Local Git meanwhile allows developers to initiate a local Git repository within the Azure App Service container in order to deploy code straight to the server.

The issue arises because when using Local Git, the Git folder is also uploaded and publicly accessible on unpatched systems; it's placed in the "/home/site/wwwroot" directory, which anyone could access.

Microsoft did originally deploy a mitigation, in the form of adding a "Web.config" file to the Git folder within the public directory that restricted public access; it turns out this is an incomplete fix though.

Users who deployed code via FTP or Web Deploy or Bash/SSH which resulted in files getting initialized in the web app before any git deployment;.


News URL

https://threatpost.com/microsoft-azure-zero-day-source-code/177270/

Related vendor

VENDOR LAST 12M #/PRODUCTS LOW MEDIUM HIGH CRITICAL TOTAL VULNS
Microsoft 365 50 1369 2819 161 4399