whwlsfb / Log4j2Scan

Log4j2 RCE Passive Scanner plugin for BurpSuite
Apache License 2.0
774 stars 91 forks source link

Log4j2Scan

This tool is only for learning, research and self-examination. It should not be used for illegal purposes. All risks arising from the use of this tool have nothing to do with me!

dnslog.cn is unable to access the interface from time to time due to the number of requests. If you are unable to scan, please try change dnslog platform from UI.

English | 简体中文

Log4j2 Remote Code Execution Vulnerability, Passive Scan Plugin for BurpSuite.

Support accurate hint vulnerability parameters, vulnerability location, support multi-dnslog platform extension, automatic ignore static files.

Vulnerability detection only supports the following types for now

Build

Maven and JDK 11.0 or later is recommended

$ mvn package

ChangeLog

2021/12/15

v0.9
  1. add GoDnslog backend, thx for @54Pany .
  2. add fuzz setting ui.
  3. add poc setting ui.
  4. add Body(json, xml, multipart) fuzz.
  5. opt header guess-fuzz logic.

    2021/12/14

    v0.8.1
  6. bypass dnslog.cn filter.
    v0.8
  7. add backend setting panel.
  8. add RevSuit-DNS backend.

    2021/12/13

    v0.7
  9. add RevSuit-RMI backend.
  10. fix domain toLowerCase by server can't match issue.

    2021/12/12

    v0.6
  11. add static-file ignore.
  12. add mulit poc support.
  13. add burpcollaborator dnslog backend,default use dnslog.cn.

    2021/12/11

    v0.5
  14. add header fuzz.
    v0.4
  15. add rc1 patch bypass.

Screenshot

Acknowledgements

Some of the code in the plugin is borrowed from the following projects

https://github.com/pmiaowu/BurpShiroPassiveScan/