U.S. Dept Of Defense · Report #1850065
[█████] Bug Reports allow for Unrestricted File Upload
How it was found
The web page https://███████/ allows for users to submit bug reports. Users are allowed to attach a file to a bug report. The extension and size of files are not validated by the web server.
Impact
An attacker can attach a malicious file to a bug report. If a support agent opened the malicious file, malware would be executed on the support agent's system.
System Host(s)
████████
Affected Product(s) and Version(s)
Version: 3.4 Build: 35 Revision: 1
CVE Numbers
Steps to Reproduce
- Navigate to the following web page: https://████████/
- Create an account
- Log in to the account that you created
- Click on the text that reads
Report a Bug - Enter any text in to the
Descriptioninput field - Attach a file with an allowed file extension to the bug report
- Click on the text that reads
Submit - Intercept the
HTTPrequest and change the extension of the attached file to one that is not allowed
Observe that the bug report was successfully submitted. This should not be the case, as the attached file has a file extension that is not allowed. The same method can be used to attach a file whose size is greater than 5 megabytes.
Suggested Mitigation/Remediation Actions
Ensure that the extension and size of a file are validated by the web server.