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

XSS vulnerability caused by file upload(tduck-platform4.0) #17

Open
libaibaia opened this issue Jun 27, 2023 · 2 comments
Open

XSS vulnerability caused by file upload(tduck-platform4.0) #17

libaibaia opened this issue Jun 27, 2023 · 2 comments

Comments

@libaibaia
Copy link

libaibaia commented Jun 27, 2023

  1. upload code: https://github.com/TDuckCloud/tduck-platform/blob/master/tduck-api/src/main/java/com/tduck/cloud/api/web/controller/UploadFileController.java
    image
  • Create a test form system
    image
  1. After creating the form system, upload the HTML file, you can see that the request does not contain authentication information
    image
    image
    image
  2. Background preview data execution script
    image
@libaibaia libaibaia changed the title 文件上传导致的xss漏洞 XSS vulnerability caused by file upload Jun 27, 2023
@libaibaia libaibaia changed the title XSS vulnerability caused by file upload XSS vulnerability caused by file upload(tduck-platform4.0) Jun 27, 2023
@0yingteam
Copy link

这么快的么?我两周前也审计到了这个

@0yingteam
Copy link

从审计角度还有一个默认账号的高危漏洞

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

2 participants