Study on the right technology and defense methods against Oracle database right cursor type injection vulnerability
- Author
- ZhangXiaoHu
- Advisor
- GengGuoHua
- School
- Northwestern University
- Major
- Software Engineering
- Classification
- TP311.138 Database system: sub- system name
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 24
- Citations
- 0
Abstract
With the rapid development of computer network, the attacks to aim for Web application background database has become an important way for the attackers to steal information inlegally. At the same time, Oracle database as the one of the world’s most mature relational database has been widely used in the financial and other important areas. Therefore, types of attacks to the Oracle database as the background data system becomes particularly common. This paper firstly analyzes the widespread Oracle database privilege escalation n vulnerability.Then come up with ideas about a class of injectiong attack and defense methods using cursor. Finally design of the automated attack tools based on cursor injection attacks. Specific works as follows:1) Summarized four ways to achieve injection attacks for Oracle database on the basis of analysis of SQL injection attack causes. It provides theoretical support for the way to defend the cursor class injection attacks.2) Analyzed three technology of the Oracle priviledge promotion which is widely used, including PL/SQL privilege escalation, Lateral sql injection and indirect privilege escalation attack. Through the studies to sum up the advantages and disadvantages of these technologies, and finally give corresponding defense plan.3) Studied two kinds of methods by using cursor to archieve privilege escalation. Analyzed the principle of privilege escalation from the experiment code, and use LOOP to improve cursor snarfing injection attacks. Meanwhile, using cursor injection technology to improve the methods of privilege escalation through DBMS_SQL package and SDO_DROP_USER_BEFORE trigger. And then, to prove the method can effectively defense the cursor injection through the experiment.4) This paper puts forward a method to defense cursor injection. This method by constructing restricted trigger to restrict user execute DDL statement. Then with the experiment proved that the method can be an effective defense method against the Oracle database system cursor injection attacks;5) According to the Oracle database in for background WEB application, design and implement a automation injection tools called AutoInject. This tool has a variety of practical function, such as inquires the WEB applications use database information, display the current user and access, read the database function and list of information and so on.
Table of contents
Summary 3-4
Abstract 4-8
first chapter 8-12
1.1 network security SQL injection attacks background 8-9
1.2 domestic and foreign research status of research 9-10
1.3 article 10-11
1.4 This article organizational structure 11-12
chapter for Oracle and SQL injection method common to mention the right technology 12-30
2.1 SQL injection Fundamentals Introduction 12
2.2 for injection attacks SQL Oracle database technology 12-16
mention the right technology infrastructure 2.3 : PL / SQL statements execute permissions 16-17
2.4 Oracle database commonly mention the right technology 17-30
2.4.1 use PL / SQL elevate user rights 17-20
2.4.2 Lateral privilege escalation technology 20-24
2.4 .3 indirect privilege Escalation technology 24-30
The third chapter provides the right cursor class injection attack techniques 30-50
3.1 cursor Snarf privilege escalation technology 30 - 36
3.1.1 cursor Snarf privilege escalation technical principles 30
3.1.2 cursor Snarf privilege escalation technology implementation 30-34
3.1.3 improved cursor Snarf privilege Escalation technology 34-35
3.1.4 cursor Snarf privilege escalation techniques hazards arising issues 35-36
3.2 attacker faced 36 -39
3.3 privilege Escalation cursor injection technique 39-48
3.3.1 elevated privileges cursor injection technique principle 39
3.3.2 improvements to mention the right to attack DBMS_SQL package 39-44
3.3.3 improved SDO_DROP_USER_BEFORE mention the right trigger attacks 44-48
3.4 inject cursor class features provide the right technology 48-50 <br Research / > Chapter IV injection cursor class technology provide the right defensive approach studies 50-60
4.1 cursor Snarf privilege escalation techniques defense methods 50-54
4.1.1 nbsp proposed method Snarf defense technology provide the right cursor ; 50-51
4.1.2 and defensive approach proved effect 51-54
4.2 cursor injection technique defensive approach privilege Escalation Research experimental basis 54-59
4.2.1 mention the right cursor injection technique defensive approach 54-56
4.2.2 mention the right cursor injection technique defensive approach proposed experiments show the effect of 56
4.2.3 and defense methods 56-59
4.3 summarizes the experimental results and analysis 59-60
Chapter automated injection tools AutoInject prototype implementation 60-72
5.1 AutoInject needs analysis 60-63
5.1.1 AutoInject functional analysis 60-61
5.1. 2 AutoInject use case description 61-63
5.2 AutoInject functions and interfaces About 63-67
5.2.1 AutoInject function chart 63-64
5.2 .2 AutoInject each module Introduction concrete realization 64-67
5.3 AutoInject of 67-71
5.4 summary 71-72
sixth chapter summary and Prospect 72-74
6.1 This work summarizes 72-73
6.2 Prospects for further work 73-74
References 74 -78
Thanks 78
Related dissertations
- Design and Implementation of Data Acquisition and Analysis System for CAPL Line
- Design and Implementation of the Web Security System
- Design of Identity Management Platform Based on SML-RBAC
- Research on Some Key Technology of Network Information System’s Survivability
- Research and Implementation of Web Application Firewall Based on Feature Matching
- Based as High Concurrent Big Data Database Maximum Availability Research and Implementation
- Oracle Performance Optimization Techniques Application to the Guizhou Local Tax Project
- Design and Implementation of Treasury Centralize Payment Management System Based on SSL
- Design and Implementation of Centralized Business Support System
- Design and Implementation of Pattern Evaluation Management System for Liaoning Provincial Institute of Measurement
- Research and implementation of the hospital scheduling and one-stop settlement system
- The Design and Implementation of the Bank-enterprise Reconciliation System
- The Design and Implementation of Sanming City Bus Inquiry System
- Design and Implementation of Staff Education and Training System in Electric Power Bureau of San Ming
- Warehouse Management System
- Power Marketing Management Information System Design and Implementation
- The Design and Implementation of Management System for Travel Commany
- The Design Andachieviments about the Public Resource Managmenet System
- The Design and Realization of Energy Metering Data Public Platform System
- Design and Implementation of Personnel Management System Based on VB