Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

What to Do When the Vendor’s Security Patch Doesn’t Fix the Problem?

DZone's Guide to

What to Do When the Vendor’s Security Patch Doesn’t Fix the Problem?

Having trouble with CPU's? Check out this post about recent problems with patch updates and how the JIT compiler can help!

· Security Zone ·
Free Resource

Discover how to provide active runtime protection for your web applications from known and unknown vulnerabilities including Remote Code Execution Attacks.

Back in the days before television informercials, there were ads asking: “How many times has THIS happened to you?” What usually followed was some common problem with an outlandish solution that didn’t work.  All it would cost you was $9.95 plus shipping and handling! (“Call before midnight and receive this free set of plastic steak knives that look real!”)

Fast forward to today’s world of cybersecurity — what do you do when the solution to your problem, say, a binary patch that is supposed to fix a known flaw in an application’s code — doesn’t solve the problem.  Or worse, it breaks your application?  The financial and operational consequences are substantially higher than the $10 you’d lose from trying to fix your leaky faucet with a bad TV product.

Failed Security PatchYet, that’s what exactly what has occurred with the two most recent Oracle critical patch updates. In both the April and July 2018 CPUs, patches designed to fix known CVEs were later found to be easily by-passed or applying them required significant development work to avoid breaking an app’s functionality.

The April 2018 Oracle quarterly Critical Patch Update (CPU) included a fix for the critical WebLogic server vulnerability CVE-2018-2628 that carried a high-risk vulnerability rating.  One day later after the CPU’s release, multiple users on GitHub released proof of concept (POC) exploit code against this flaw. Soon after, reports indicated increased scanning activity for vulnerable, unpatched servers.

The July 2018 CPU includes one patch that requires a rebuild of an application and other patches that run the risk of breaking functionality.  The fix for the most critical Java SE vulnerability, CVE-2018-2938, removes the vulnerable component (Java DB) from the JDK, requiring users of this component to manually obtain the latest Apache Derby artifacts and rebuild their applications.

Another component of the July CPU introduced new deserialization controls in the JDK that limit the object creation phase of deserialization. These new security controls may break reflective frameworks that make use of JDK-internal APIs. These security checks can be disabled to allow these reflective frameworks to work normally, but by disabling these security checks, attackers can potentially exploit this vulnerability.

For teams who still rely on making source code changes, rigorously testing physical patches is one way to avoid the problems outlined above. For Waratek customers, though, applying a real-time patch using the JIT compiler rather than making source code changes avoids the risk of breaking an application or backwards compatibility issues.

You can learn more about how Waratek can help patch and secure your applications with no downtime or source code changes by requesting a quick demonstration. 

Find out how Waratek’s award-winning application security platform can improve the security of your new and legacy applications and platforms with no false positives, code changes or slowing your application.

Topics:
security ,cpu ,java ,jdk ,cybersecurity ,patches ,jit compiler ,cve

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}