Vulnerability title: A level 1 account can be created due to insufficient privilege verification
Date of discovery: 2025.07.05
Discovery Location (URL or System Path) :
Reolink Firmware Web ( Cmd
→ Adduser
)
Vulnerability Type (CWE ID):
Vulnerability Description: When a user with level 1 privileges creates another user's account, it should be able to create it with level 0 privileges, but this is a vulnerability that can be arbitrarily created with level 1 privileges. This is because it reflects the value of the level parameter delivered by the client without proper verification of the account privileges on the server side, which allows an attacker to create an administrator account through privilege escalation.
Impacted Products/Services: Reolink Firmware Web Interface
Product version: firmware v3.0.0.4662_2503122283
Vulnerable Components:
In the user account creation logic of Reolink's firmware API, the level
parameter sent by the client is not properly validated against the user's actual permission level, allowing privilege escalation.
Account Privilege Levels:
level 2
admin
account provided by Reolink.level 1
userType: Administrator
, the new account gets level 1
.level 0
userType: User
, it is assigned level 0
.Attack Vector
As you can see in the photo above, users with level1
privileges can create only accounts with level0
privileges by default.
However, if an attacker arbitrarily changes the value of the level parameter from guest
to admin
when requesting account creation,
The server handles the request without validating it properly, allowing the level1
privileges user to create an account with level1
privileges.
Reproduction Steps
level 1
privileges.AddUser
request using a proxy tool such as Burp Suite.[
{
"cmd": "AddUser",
"action": 0,
"param": {
"User": {
"userName": "notadmin",
"password": "1234Qwer!",
"level": "guest"
}
}
}
]
level
value from "guest"
to "admin"
:[
{
"cmd": "AddUser",
"action": 0,
"param": {
"User": {
"userName": "notadmin",
"password": "1234Qwer!",
"level": "admin"
}
}
}
]
level 1
privileges.POC