« August 2008 | Main | November 2008 »

October 2008 Archives

October 3, 2008

Wiki Security – An Ethical Hacker Perspective

Hi, this is Andy Webber. I am an ethical hacker in Oracle Global Product Security

I recently attended WikiSym2008. This conference was a great place to meet up with people interested in collaborative working and related technologies. I gave a presentation to share a recent experience my team and I had while reviewing Wiki extensions and plugins for security vulnerabilities.

In addition to providing a tool for collaboratively creating web content, Wikis are increasingly being used as a framework on which to build small applications. Many Wiki engines already provide limited support for this capability through extensions or plug-ins. These extensions will typically let developers use the Wiki engine in ways that were never envisaged by the original developers. Writing extensions is usually quite straightforward and generally gives a lot of freedom and access to the Wiki engine’s internal state and hence access to everything the Wiki engine has access to.

No matter how much care and attention the Wiki engine developers have put into making the wiki software as robust as they reasonably can, all these efforts may be undermined by any extension that has not been developed with the same level of care. The ease with which Wiki extensions can be developed means that anyone can develop and publish such extensions. Unfortunately, a large proportion of software developers are not properly educated about secure coding practices (See Mary Ann Davidson’s blog entry on this topic).

When we wanted to make more extensive use of extensions on one of our internal wikis, we performed some security reviews. It shouldn’t have been much of a surprise that we found quite a high proportion of the Wiki extensions we examined included potential security vulnerabilities. In most cases, these vulnerabilities were straightforward cross-site scripting or HTML injections. But, we also saw some other interesting possibilities like log injection attacks and inappropriate trust in 3rd party data.

[The work of the Ethical Hacking Team is not just about finding security bugs. The more interesting aspect of my job is to learn from these bugs, characterize them, understand why they happened, and establish methods for rapidly finding similar bugs. The most gratifying aspect of my job is helping development and testing organizations understand the security bugs, how to find them and fix them (and help ensure they don’t come back).]

After we found three or four vulnerabilities in a small set of extensions, we had a good characterization of what generally made these extensions vulnerable and what to look for in the code. We were then able to promptly review a large number (around 100) of extensions and quickly found that more than 20 of them were vulnerable. We reported these issues back to their respective developers (or Wiki engine maintainers) and, as a result, most of them have been fixed or withdrawn.

Even when educational institutions start to pay more attention to the security aspect of software development in their courses, it will be a long time before we can expect developers to consistently produce reasonably secure code. By analogy, I fasten my seat belt whenever I get in a car. Each time I get in a car I don't do a threat assessment and decide that a second to fasten the seatbelt is worth the effort compared to the risk of diving through the windscreen, or of being stopped and fined. I do it as a habit: a habit formed before it was a legal requirement and before I was able to appreciate the damage that flying through the windscreen might do to my future. Reviewing Wiki extensions for security vulnerabilities further highlighted that developers needed to form the habit of using bind variables in SQL queries, HTML/XML encoding output, etc.

Now, after this brief excursion into finding vulnerabilities in community-developed code, it's back to Oracle products for me.

For more information, see http://www.wikisym.org/ws2008/index.php/Security_of_Community_Developed_and_3rd_party_Wiki_Plug-ins

October 14, 2008

October 2008 Critical Patch Update Released

Hi, this is Eric Maurice!

Oracle today released the October 2008 Critical Patch Update (CPUOct2008).

The Critical Patch Update (CPU) includes fixes for 36 new security vulnerabilities across a large number of products: Oracle Database Server, Oracle Application Server, Oracle E-Business Suite, Oracle PeopleSoft Enterprise, Oracle JDEdwards Enterprise One, and Oracle WebLogic. Fifteen of these 36 vulnerabilies affect Oracle Database Server. One of the Database Server vulnerabilities is remotely exploitable without authentication. Note also that three of the Application Server vulnerabilities affect client-only installations. Finally, the CVSS Base Scores for the vulnerabilities fixed in this CPU (an indication of their relative severity) range between 1.0 and 10.00 (on a scale of 10.0). See our previous blog entry series for more information about CVSS and an explanation of the CVSS base scoring formula.

The most severe vulnerability fixed in this CPU (CVE-2008-4008 with a CVSS Base Score of 10.0) affects the Apache plugin for Oracle WebLogic Server (formerly BEA WebLogic). This is not vulnerability CVE-2008-3257, which was fixed in a previously issued Security Alert, though a fix for this vulnerability is also included in this CPU (fixes for BEA WebLogic plugins are cumulative). Vulnerability CVE-2008-4008 is a new vulnerability which was reported to Oracle shortly before the creation of this CPU. A fix for this vulnerability was therefore included in this CPU in order to provide a prompt resolution and to help ensure that the security posture of WebLogic customers is maintained.

Oracle strongly encourages all customers to apply this CPU as soon as possible.


For More Information:

Critical Patch Updates & Security Alerts web site is located at: http://www.oracle.com/technology/deploy/security/alerts.htm

Security Advisories and Notifications for the Oracle BEA products is located at https://support.bea.com/application_content/product_portlets/securityadvisories/index.html

Oracle Software Security Assurance web site is located at: http://www.oracle.com/security/software-security-assurance.html

The CVE web site is located at: http://cve.mitre.org/

About October 2008

This page contains all entries posted to The Oracle Global Product Security Blog in October 2008. They are listed from oldest to newest.

August 2008 is the previous archive.

November 2008 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type and Oracle