IDOR make one user can stop, start , delete, edit others' source in apache/inlong
Reported on
Apr 2nd 2023
Proof of Concept
1 user1 create a source with id =1
2 user2 create a source with id =2
3 user1 delete the source with post DELETE /inlong/manager/api/source/delete/1?sourceType= HTTP/1.1
4 user1 repalce the 1 as 2, and find that he can sucess delete user2' source.
Impact
one can delete , edit, stop, start others' source!
We confirm this issue and believe we have fixed it with https://github.com/apache/inlong/pull/7775, could you check whether this solution is indeed sufficient?
We will allocate a CVE and publish it when an Apache Inlong version has been released that contains the fix. We'd be happy to credit you in the CVE - how would you like to be credited?
Note to huntr.dev: please do not allocate a CVE for this problem, we will allocate one from the Apache CNA.
We'd appreciate it if you'd keep this issue private until an Apache Inlong version has been released that contains the fix.
I have checked patch and it seems good. The issuse will be private until your maintainer proactively publish it!
"how would you like to be credited?"
please credite with my email : lujie@ict.ac.cn
This issue has been disclosed as CVE-2023-31066