Application Security // Database Security
7/2/2014
10:30 AM
Connect Directly
Google+
Twitter
RSS
E-Mail
50%
50%

Researcher Finds Flaws In Key Oracle Security Feature

Famed security researcher and Oracle database expert David Litchfield next month at Black Hat USA will present details of weaknesses he discovered in a widely touted new security feature in Oracle databases.

David Litchfield calls Oracle's new data redaction feature for its database software a "clever" concept for protecting sensitive information. But it turns out the new option in Oracle's 12c database -- which allows organizations to redact or hide from unauthorized eyes sensitive data such as social security or credit-card numbers in a database lookup -- can be cheated altogether and also allow an attacker to exploit weaknesses in the code via a Web-based SQL injection attack.

Oracle's data redaction feature lets a database administrator selectively or fully redact or mask sensitive data in SQL query results so users only see the data they are authorized to see. Oracle also provides an update to its 11g Release 2 database that adds the feature.

Troy Kitch, principal director of security software at Oracle, wrote in a blog post last year announcing the new feature:

Data Redaction provides selective, on-the-fly redaction of sensitive data in SQL query results prior to application display so that unauthorized users cannot view the sensitive data. It enables consistent redaction of database columns across application modules accessing the same database information …

Unlike historical approaches that relied on application coding and new software components, Data Redaction policies are enforced directly in the database kernel.

But Litchfield, who is well-known for keeping Oracle on its toes security-wise with his research, tested the feature and found that it could be bypassed. "It seems there are a whole range of things wrong with it," Litchfield says. "It suggests they didn't do an assessment on it before they shipped it. They didn't [apparently perform] a penetration test on it."

"It's a brilliant idea in practice, to redact data from a curious person" querying the database, he says. The feature won't stop a database administrator from seeing the redacted data, he says, so if an attacker is able to escalate his privileges, he can access the hidden information.

But there also are ways an attacker could access the redacted data basically by bypassing the feature itself, Litchfield found. An outside attacker also could reach the hidden data via a Web-based SQL injection flaw using the same bypass techniques, he says. 

Litchfield plans to demonstrate those hacks at Black Hat USA next month. He says he reported the flaws to Oracle in November, and Oracle is currently working on fixes.

[Famed Oracle security researcher David Litchfield will discuss vulnerabilities he found in a key database security feature. Read Dark Reading Radio: Oracle Database Security Hacked.]

But the good news with this security feature is that there's no major risk today by using it in the database, Litchfield says. He says he expects data redaction to be a popular feature for protecting sensitive data.

"To be fair, it's a good step in the right direction," he says. "Even if a patch isn't available from Oracle, it's going to protect you in 80% of the cases. No one really knows how to bypass it at this point."

Litchfield is the guest on Dark Reading Radio today at 1:00 p.m. ET, where he will discuss his findings and take questions from the audience via a live online chat. To tune in for the show, register here.

Kelly Jackson Higgins is Executive Editor at DarkReading.com. She is an award-winning veteran technology and business journalist with more than two decades of experience in reporting and editing for various publications, including Network Computing, Secure Enterprise ... View Full Bio

Comment  | 
Print  | 
More Insights
Register for Dark Reading Newsletters
White Papers
Cartoon
Current Issue
Dark Reading December Tech Digest
Experts weigh in on the pros and cons of end-user security training.
Flash Poll
Video
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2014-5395
Published: 2014-11-21
Multiple cross-site request forgery (CSRF) vulnerabilities in Huawei HiLink E3276 and E3236 TCPU before V200R002B470D13SP00C00 and WebUI before V100R007B100D03SP01C03, E5180s-22 before 21.270.21.00.00, and E586Bs-2 before 21.322.10.00.889 allow remote attackers to hijack the authentication of users ...

CVE-2014-7137
Published: 2014-11-21
Multiple SQL injection vulnerabilities in Dolibarr ERP/CRM before 3.6.1 allow remote authenticated users to execute arbitrary SQL commands via the (1) contactid parameter in an addcontact action, (2) ligne parameter in a swapstatut action, or (3) project_ref parameter to projet/tasks/contact.php; (4...

CVE-2014-7871
Published: 2014-11-21
SQL injection vulnerability in Open-Xchange (OX) AppSuite before 7.4.2-rev36 and 7.6.x before 7.6.0-rev23 allows remote authenticated users to execute arbitrary SQL commands via a crafted jslob API call.

CVE-2014-8090
Published: 2014-11-21
The REXML parser in Ruby 1.9.x before 1.9.3 patchlevel 551, 2.0.x before 2.0.0 patchlevel 598, and 2.1.x before 2.1.5 allows remote attackers to cause a denial of service (CPU and memory consumption) a crafted XML document containing an empty string in an entity that is used in a large number of nes...

CVE-2014-8469
Published: 2014-11-21
Cross-site scripting (XSS) vulnerability in Guests/Boots in AdminCP in Moxi9 PHPFox before 4 Beta allows remote attackers to inject arbitrary web script or HTML via the User-Agent header.

Best of the Web
Dark Reading Radio
Archived Dark Reading Radio
Now that the holiday season is about to begin both online and in stores, will this be yet another season of nonstop gifting to cybercriminals?