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

Remote code execution vulnerability due to arbitrary file creation. #485

Open
T3qui1a opened this issue Nov 30, 2019 · 1 comment
Open

Comments

@T3qui1a
Copy link

T3qui1a commented Nov 30, 2019

We find the stored part of this file by searching the key functions.

image

View calls in this section

image

Network truncation of parameter transfer in this part.

image

Try to modify to JSP webshell.

image

The error reported here is an error occurred during XML parsing, but the file has been written into the server.

image

Find this directory.

image

Of course, this directory can't access JSP. Try to cross directory with relative path.

image

image

Successfully cross directory and get webshell.

image

@126wss
Copy link

126wss commented Mar 20, 2023

the key functions are in ureport2-core/src/main/java/com/bstek/ureport/provider/report/ReportProvider.java or ureport2-core/src/main/java/com/bstek/ureport/provider/report/classpath/ClasspathReportProvider.java or ureport2-core/src/main/java/com/bstek/ureport/provider/report/file/FileReportProvider.java ? we want to reproduce this vul as well

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