Webinar from the Collaborate12 session that demonstrates the types of vulnerabilities fixed in Oracle's quarterly Critical Patch Updates, using public exploit code, to show why CPUs should be applied regularly.
Play the Recording: Security Boot Camp - Oracle Security Vulnerabilities ExplainedDo you truly know why you should be regularly applying Oracle Critical Patch Updates (CPUs)? We take an in-depth look at the types of security vulnerabilities fixed by Oracle's quarterly CPUs and, using information and exploit code published on the Internet, demonstrate actual database security bugs fixed in CPUs, including the Oracle SCN design flaw addressed in January 2012, to show how easily they may be used to compromise a database.
DBAs and IT security teams can then better appreciate the importance of keeping up to date with the CPUs.
Key Points
- Oracle releases CPUs quarterly, on the Tuesday closest to the 17th of January, April, July and October, and the thirty CPUs from January 2005 to April 2012 fixed 1,379 security bugs, an average of 47 per CPU, 433 of them in the Oracle Database and 236 in Oracle E-Business Suite.
- A reported bug takes 3 months to 3 years to reach a CPU, 18 months on average, the finder is not allowed to test the fix or even notified about it, and Oracle may first fix it in a new release, such as 11.2.0.2, without notifying customers.
- Of the 433 database bugs, about 40% were SQL injection, 20% buffer overflows and 10% privilege or permission issues; of the 253 fixed from January 2007 to January 2012, 47 (19%) needed no authentication and 133 (53%) only PUBLIC, which any account has, such as EBS's APPLSYSPUB/PUB, and 59 of those 133 had published exploits.
- We walk through SQL injection in the
MDSYS.SDO_TOPO_DROP_FTBLtrigger of Oracle Spatial (CVE-2008-3979, January 2009), the Java PUBLIC privilege onDBMS_JVM_EXP_PERMS(CVE-2010-0867, April 2010) and the Oracle SCN escalation design flaw (CVE-2012-0082, January 2012), the last two exploitable with only CREATE SESSION. - The System Change Number (SCN) cannot exceed a current maximum that grows 16,384 per second from 1988, or any change fails with ORA-600 [2252]; bugs such as
ALTER DATABASE BEGIN BACKUPcould escalate it, and database links synchronize databases to the highest SCN, so an escalation cascades through all interconnected databases. - The January 2012 CPU fixed the known escalation bugs and rejects database links whose SCN is near the current maximum, through the hidden parameter
_external_scn_rejection_threshold_hours(default 24 hours) for 10g and 11.1, now desupported, but not the flaw: an attack needs only CREATE SESSION on one database, and at worst databases are unavailable for several hours.