Improper Access Control in liukuo362573/yishaadmin


Reported on

Feb 10th 2022

Description has an endpoint "/admin/File/UploadFile" that allows uploading files without authentication.


Server doesn't check user's permission when attacker access the endpoint. After that, server will directly call UploadFile function with the parameters provided by the attacker, leads to many information security risks.


Unauthenticated user can upload file to server. The server has performed file format check in UploadFile function, but attacker can continuously upload it, causing low of hard disk.

We are processing your report and will contact the liukuo362573/yishaadmin team within 24 hours. 4 months ago
4 months ago


Note: The app allows for a maximum file upload of 5MB. Thus the attacker can upload 205 files to take up 1GB of storage. The simplest way to solve the issue is to implement authentication to avoid attacks from unauthenticated users.

nhiephon modified the report
4 months ago
We have contacted a member of the liukuo362573/yishaadmin team and are waiting to hear back 4 months ago
liukuo362573 validated this vulnerability 4 months ago
nhiephon has been awarded the disclosure bounty
The fix bounty is now up for grabs
liukuo362573 confirmed that a fix has been merged on 43f574 4 months ago
The fix bounty has been dropped
4 months ago


Hi @maintainer,

Why don't you do the fix with the file at

Also, please review the 2 reports below as the patch is incomplete.



to join this conversation