A security flaw has been discovered in Microsoft’s Azure App Service that exposed source code for customer applications written in Java, Node, PHP, Python, and Ruby for at least four years since September 2017.
According to Wiz researchers, the vulnerability, codenamed “Not Legit,” was first reported to the tech giant on October 7, 2021, and mitigations were implemented to fix the bug in November. Microsoft said “a limited subset of customers” are at risk. “Customers who deployed code to App Service Linux via Local Git after files had already been created in the application are the only impacted customers.”
Azure App Service (aka Azure Web Apps) is a platform for building and hosting web applications on the cloud. Source code and artifacts can be deployed to the service using a local Git repository, or via GitHub and Bit bucket repositories. When the Local Git method is used to deploy to Azure App Service, the Git repository is created within a publicly accessible directory (home/site/wwwroot) Microsoft does add a “web. config” file to the repository’s .git folder to restrict public access, but these configuration files are only used by C# or ASP.NET applications that rely on Microsoft’s IIS web servers, leaving out PHP, Ruby, Python, and Node apps that run on different web servers like Apache, Nginx, or Flask.
Shir Tamari, the Wiz researcher, said that a malicious actor simply had to fetch the ‘/.git’ directory from the target application and retrieve its source code. Malicious actors are continually searching the internet for exposed Git folders from which they can obtain secrets and intellectual property. Additionally, the leaked source code can often be used for more sophisticated dangerous attacks.
You may also like
The Head of a forged SIM card racket is arrested by cyber police.
Youth arrested for posting women’s obscene photos on social media.
Someone is using your PAN card on the loan application. Dhani app loan fraud! so checks your credit score right now.
An elder man in Himachal Pradesh honey-trapped by cyber fraudsters.
Two new Mozilla Firefox 0-day bugs are being actively exploited – patch your browser today!