GHSA-7hv6-gv38-78wj

Suggest an improvement
Source
https://github.com/advisories/GHSA-7hv6-gv38-78wj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/06/GHSA-7hv6-gv38-78wj/GHSA-7hv6-gv38-78wj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7hv6-gv38-78wj
Aliases
Published
2023-06-02T17:09:17Z
Modified
2024-02-16T08:06:01.547446Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
Summary
DataEase API interface has IDOR vulnerability
Details

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 wei@fit2cloud.com

Database specific
{
    "nvd_published_at": "2023-06-01T16:15:09Z",
    "cwe_ids": [
        "CWE-639"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-06-02T17:09:17Z"
}
References

Affected packages

Maven / io.dataease:dataease-plugin-common

Package

Name
io.dataease:dataease-plugin-common
View open source insights on deps.dev
Purl
pkg:maven/io.dataease/dataease-plugin-common

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.18.7

Affected versions

1.*

1.0
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8.0
1.9.0
1.10.0
1.11.0
1.11.1
1.11.3
1.12.0
1.13.0
1.14.0
1.15.0
1.16.0
1.17.0
1.18.0
1.18.1
1.18.2
1.18.3
1.18.4
1.18.5
1.18.6

Database specific

{
    "last_known_affected_version_range": "<= 1.18.6"
}