Question 91
Choose 2
While a security analyst for an organization was reviewing logs from web servers. the analyst found several successful attempts to downgrade HTTPS sessions to use cipher modes of operation susceptible to padding oracle attacks. Which of the following combinations of configuration changes should the organization make to remediate this issue? (Select two).
Correct answer:
A. Configure the server to prefer TLS 1.3.
B. Remove cipher suites that use CBC.
Correct Answer:
1. Configure the server to prefer TLS 1.3
TLS 1.3 removes support for older, insecure cipher suites, including those that are vulnerable to padding oracle attacks It also removes static RSA and Diffie-Hellman key exchanges, further improving security.
TLS 1.3 enforces stronger forward secrecy and eliminates insecure features like renegotiation.
Upgrading to TLS 1.3 helps mitigate downgrade attacks and ensures only modern, secure algorithms are used.
Why it matters: Padding oracle attacks exploit weaknesses in how CBC (Cipher Block Chaining) padding is validated. TLS 1.3 doesn’t support CBC, so it avoids the vulnerability altogether.
2. Remove cipher suites that use CBC
CBC (Cipher Block Chaining) modes are susceptible to padding oracle attacks, such as BEAST, POODLE, and Lucky13.
Removing CBC-based ciphers ensures the server won’t offer insecure options that clients can be tricked into using.
Instead, you should use AEAD cipher modes like GCM (Galois/Counter Mode), which are not vulnerable to padding attacks.
Why it matters: Even if TLS 1.2 is in use, removing CBC suites reduces the attack surface and mitigates vulnerabilities in older protocol versions.
Incorrect Answer:
Configure the server to prefer ephemeral modes for key exchange
This is related to forward secrecy, not padding oracle vulnerabilities.
While good for security, it does not directly mitigate padding oracle attacks.
Ephemeral key exchange protects past sessions in case of key compromise—not relevant to the padding issues in CBC.
Require client browsers to present a user certificate for mutual authentication
This is about client authentication, not cipher selection or encryption mode.
Mutual TLS (mTLS) increases security but doesn't prevent padding oracle or downgrade attacks.
Also, it adds complexity and is rarely used for public-facing web servers.
Configure the server to require HSTS
HSTS (HTTP Strict Transport Security) ensures browsers use HTTPS, preventing SSL stripping.
It does not affect the choice of cipher suites or TLS version used.
HSTS improves overall transport security but doesn’t mitigate padding oracle vulnerabilities.
References:
OWASP: Padding Oracle Attacks
NIST SP 800-52 Rev. 2: Guidelines for the Selection, Configuration, and Use of TLS
RFC 8446: TLS 1.3 Specification
1. Configure the server to prefer TLS 1.3
TLS 1.3 removes support for older, insecure cipher suites, including those that are vulnerable to padding oracle attacks It also removes static RSA and Diffie-Hellman key exchanges, further improving security.
TLS 1.3 enforces stronger forward secrecy and eliminates insecure features like renegotiation.
Upgrading to TLS 1.3 helps mitigate downgrade attacks and ensures only modern, secure algorithms are used.
Why it matters: Padding oracle attacks exploit weaknesses in how CBC (Cipher Block Chaining) padding is validated. TLS 1.3 doesn’t support CBC, so it avoids the vulnerability altogether.
2. Remove cipher suites that use CBC
CBC (Cipher Block Chaining) modes are susceptible to padding oracle attacks, such as BEAST, POODLE, and Lucky13.
Removing CBC-based ciphers ensures the server won’t offer insecure options that clients can be tricked into using.
Instead, you should use AEAD cipher modes like GCM (Galois/Counter Mode), which are not vulnerable to padding attacks.
Why it matters: Even if TLS 1.2 is in use, removing CBC suites reduces the attack surface and mitigates vulnerabilities in older protocol versions.
Incorrect Answer:
Configure the server to prefer ephemeral modes for key exchange
This is related to forward secrecy, not padding oracle vulnerabilities.
While good for security, it does not directly mitigate padding oracle attacks.
Ephemeral key exchange protects past sessions in case of key compromise—not relevant to the padding issues in CBC.
Require client browsers to present a user certificate for mutual authentication
This is about client authentication, not cipher selection or encryption mode.
Mutual TLS (mTLS) increases security but doesn't prevent padding oracle or downgrade attacks.
Also, it adds complexity and is rarely used for public-facing web servers.
Configure the server to require HSTS
HSTS (HTTP Strict Transport Security) ensures browsers use HTTPS, preventing SSL stripping.
It does not affect the choice of cipher suites or TLS version used.
HSTS improves overall transport security but doesn’t mitigate padding oracle vulnerabilities.
References:
OWASP: Padding Oracle Attacks
NIST SP 800-52 Rev. 2: Guidelines for the Selection, Configuration, and Use of TLS
RFC 8446: TLS 1.3 Specification





