CVE-2024-41658: GHSL-2024-035_GHSL-2024-036: CORS misconfguration and Reflected XSS in Casdoor - CVE-2024-41657, CVE-2024-41658

Published Aug 14, 2024
·
Updated

Casdoor is a UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform. In Casdoor 1.577.0 and earlier, he purchase URL that is created to generate a WechatPay QR code is vulnerable to reflected XSS. When purchasing an item through casdoor, the product page allows you to pay via wechat pay. When using wechat pay, a QR code with the wechat pay link is displayed on the payment page, hosted on the domain of casdoor. This page takes a query parameter from the url successUrl, and redirects the user to that url after a successful purchase. Because the user has no reason to think that the payment page contains sensitive information, they may share it with other or can be social engineered into sending it to others. An attacker can then craft the casdoor link with a special url and send it back to the user, and once payment has gone though an XSS attack occurs.

Other sources

Casdoor is vulnerable to a CORS misconfiguration and a reflected Cross-Site Scripting (XSS) vulnerability, both of which may allow an attacker to take actions on behalf of the signed-in user.

GitHub Security Lab

Affected Software

2 affected components
go/github.com/casdoor/casdoor<=1.577.0
Casbin Casdoor

Event History

Aug 14, 2024
Advisory Published
via GitHub Security Lab·12:00 AM
Data Sourced
via GitHub Security Lab·12:00 AM
DescriptionAffected Software
Aug 20, 2024
CVE Published
via MITRE·08:11 PM
Data Sourced
via MITRE·08:11 PM
DescriptionSeverityWeakness
Aug 22, 2024
Advisory Published
via GitHub·05:17 PM

Frequently Asked Questions

1

What is the severity of CVE-2024-41658?

The severity of CVE-2024-41658 is classified as medium due to the reflected XSS vulnerability.

2

How do I fix CVE-2024-41658?

To fix CVE-2024-41658, upgrade Casdoor to version 1.577.1 or later.

3

What types of attacks are possible with CVE-2024-41658?

CVE-2024-41658 can be exploited to perform reflected cross-site scripting attacks, potentially allowing an attacker to execute arbitrary scripts in the context of a user's session.

4

Which versions of Casdoor are affected by CVE-2024-41658?

CVE-2024-41658 affects Casdoor versions up to and including 1.577.0.

5

Is user data at risk due to CVE-2024-41658?

Yes, the reflected XSS vulnerability in CVE-2024-41658 could put user data at risk by allowing attackers to manipulate web session data.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203