Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

前台存在SSRF #6093

Closed
crisprss opened this issue Apr 8, 2024 · 4 comments
Closed

前台存在SSRF #6093

crisprss opened this issue Apr 8, 2024 · 4 comments

Comments

@crisprss
Copy link

crisprss commented Apr 8, 2024

版本号:

3.6.3 最新版

前端版本:vue3版?还是 vue2版?
问题描述:

/jmreport/download/image该接口存在SSRF漏洞,攻击者可以利⽤该漏洞使服务器端向攻击者构造的
任意域发出请求

此处不需要登陆和token,未授权进行SSRF

截图&代码:

当该路径不存在时,将可控参传入到e.a方法中
image

最后跟进传入到org.springframework.web.client.RestTemplate#doExecute

image

这里对传入参数做出限制,可以通过?a.png来绕过限制实现SSRF

image

友情提示(为了提高issue处理效率):

  • 未按格式要求发帖,会被直接删掉;
  • 描述过于简单或模糊,导致无法处理的,会被直接删掉;
  • 请自己初判问题描述是否清楚,是否方便我们调查处理;
  • 针对问题请说明是Online在线功能(需说明用的主题模板),还是生成的代码功能;
@crisprss crisprss changed the title 后台存在SSRF 前台存在SSRF Apr 8, 2024
@zhangdaiscott
Copy link
Member

cr

@crisprss
Copy link
Author

cr

请问有跟进吗

@zhangdaiscott
Copy link
Member

积木报表的问题,下个版本修复

@Drun1baby
Copy link

我也挖了这个,被 CNVD 当成垃圾洞丢到垃圾桶里了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants