Risk Level: Medium
Description
This plugin ensures that the latest version of the .NET Framework is installed for all App Services. Installing the latest version of the .NET framework will reduce the security risk of missing feature updates and security patches.
Configuration Parameter
Latest .NET Framework Version: This parameter denotes that the latest version of .NET Framework should be installed on all AppServices.An alert is generated if the .NET Framework is not latest. Installing the latest version of the .NET framework will reduce the security risk of missing feature updates and security patches.
By default the value is set to 4.0, therefore the versions any other than the version before 4.0 will result in vulnerability.
About the Service
App Services: The app services at azure offers to host web applications, the REST API and backend services for mobile and web applications. Hosting web apps on Azure lets users focus on managing the application and its data.
Impact
The latest version of any software comes not only with improved features but also with security patches for loopholes that existed in the previous versions. Thus, selecting older versions of Software in the runtime stack provides threat actors with a loophole to damage and misuse the application’s resources and assets.
Steps to Reproduce
- Log in to the Azure portal.
- Click on App Services.
- Select an App Service plan from the listed apps.
- Click on Configuration under Settings.
- Go to the General settings section.
- Under Stack settings, if the Stack is set to .NET, then check the set version. If the value is set to an older version, go to the Steps for Remediation section to remove the issue.
NOTE: As of November 27, 2021, the latest version for PHP is .NET 6.
Steps for Remediation
- Log in to the Azure portal.
- Click on App Services.
- Select an App Service plan from the listed apps.
- Click on Configuration under Settings.
- Go to the General settings section.
- Under Stack settings if the Stack is set to .NET, then check the set version. If the value is set to an older version, click the drop down menu in front of .NET version and select the latest available version.
NOTE: As of November 27, 2021, the latest version for .NET is .NET 6. - Repeat the process for other applications as well.
Please feel free to reach out to support@pingsafe.ai with any questions that you may have.
Thanks
PingSafe Support