Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2024-46528: IDOR security vulnerability #6227

Open
wansir opened this issue Oct 16, 2024 · 0 comments
Open

CVE-2024-46528: IDOR security vulnerability #6227

wansir opened this issue Oct 16, 2024 · 0 comments
Labels
area/security kind/bug Categorizes issue or PR as related to a bug.

Comments

@wansir
Copy link
Member

wansir commented Oct 16, 2024

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

Recently, security researchers from a third-party platform discovered an Insecure Direct Object Reference (IDOR) vulnerability in the open-source versions of KubeSphere 3.4.1 and 4.1.1. This vulnerability allows low-privileged authenticated attackers to access sensitive resources without proper authorization checks. We promptly contacted the team and assisted them in resolving the issue. Detailed information about the CVE vulnerability and the resolution process can be found in the following links:

CVE-2024-46528
IDOR Vulnerability in KubeSphere

Am I vulnerable?

The vulnerability allows low-privileged authenticated attackers to access sensitive resources without proper authorization checks, but this data cannot be directly exploited to cause significant impact.

Affected Versions

KubeSphere 4.x affected versions: < 4.1.3
KubeSphere 3.x affected versions: >= 3.0.0, <= 3.4.1
KubeSphere Enterprise 4.x affected versions: < 4.1.3
KubeSphere Enterprise 3.x affected versions: >= 3.0.0, <= 3.5.0

How do I mitigate this vulnerability?

Remove unnecessary resource permissions from the authenticated platform role.

kubectl patch globalrole.iam.kubesphere.io authenticated --type merge -p '{"rules": [{"apiGroups":["monitoring.kubesphere.io","metering.kubesphere.io","monitoring.coreos.com"],"resources":["cluster"],"verbs":["list"]},{"apiGroups":["resources.kubesphere.io"],"resources":["clusters"],"verbs":["get","list"]}]}'

Acknowledgements

This vulnerability was reported by Okan Kurtuluş.

/area security
/kind bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/security kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

2 participants