This let hac425 can call all methods in file namespace ( “file”: [ “*” ] )
I didn’t create the acl file for user who’s name is test, It mean that test user can only call the methods defined in unauthenticated.json.
However , when I test it , I found that the user test can also call the methods which is only allowed to hac425 user. For example, The test user can call read method in file namespace which is not permited to him.
Next I would show it to you. First I use test user’s username and password to login , and get the ubus_rpc_session (this value should be used to call other method defined in Acl config files)
This means that I can use test user to call read method which is not permited to test user. Bypass the acl.
Conclusion
The vulneratility may lead the rpcd acl don’t work successful. This lead the evil user can call the method which is only permited call by otherone user.