Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2023-40918: [Escalation of Privileges] Unauthorized users can create a new user with admin role · Issue #1128 · didi/KnowStreaming

KnowStreaming 3.3.0 is vulnerable to Escalation of Privileges. Unauthorized users can create a new user with an admin role.

CVE
#web#java#auth
  • [Y ] 我已经在 issues 搜索过相关问题了,并没有重复的。

你是否希望来认领这个Bug。

Env

  • KnowStreaming version : 3.0.0
  • Operating System version :
  • Java version :
    This issue is tested on the website https://demo.knowstreaming.com

Steps to reproduce this issue

  1. Get the role id of user "admin". We can send such request to the server. The request is without cookie or token, aka it is unauthorized. If the user’s id is not 1, we can guess it with brute force. As shown in the picture, we get the role id 1677.

  2. Create a new user with “admin” role. We can send such request to the server. The request is without cookie or token, aka it is unauthorized.

  3. Log on the new user with password. We logged on with an admin role.

Expected Results

Unauthorized users should not get user’s detail info and should not create a new user.

Actual Results

Unauthorized users get user’s detail info and create a new user. The created user logs successfully.

CVE: Latest News

CVE-2023-50976: Transactions API Authorization by oleiman · Pull Request #14969 · redpanda-data/redpanda
CVE-2023-6905
CVE-2023-6903
CVE-2023-6904
CVE-2023-3907