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

Relative Path Traversal #7

Open
mbslzny opened this issue Jun 21, 2022 · 0 comments
Open

Relative Path Traversal #7

mbslzny opened this issue Jun 21, 2022 · 0 comments

Comments

@mbslzny
Copy link

mbslzny commented Jun 21, 2022

[Suggested description]

Relative Path Traversal exists in sims. The front end of this open source system is an online examination system. This open source system is a student information management system. An insecurity vulnerability exists when downloading attachments. Attackers can exploit this vulnerability to obtain sensitive server information, such as "/etc/passwd", "backup files", etc.
GET: http://localhost:8081/sims/downloadServlet

[Vulnerability Type]

Relative Path Traversal

[Vendor of Product]

https://github.com/rawchen/sims

[Affected Product Code Base]

1.0

[Affected Component]

Sims 1.0

OS: Windows/Linux/macOS

Browser: Chrome、Firefox、Safari

[Attack vector]

http://localhost:8081/sims/downloadServlet?filename=../index.jsp

[Attack Type]

Remote

[Impact Code execution]

False

[Proof of concept]

Step1: Under the "System Management" tab, select "File Release", select any file, and click the "Start Upload" button.

图片6

Step2: The upload is successful, and under the "System Management" tab, select "File List" and click the "Download" button to obtain the download interface.

图片7

图片8

Step3: Refactor the download interface parameters to implement directory spanning and arbitrary file download.

图片9

图片10

[Reference(s)]

http://cwe.mitre.org/data/definitions/23.html

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

1 participant