CompTIA CASP+ (CAS-004) — Question 101

A company created an external, PHP-based web application for its customers. A security researcher reports that the application has the Heartbleed vulnerability.
Which of the following would BEST resolve and mitigate the issue? (Choose two.)

Answer options

Correct answer: B, F

Explanation

Correcting the PHP code (B) directly addresses the vulnerability in the application, while upgrading the OpenSSL library (F) resolves any underlying issues with the SSL implementation. Options A, C, D, and E do not effectively fix the Heartbleed vulnerability, as they either fail to address the root cause or introduce additional security risks.