Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Perimeter

6/21/2010
08:53 PM
Adrian Lane
Adrian Lane
Commentary
50%
50%

Open-Source Database Security

A recent article on Dark Reading underscores a growing concern in IT: how to secure open-source databases.

A recent article on Dark Reading underscores a growing concern in IT: how to secure open-source databases.According to the article, "Open-Source Databases Pose Unique Security Challenges," by Ericka Chickowski, Ingres and MySQL are being used for large-scale commercial applications. They support Web commerce sites and are growing in use as fast as their commercial counterparts. They are used as a replacement for Oracle, DB2, and SQL Server when cost or flexibility is an issue. The issue Ericka raises is not that these platforms are less secure by nature, but that they lack the supporting security knowledge and tools available on other platforms.

Until recently, the major database vendors did not offer a full suite of database security options. Now they do, with activity monitoring, assessment, and transparent encryption to go along with access controls and authorization schemes. Rummage around the open-source Web sites and you will discover deployment guides and basic security tips -- but these center around access controls and secure communication (i.e., SSL). Security research and tools designed to help secure these platforms is generally absent. Third-party vendors have not ported their monitoring, masking, auditing, and assessment tools because customer demand has not been high enough to justify the costs.

To get a better idea of why this is important, let's look at vulnerability assessment. There are no formalized assessment products, and beyond a smattering of policies for MySQL, no research teams perform policy development for open-source databases.

1. Research for threats, remediation and workarounds: DBAs for the most part are not security professionals, they don't spend their days researching security threats, and they don't know what to look for. What does the attack look like? What is a suitable resolution? Are patches available? If not, is there a workaround/resolve the issue?

2. Automation for the collection of user permissions, manual comparison of settings in relation to established policies, and keeping up to date with patches are all time-consuming, mistake-prone process.

3. Writing the queries to find the information is time-consuming. One of the aspects I hated most about creating assessment policies was writing the queries as a simple check, which could take a day to write and optimize, then test it across all revisions of the database. It might be cost-effective for very large firms to do, but small security firms have trouble justifying the cost of this development.

Apache Derby, Open Ingres, MySQL, and Postgres (or PostgreSQL for some of you) have millions of databases in use. Look at the vendor best practices guides and you will see a preponderance of the discussion around access control and use of SSL. Advanced security usually falls onto the shoulders of the application developers to thwart SQL injection and memory exploits. There are few generic tools over and above file/OS encryption, and that only addresses media protection. Only MySQL has support for monitoring, assessment, third-party auditing, blocking, advanced configuration guides and the like. The other databases? Not so much.

I don't bring this up as some form of advertisement for tools and tool vendors because, frankly, the security vendors don't make solutions for these platforms. My point is to illustrate that security goes largely unaddressed, offering something of a greenfield for attackers. And while we don't hear about these attacks, they do happen.

Is it time for the open-source community to build security policies? Probably. Will it happen? I doubt it. Heck, I can't even find good tuning and performance guide for Postrges: It took years of speaking to other DBAs, along with trial and error, before I found what worked. And believe me, performance questions are far more common than security questions. There is not enough customer demand to motivate third parties or vendors to invest in development. As use of these platforms increases, especially as low-cost, cloud-based services, attacks will increase in frequency, much as they have with Oracle and SQL Server. Unless the open-source community steps up, the platforms will likely suffer a black eye before things change.

Adrian Lane is an analyst/CTO with Securosis LLC, an independent security consulting practice. Special to Dark Reading. Adrian Lane is a Security Strategist and brings over 25 years of industry experience to the Securosis team, much of it at the executive level. Adrian specializes in database security, data security, and secure software development. With experience at Ingres, Oracle, and ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
44% of Security Threats Start in the Cloud
Kelly Sheridan, Staff Editor, Dark Reading,  2/19/2020
Zero-Factor Authentication: Owning Our Data
Nick Selby, Chief Security Officer at Paxos Trust Company,  2/19/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
6 Emerging Cyber Threats That Enterprises Face in 2020
This Tech Digest gives an in-depth look at six emerging cyber threats that enterprises could face in 2020. Download your copy today!
Flash Poll
How Enterprises Are Developing and Maintaining Secure Applications
How Enterprises Are Developing and Maintaining Secure Applications
The concept of application security is well known, but application security testing and remediation processes remain unbalanced. Most organizations are confident in their approach to AppSec, although others seem to have no approach at all. Read this report to find out more.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-9405
PUBLISHED: 2020-02-26
IBL Online Weather before 4.3.5a allows unauthenticated reflected XSS via the redirect page.
CVE-2020-9406
PUBLISHED: 2020-02-26
IBL Online Weather before 4.3.5a allows unauthenticated eval injection via the queryBCP method of the Auxiliary Service.
CVE-2020-9407
PUBLISHED: 2020-02-26
IBL Online Weather before 4.3.5a allows attackers to obtain sensitive information by reading the IWEBSERVICE_JSONRPC_COOKIE cookie.
CVE-2020-9398
PUBLISHED: 2020-02-25
ISPConfig before 3.1.15p3, when the undocumented reverse_proxy_panel_allowed=sites option is manually enabled, allows SQL Injection.
CVE-2015-5201
PUBLISHED: 2020-02-25
VDSM and libvirt in Red Hat Enterprise Virtualization Hypervisor (aka RHEV-H) 7-7.x before 7-7.2-20151119.0 and 6-6.x before 6-6.7-20151117.0 as packaged in Red Hat Enterprise Virtualization before 3.5.6 when VSDM is run with -spice disable-ticketing and a VM is suspended and then restored, allows r...