Lucene search

K
githubGitHub Advisory DatabaseGHSA-7HV6-GV38-78WJ
HistoryJun 02, 2023 - 5:09 p.m.

DataEase API interface has IDOR vulnerability

2023-06-0217:09:17
CWE-639
GitHub Advisory Database
github.com
17
idor vulnerability
dataease api
delete interface
burpsuite
patches
workarounds
affected versions
references.

8.1 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

0.001 Low

EPSS

Percentile

45.8%

Impact

The api interface for DataEase delete dashboard and delete system messages is vulnerable to IDOR.

The interface to delete the dashboard:

  1. Create two users: user1 and user2
  2. User1 creates a dashboard named pan1
  3. User2 creates a dashboard named pan2
  4. Both user1 and user2 share their dashboards with the demo user
  5. User1 wants to delete his dashboard. We hijack the request with burpsuite. The request will probably look like this: POST /api/share/removePanelShares/440efa7f-efd8-11ed-bec7-1144724bc08c HTTP/1.1. 440efa7f-efd8-11ed-bec7-1144724bc08c is the ID of pan1
  6. We replace this ID with the ID of pan2 and continue the execution (i.e. we delete the shares of others)
  7. Successfully remove the shared link
    image

The interface to delete system messages:

  1. Our request to delete a message is shown below
    image
  2. We can delete all messages by simply enumerating the message ID, regardless of whether the message belongs to the requester or not.
  3. The interface for marking read messages is also affected

Affected versions: <= 1.18.6

Patches

The vulnerability has been fixed in v1.18.7.

Workarounds

It is recommended to upgrade the version to v1.18.7.

References

If you have any questions or comments about this advisory:

Open an issue in https://github.com/dataease/dataease
Email us at [email protected]

Affected configurations

Vulners
Node
gs-commongs-commonRange1.18.6

8.1 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

0.001 Low

EPSS

Percentile

45.8%

Related for GHSA-7HV6-GV38-78WJ