Skip to content

Commit 756aaf1

Browse files
committed
2 parents 46be134 + e3c469a commit 756aaf1

File tree

2,070 files changed

+10179
-2806
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,070 files changed

+10179
-2806
lines changed

.openpublishing.redirection.developer.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5842,6 +5842,10 @@
58425842
{
58435843
"source_path": "support/developer/webapps/iis/www-administration-management/http-bad-request-response-kerberos.md",
58445844
"redirect_url": "/troubleshoot/developer/webapps/iis/www-authentication-authorization/http-bad-request-response-kerberos"
5845+
},
5846+
{
5847+
"source_path": "support/developer/webapps/iis/health-diagnostic-performance/troubleshoot-native-memory-leak-iis-7x-application-pool.md",
5848+
"redirect_url": "/troubleshoot/developer/webapps/iis/site-behavior-performance/troubleshoot-native-memory-leak-iis-7x-application-pool"
58455849
}
58465850
]
58475851
}

.openpublishing.redirection.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6915,11 +6915,6 @@
69156915
"redirect_url": "/previous-versions/troubleshoot/windows-server/windows-virtual-desktop-blank-screen",
69166916
"redirect_document_id": false
69176917
},
6918-
{
6919-
"source_path": "support/azure/virtual-desktop/welcome-virtual-desktop.yml",
6920-
"redirect_url": "/azure/virtual-desktop",
6921-
"redirect_document_id": false
6922-
},
69236918
{
69246919
"source_path": "support/windows-client/windows-troubleshooters/introduction-to-troubleshootingscript-toolset-tss.md",
69256920
"redirect_url": "/troubleshoot/windows-client/windows-tss/introduction-to-troubleshootingscript-toolset-tss",

support/azure/.openpublishing.redirection.azure.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,11 @@
665665
"redirect_url": "/troubleshoot/azure/virtual-machines/windows/activation-watermark-appears",
666666
"redirect_document_id": true
667667
},
668+
{
669+
"source_path": "virtual-machines/linux/linux-kernel-fails-restart-provision.md",
670+
"redirect_url": "/troubleshoot/azure/virtual-machines/linux/welcome-virtual-machines-linux",
671+
"redirect_document_id": false
672+
},
668673
{
669674
"source_path": "active-directory/adal-authenticate-android-devices-fail.md",
670675
"redirect_url": "/troubleshoot/azure/entra-id/mfa/adal-authenticate-android-devices-fail",
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
---
2+
title: Azure App Service Security FAQs
3+
description: Provides answers to common questions about Azure App Service security.
4+
services: app-service
5+
author: hepiet
6+
ms.topic: faq
7+
ms.date: 01/20/2025
8+
ms.author: hepiet
9+
ms.service: azure-app-service
10+
---
11+
# Frequently asked questions about App Service security
12+
13+
This article provides answers to common questions about Azure App Service security.
14+
15+
## FAQs
16+
17+
### How do I know whether a specific CVE (Common Vulnerabilities and Exposures) or known security issue applies to my web app?
18+
19+
[Microsoft Security Response Center](https://msrc.microsoft.com/) (MSRC) investigates all reports of security vulnerabilities that affect Microsoft products and services. MSRC provides this information in the [Security Update Guide](https://msrc.microsoft.com/update-guide/vulnerability) as part of an ongoing effort to help you manage security risks and keep your systems protected.
20+
21+
If your question isn't answered and you still need help, submit a [support request](https://ms.portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/overview?DMC=troubleshoot) that includes the number of the CVE.
22+
23+
To report a vulnerability, see [Report an issue](https://msrc.microsoft.com/report/vulnerability/new).
24+
25+
### How do I know when a particular specific version of software or security patch will arrive at the Azure platform runtime?
26+
27+
App Service is a platform that has various underlying technologies, such as Windows, Linux, and web application frameworks. Updates are applied at a routine cadence for OS, host runtime, and Microsoft image repo.
28+
29+
- Check [this article](/azure/app-service/overview-patch-os-runtime) to understand OS and runtime updating in Azure App Service regarding the OS or software in App Service.
30+
- Check [Guest OS update details](/azure/cloud-services/cloud-services-guestos-msrc-releases) to understand the updates that are applied to the Azure Guest OS.
31+
32+
If you still need help, gather the following information before you submit a request to [Azure support](https://ms.portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/overview?DMC=troubleshoot):
33+
34+
- Specify the security update that you're inquiring about.
35+
- Verify the security update version of the software that's deployed on Azure.
36+
- Determine whether the update is already applied in Azure.
37+
38+
### Is TLS 1.3 supported on Azure App Service?
39+
40+
For incoming requests to your web app, App Service supports TLS versions 1.0, 1.1, 1.2, and 1.3. See [Azure App Service TLS overview](/azure/app-service/overview-tls) for more information.
41+
42+
### How do I disable weak ciphers on Azure App Service?
43+
44+
A cipher suite is a set of instructions that contains algorithms and protocols to help secure network connections between clients and servers. A client makes a request to the server that includes a list of cipher suites that it supports, and the server (front-end of the web app) picks the most secure suite that's supported by both client and server. For a more comprehensive discussion of cipher suites, see [Demystifying Cipher Suites on Azure App Services](https://techcommunity.microsoft.com/t5/apps-on-azure-blog/demystifying-cipher-suites-on-azure-app-services/ba-p/2656254).
45+
46+
For [Azure App Service Environment (ASE)](/azure/app-service/environment/overview), you can set your own ciphers through Azure Resource Explorer. For detailed steps, see [Change TLS cipher suite order](/azure/app-service/environment/app-service-app-service-environment-custom-settings#change-tls-cipher-suite-order).
47+
48+
To disable Weak TLS cipher suites for web apps on multitenant setups, see [Disabling weaker TLS ciphers suites for web apps on multitenant Premium App Service plans](https://azure.github.io/AppService/2022/10/11/Public-preview-min-tls-cipher-suite.html).
49+
50+
For more information, see [FAQ on App Service cipher suites](https://techcommunity.microsoft.com/t5/apps-on-azure-blog/faq-on-app-service-cipher-suites/ba-p/3881922).
51+
52+
### How do I enable protection against DDoS attacks or suspicious activity for my app service?
53+
54+
By default, Distributed Denial of Service (DDoS) protection is not enabled for App Service plans and their app services.
55+
56+
You can use [Azure DDoS Protection](/azure/ddos-protection/ddos-protection-overview) to protect your Azure resources from attacks. Azure DDoS Protection, combined with application design best practices, provides enhanced DDoS mitigation features to defend against DDoS attacks.
57+
58+
Notice that [Azure Traffic Manager](/azure/traffic-manager/traffic-manager-overview) is a DNS-based traffic load balancer that enables you to distribute traffic optimally to services across global Azure regions while providing high availability and responsiveness. However, Traffic Manager does not provide protection against DDoS attacks.
59+
60+
### I suspect that my website is being hacked. What should I do?
61+
62+
Microsoft secures and [frequently updates the hosting environment and infrastructure](/azure/app-service/overview-patch-os-runtime). If a website was hacked or defaced, this usually indicates an exploited vulnerability that's caused by an outdated app package.
63+
64+
Azure App Service does not block insecure apps from running. If the website is vulnerable, you must fix the vulnerabilities in the website code, and then redeploy it to Azure App Service.
65+
66+
Azure support can help you review the web app's HTTP logs and deployment history to identify when the unknown file was first accessed or whether suspicious patterns appear in the logs. We can also offer guidance about how to configure security services such as Web Application Firewall and Microsoft Defender for App Service. However, we can't take direct action because the permanent fix might involve implementing a Web Application Firewall or updating the existing codes.
67+
68+
You can [restore a backup](/azure/app-service/manage-backup?tabs=portal#restore-a-backup) or redeploy the site, but this is not a long-term fix if the security issue is not resolved.
69+
70+
### My site has been added to the blocklist. What should I do?
71+
72+
If the IP address is frequently blocklisted, it's important to investigate the root cause. The blockage might be caused by sending spam email messages, hosting malicious content, or other security vulnerabilities that should be resolved.
73+
74+
- **Inbound IP blocklisted**: To address an inbound IP blocklisting issue, request a [static inbound IP address](/azure/app-service/overview-inbound-outbound-ips#get-a-static-inbound-ip) by using an IP-based SSL to secure your domain. Alternatively, you can use Azure services such as [Azure Application Gateway](/azure/application-gateway/overview) or [App Service Environment](/azure/app-service/environment/networking) (ASE) to gain a dedicated inbound IP address.
75+
76+
- **Outbound IP blocklisted**: The only way to request dedicated outbound IP addresses is to use an App Service Environment. Apps that run in Azure share outbound addresses from a common pool.
77+
- You can deploy your app in a different (resource group + location) to host the application in a new scale unit. [Scaling your app between pricing tiers](/azure/app-service/manage-scale-up#scale-up-your-pricing-tier) will also trigger a change in outbound IP addresses.
78+
- Alternatively, use [Azure's NAT Gateway](/azure/vpn-gateway/vpn-gateway-about-vpngateways) to assign dedicated outbound IP addresses to your resources.
79+
- For more information, see [How to fix outbound IPs for App Service using NAT Gateway](https://techcommunity.microsoft.com/blog/appsonazureblog/how-to-fix-outbound-ips-for-app-service/2320612).
80+
81+
- **SMTP blocklisted**: Port 25 is mainly used for unauthenticated email delivery. Outbound connections from App Services to the public internet by using port 25 are not restricted. However, using this design could result in outbound IP addresses being flagged as spam and, therefore, blocklisted.
82+
- We recommend that you use authenticated SMTP relay services to send email or implement App Service VNet Integration.
83+
- Alternatively, host the App Service in an [App Service Environment (ASE)](/azure/app-service/environment/networking) to route outbound SMTP connections over a private network.
84+
- For details, refer to [Troubleshoot outbound SMTP connectivity problems in Azure](/azure/virtual-network/troubleshoot-outbound-smtp-connectivity).
85+
86+
### Why am I receiving warnings or alerts for my web app in security scan reports?
87+
88+
Security scans are typically run against a web app URL. Make sure that the tested URL resolves to the intended web app. If it resolves elsewhere, such as an application gateway, you can expect to receive inaccurate scan results.
89+
90+
Some scan results could be false positives even as others indicate a genuine security issue that might require a consultation with Azure support. Certain changes are within your control, such as networking or website configuration. Other changes at the platform level can be controlled only by Microsoft.
91+
92+
Azure support can assist you by reviewing the full scan results, confirming the results, and providing security feature options to you.

support/azure/app-service/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
href: ./capture-memory-dumps-app-service.md
77
- name: Create or delete web apps FAQs
88
href: ./create-delete-resources-faq.yml
9+
- name: App service security FAQs
10+
href: faqs-web-app-security.md
911
- name: Availability, performance, and application FAQs
1012
href: web-apps-performance-faqs.md
1113
- name: App Service Compliance with PCI Standards 3.0 and 3.1

support/azure/automation/updates/find-azurermresource-fails.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ Starting in Microsoft AzureRM 6.0.0, the `Find-AzureRmResource` cmdlet functiona
2525

2626
## Resolution
2727

28-
To fix this issue, update your runbooks to use `Get-AzureRmResource` instead of `Find-AzureRmResource`. For more information, see the [usage of Get-AzureRmResource](/powershell/module/azurerm.resources/get-azurermresource?view=azurermps-6.1.0&preserve-view=true).
28+
To fix this issue, update your runbooks to use `Get-AzureRmResource` instead of `Find-AzureRmResource`. For more information, see the [usage of Get-AzureRmResource](/previous-versions/powershell/module/azurerm.resources/get-azurermresource).
2929

3030
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]

support/azure/azure-kubernetes/extensions/changes-in-kubernetes-event-driven-autoscaling-add-on-214-215.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,17 @@ Your AKS cluster Kubernetes version determines which KEDA version will be instal
3636
```yaml
3737
triggers:
3838
- type: any-type
39-
metadata:
40-
metricName: "my-custom-name"
39+
metadata:
40+
metricName: "my-custom-name"
4141
```
4242
4343
Example by using KEDA 2.15 or 2.14
4444
4545
```yaml
4646
triggers:
4747
- type: any-type
48-
name: "my-custom-name"
49-
metadata:
48+
name: "my-custom-name"
49+
metadata:
5050
```
5151
5252
## Frequently asked questions

support/azure/azure-kubernetes/extensions/troubleshoot-failed-kubernetes-deployment-offer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ You can use the Azure CLI commands that are described in the [Azure CLI legal te
132132
133133
#### [PowerShell](#tab/PowerShell)
134134
135-
To accept the legal terms through PowerShell, run the cmdlets that are described in the [PowerShell legal terms](/powershell/module/azurerm.marketplaceordering).
135+
To accept the legal terms through PowerShell, run the cmdlets that are described in the [PowerShell legal terms](/powershell/module/az.marketplaceordering).
136136
137137
---
138138

support/azure/azure-storage/files/connectivity/files-troubleshoot-smb-connectivity.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Troubleshoot problems connecting to and accessing SMB Azure file sh
44
services: storage
55
ms.service: azure-file-storage
66
ms.custom: sap:Connectivity, devx-track-azurepowershell, linux-related-content
7-
ms.date: 09/12/2024
7+
ms.date: 02/04/2025
88
ms.reviewer: kendownie, jarrettr, v-weizhu, v-six, hanagpal
99
---
1010
# Troubleshoot Azure Files connectivity and access issues (SMB)
@@ -106,7 +106,7 @@ SourceAddress : <your-ip-address>
106106
TcpTestSucceeded : True
107107
```
108108

109-
> [!Note]
109+
> [!NOTE]
110110
> This command returns the current IP address of the storage account. This IP address is not guaranteed to remain the same, and may change at any time. Don't hardcode this IP address into any scripts, or into a firewall configuration.
111111
112112
#### Solutions for cause 1
@@ -231,6 +231,8 @@ Make sure port 445 is open and [check DNS resolution and connectivity to your fi
231231

232232
### [Linux](#tab/linux)
233233

234+
Linux clients can use [AzFileDiagnostics](https://github.com/Azure-Samples/azure-files-samples/tree/master/AzFileDiagnostics/Linux) to automate symptom detection and ensure that they have the correct prerequisites.
235+
234236
Common causes for this problem are:
235237

236238
- You're using a Linux distribution with an outdated SMB client. See [Use Azure Files with Linux](/azure/storage/files/storage-how-to-use-files-linux) for more information on common Linux distributions available in Azure that have compatible clients.
@@ -262,17 +264,17 @@ To learn more, see [Prerequisites for mounting an Azure file share with Linux an
262264
1. Connect from a client that supports SMB encryption or connect from a virtual machine in the same datacenter as the Azure storage account that's used for the Azure file share.
263265
2. Verify the [Secure transfer required](/azure/storage/common/storage-require-secure-transfer) setting is disabled on the storage account if the client doesn't support SMB encryption.
264266

265-
##### Cause 2: Virtual network or firewall rules are enabled on the storage account
267+
##### Cause 2: Virtual network or firewall rules are enabled on the storage account, or port 445 is blocked
266268

267-
If virtual network (VNET) and firewall rules are configured on the storage account, network traffic will be denied access unless the client IP address or virtual network is allowed access.
269+
If virtual network (VNET) and firewall rules are configured on the storage account, network traffic will be denied access unless the client IP address or virtual network is allowed access. In addition, if your company or ISP blocks port 445 outbound, you won't be able to mount the share.
268270

269271
##### Solution for cause 2
270272

271-
Verify that the VNET and firewall rules are configured properly on the storage account and the port 445 is allowlisted. To test if virtual networks or firewall rules cause the issue, you can temporarily change the setting on the storage account to **Allow access from all networks**. To learn more, see [Configure Azure Storage firewalls and virtual networks](/azure/storage/common/storage-network-security).
273+
Verify that the VNET and firewall rules are configured properly on the storage account, and that port 445 is allowlisted. To test if virtual networks or firewall rules cause the issue, you can temporarily change the setting on the storage account to **Allow access from all networks**. To learn more, see [Configure Azure Storage firewalls and virtual networks](/azure/storage/common/storage-network-security).
272274

273275
##### Cause 3: SMB client is configured to use NTLMv1
274276

275-
Azure Files only supports NTLMv2 and Kerberos for SMB file shares. Kernel 4.4 and later versions enable NTLMv2 by default and disable LANMAN. Under default configurations, NTLMv1 is kept as a negotiation only option. For more information, see your OS documentation.
277+
Azure Files only supports NTLMv2 (storage account key only) and Kerberos authentication for SMB file shares. NTLMv1 isn't supported. Kernel 3.3 and later versions default to NTLMv2 unless overridden with the `sec` mount option. Kernel 4.4 and later versions enable NTLMv2 by default and disable LANMAN. Under default configurations, NTLMv1 is kept as a negotiation only option. For more information, see your OS documentation.
276278

277279
##### Solution for cause 3
278280

@@ -284,7 +286,7 @@ When storage account key access is disabled or disallowed for a storage account,
284286

285287
##### Solution for cause 4
286288

287-
Use identity-based authentication. The file share must be joined to an on-premises Active Directory Domain Servies (AD DS) or Microsoft Entra Domain Services domain, and the Linux client must be [configured to use Kerberos authentication](/azure/storage/files/storage-files-identity-auth-linux-kerberos-enable).
289+
Use identity-based authentication instead. See [Enable Active Directory authentication over SMB for Linux clients accessing Azure Files](/azure/storage/files/storage-files-identity-auth-linux-kerberos-enable) for prerequisites and instructions.
288290

289291
#### <a id="error115"></a>"Mount error(115): Operation now in progress" when you mount Azure Files by using SMB 3.x
290292

@@ -492,6 +494,8 @@ $leaseClient.Break() | Out-Null
492494

493495
## [Linux](#tab/linux)
494496

497+
Linux clients can use [AzFileDiagnostics](https://github.com/Azure-Samples/azure-files-samples/tree/master/AzFileDiagnostics/Linux) to automate symptom detection and ensure that they have the correct prerequisites.
498+
495499
In Linux, you might see the following issues.
496500

497501
### Open handles on files or directories
@@ -589,6 +593,8 @@ If you're using Azure file shares to store profile containers or disk images for
589593

590594
## [Linux](#tab/linux)
591595

596+
Linux clients can use [AzFileDiagnostics](https://github.com/Azure-Samples/azure-files-samples/tree/master/AzFileDiagnostics/Linux) to automate symptom detection and ensure that they have the correct prerequisites.
597+
592598
### <a id="permissiondenied"></a>"[permission denied] Disk quota exceeded" when you try to open a file
593599

594600
In Linux, you might receive an error message that resembles the following:

0 commit comments

Comments
 (0)