Home > Security News > OPatch, wherefore art thou?
Security News:
EMAIL THIS

OPatch, wherefore art thou?

By Shawna McAlearney, News Editor
15 Aug 2005 | SearchSecurity.com

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   

Failed patch installation and fixes that don't correct vulnerabilities aren't an everyday occurrence, but they do happen. Oracle Corp. hit such a bad patch in April, and security managers should prepare to verify patches manually as Oracle gears up for another quarterly patch release next month.

"OPatch fails as often as it works," David Litchfield, managing director for Next Generation Security Software Ltd., says of Oracle's patching utility. "While you think you're protected against these flaws, you are, in reality, still vulnerable and open to exploitation."

The disconnect between a correctly installed patch and one that doesn't work impacts regulatory compliance, such as the Health Insurance Portability and Accountability Act [HIPAA], Gramm-Leach-Bliley [GLBA], Sarbanes-Oxley [SOX], and even VISA CISP and MasterCard PCI standards. As part of being compliant you need to prove patches are applied promptly.

"The VISA CISP and MasterCard PCI mandate, for example, that patches must be applied within one month of release," Litchfield said. "Any merchant that fails this test could end up losing the ability to process credit card transactions, which would be disastrous. Part of the requirements of HIPAA, SOX and GLBA dictate that a secure network is to be maintained. If you know of a critical security patch and you don't have any plans to install it 'soon' then this could be considered negligent."

Related links

Raising risk prospects with a new SQL injection threat

Oracle researcher announces high-risk flaws

At the heart of the quarterly Critical Patch Update [CPU] lies OPatch, the mechanism both used to apply patches and to verify them. While researching Oracle patches to improve NGSSQuirreL, a tool that also verifies patch levels, Litchfield found several reasons why applying these patches can fail. In a soon-to-be released paper he cited:

Incomplete patches
Sometimes the CPU fails to install the updated fixed copies of the files, as it did in April. Then new Java classes designed to correct SQL injection errors failed to load on all platforms; in Windows it copied to the wrong directory and was never executed. And even if Ultrasearch was installed, the fixed versions of a number of WKSYS-owned packages weren't loaded into the database. Oracle later replaced the patch.

Patches fail to fix the flaw
On many occasions Oracle has supplied a "fix" for vulnerabilities discovered by NGSSoftware, yet on examining those "fixes" they fail to properly address the root of the problem. As such, the flaws can still be exploited on a "patched" server.

Failure to perform post installation tasks
This is a fairly common mistake. After running OPatch, the message "OPatch succeeded" is generated. While this could be construed as a complete patch installation, the documentation states that the post-installation steps still need to be executed. These final steps update the PL/SQL packages, Java Class files, etc., in the database and if these aren't installed then the server will remain vulnerable even though running "opatch lsinventory" indicates that the server is patched.

OPatch fails to update the inventory
Incorrect permissions, files to be patched are still in use, environment variables are wrong -- whatever the reason might be, OPatch can often fail to update the inventory. If information in the inventory is wrong then so too are any observations made about patch status and levels.

OPatch used to rollback patches
When a patch is rolled back, the changes aren't reflected in the Oracle inventory so even though the server appears to be patched it isn't.

He recommends manually verifying that patches were applied and are effective. Analyze the patch to see what files and objects are being replaced. Examine the same objects in the database. Note the differences then apply the patch. Once applied, query each component to see whether the server has the patched or unpatched version. Then, fix any problems that come to light.

"You're comparing the expected end state of the database server with the actual end state," Litchfield added. "If the two don't match the patch installation was not successful. By performing this patch verification you're able to isolate what didn't install properly and armed with this knowledge you can fix it."

Tags: Security Patch ManagementDatabase Security ManagementVIEW ALL TAGS

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Security Patch Management
Squad: Tokenization, Phishing and the Feds
Should management processes change based on a patch release schedule?
Should Windows Mobile updates come from Microsoft?
Adobe updates ColdFusion, JRun, Flex
Trusteer CEO criticizes Adobe, touts better patch deployments
Patch management study shows IT taking significant risks
Vulnerability mitigation study shows need for faster patching
Microsoft to issue security report card, new tool at Black Hat
How to manage patches for Adobe
When is it suitable to remove Java updates?

Database Security Management
What is the best database patch management process?
Unpatched vulnerability discovered in Microsoft SQL Server
SQL injection continues to trouble firms, lead to breaches
Oracle issues quarterly patches, fixes database flaws
Database monitoring, encryption vital in tight economy, Forrester says
Oracle to buy Sun Microsystems for $7.4 billion
Oracle issues 43 updates, fixes serious database flaws
Imperva assigns security risk levels to databases
How to create configuration management plans to install DLP
Information security book excerpts and reviews
Database Security Management Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
attack vector  (SearchSecurity.com)
back door  (SearchSecurity.com)
ethical worm  (SearchSecurity.com)
Patch Tuesday  (SearchSecurity.com)
zero-day exploit  (SearchSecurity.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



More Tips to Secure Your Network
TechTarget Security Media
Information Security View this month\\'s issue and subscribe today.
Information Security Decisions Apply online for free conference admission.
SearchSecurity.com
HomeNewsMagazineMultimediaWhite PapersLearningAdviceTopicsEventsAbout Us

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts