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
Adobe fixes critical Shockwave Flash Player flaw
Mozilla patches 11 Firefox security flaws, JavaScript errors
Microsoft patches WebDAV security vulnerability in bevy of updates
Adobe issues first quarterly patch release fixing 13 flaws
Microsoft plans 10 security updates, fixing IE, Word, Excel vulnerabilities
Adobe shifts to Microsoft patching process, incident response plan
Software delivery could fix software patching issues
Microsoft updates Office to address serious PowerPoint vulnerabilities
Microsoft to patch critical PowerPoint zero-day flaw
Firefox update addresses several security flaws

Database Security Management
Oracle to buy Sun Microsystems for $7.4 billion
Oracle issues 43 updates, fixes serious database flaws
Information security book excerpts and reviews
Kaspersky website hacked multiple times, expert says
Kaspersky website hacked, customer activation codes exposed
SQL injection attacks targeting Flash, JavaScript errors
Fuzzing tool helps Oracle DBAs defend against SQL injection
Oracle extends Audit Vault third-party database compatibility
When should a database application be placed in a DMZ?
Oracle patches dangerous WebLogic, Secure Backup vulnerabilities
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
Focused on Channel Security?
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