New Lateral SQL Injection Method To Hack Oracle Database
A new type of attack that could give a hacker access to an Oracle database, called a lateral SQL injection, could be used to gain database administrator privileges on an Oracle server in order to change or delete data or even install software.
Security researcher David Litchfield first disclosed this type of attack at the Black Hat Washington conference last February, but on last Thursday he published a paper with technical details. Litchfield’s attack targets the Procedural Language/SQL programming language used by Oracle developers.
In a SQL injection, attackers create specially crafted search terms that trick the database into running SQL commands. Previously, security experts thought that SQL injections would work only if the attacker was inputting character strings into the database, but Litchfield has shown that the attack can work using new types of data, known as date and number data types.
Litchfield wasn’t sure how widespread lateral SQL injection vulnerabilities are, but he thinks the attack could cause real damage in some scenarios. “If you happen to be using Oracle and you write your own applications on it, then yes, you could be writing vulnerable code,” he said. “The sky is not falling … but it’s certainly something that people should be made aware of.”
Database programmers should review their code to be sure it is checking to make sure that all of the data it is processing is legitimate, and not injected SQL commands.
Oracle did not comment on this issue.
More on CyberInsecure:
Leave a Reply
Comments with unsolicited links to other resources will be marked as spam. DO NOT leave links in comments. Please leave your real email, it wont be published.