U.S. Dept Of Defense · Report #1714767
Upload and delete files in debug page without access control.
Validstatus
highseverity
10upvotes
24 Feb 2023disclosed
How it was found
I found a debug page with no access control that allows:
- Uploading files.
- Reading files if they are in JSON format.
- Delete files.
Impact
- Insufficient access control.
- An attacker can delete files exposed by the application.
System Host(s)
████
Affected Product(s) and Version(s)
CVE Numbers
Steps to Reproduce
For upload file:
- Use a browser to navigate to: https://█████/debug.
- Click on choose file button.
- Set the file path in the location field
- Click on the upload files button. 5.See the file uploaded on the list.
For Read File
- Select the file.
- Click and Read File Content.
- See the content file.
For delete file:
- Select the file.
- Click on the Delete ENC Files button.
Suggested Mitigation/Remediation Actions
- Implement access control on the page.