Share via

TLS CBC Incorrect Padding Abuse Vulnerability

Aarushi Saraswat 25 Reputation points
2026-02-19T05:59:51.8+00:00

We have a resource - Public IP Address in azure subscription that is part of Azure virtual network. A scan on this resource give us an issue 'TLS CBC Incorrect Padding Abuse Vulnerability' at port 443 and protocol TCP. The public ip is attached to a bastion connection.

How to remediate it?

Azure Virtual Network
Azure Virtual Network

An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.

{count} votes

1 answer

Sort by: Most helpful
  1. Ganesh Patapati 10,990 Reputation points Microsoft External Staff Moderator
    2026-02-19T15:36:47.78+00:00

    Hello Aarushi Saraswat

    It looks like you're facing the TLS CBC Incorrect Padding Abuse Vulnerability issue with your Azure public IP that's linked to a bastion connection. This vulnerability typically arises from the way the Cipher Block Chaining (CBC) mode handles padding, making it susceptible to certain attacks.

    To remediate this issue, here are some steps you can consider:

    1. Check Minimum TLS Version: Make sure that your Azure resources are configured to use a minimum TLS version of 1.2. Azure advises against using TLS 1.0 or 1.1 as they are being deprecated due to security concerns. You can check this setting in your Azure Portal under your resource's configuration settings.

    Update Applications: Ensure that any applications communicating through this public IP are updated to use TLS 1.2 or higher. This may involve updating application frameworks (like .NET or Java) to versions that support modern TLS versions.

    Review Cipher Suites: Ensure that your application is using secure cipher suites. Azure manages cipher suites automatically, but if you are using an Application Gateway or similar service, you may need to set allowed ciphers explicitly.

    Further Testing: Consider running diagnostic tools to test your TLS connectivity. Tools like Qualys SSL Labs can provide detailed reports on supported protocols and cipher suites, which can help you identify any vulnerabilities.

    Implement HMAC: If you have custom applications using CBC mode for encryption, consider implementing a keyed-hash message authentication code (HMAC) to ensure integrity checks are performed before decryption. This protects against padding oracle attacks.

    Stay Updated: Keep an eye on updates from Microsoft regarding any changes or recommendations about Cipher Block Chaining and TLS security.

    Reference List:

    I hope this has been helpful!

    If the above is unclear or you are unsure about something, please add a comment below.

    If these answer your question, click "Upvote" and click "Accept Answer" which may be beneficial to other community members reading this thread.

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.