PT-2025-2984 · Unknown · Codechecker

Discookie

·

Published

2025-01-21

·

Updated

2025-11-14

·

CVE-2024-53829

CVSS v3.1

8.2

High

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N
Name of the Vulnerable Software and Affected Versions CodeChecker versions through 6.24.4
Description Cross-site request forgery allows an unauthenticated attacker to hijack the authentication of a logged-in user and use the web API with the same permissions, including adding, removing, or editing products. The attacker needs to know the ID of the available products to modify or delete them. The attacker cannot directly exfiltrate data from CodeChecker due to being limited to form-based CSRF. Security attributes like HttpOnly and SameSite are missing from the session cookie, allowing its use from XHR requests and form submissions. The CodeChecker API endpoints only require the session cookie and do not require a CSRF token.
Recommendations For CodeChecker versions through 6.24.4, consider implementing security attributes like HttpOnly and SameSite for the session cookie to prevent its use from XHR requests and form submissions. Additionally, implementing a CSRF token for API endpoints can help prevent cross-site request forgery attacks. As a temporary workaround, restrict access to the CodeChecker API endpoints to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

CSRF

Weakness Enumeration

Related Identifiers

CVE-2024-53829
GHSA-F8C8-4PM7-W885
PYSEC-2025-12

Affected Products

Codechecker