CVE-2024-53829

8.2 HIGH

📋 TL;DR

CVE-2024-53829 is a cross-site request forgery (CSRF) vulnerability in CodeChecker that allows unauthenticated attackers to perform actions with the permissions of logged-in users, including adding, removing, or editing products. This affects all CodeChecker users with web interface access through version 6.24.4.

💻 Affected Systems

Products:
  • CodeChecker
Versions: through 6.24.4
Operating Systems: All platforms running CodeChecker
Default Config Vulnerable: ⚠️ Yes
Notes: All CodeChecker deployments with web interface enabled are vulnerable. The attacker needs to know product IDs to target specific products.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could delete or modify all products in CodeChecker, disrupting development workflows and potentially removing critical security analysis data.

🟠

Likely Case

Attackers with knowledge of product IDs could modify or delete specific products, causing data loss and workflow disruption.

🟢

If Mitigated

With proper CSRF protections, attackers cannot perform unauthorized actions even if they trick users into visiting malicious sites.

🌐 Internet-Facing: HIGH - Web interfaces exposed to the internet are directly vulnerable to CSRF attacks from any malicious website.
🏢 Internal Only: MEDIUM - Internal users could still be tricked into CSRF attacks via internal phishing or compromised internal sites.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Exploitation requires the attacker to trick an authenticated user into visiting a malicious website while logged into CodeChecker. The attacker needs knowledge of product IDs for targeted attacks.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 6.24.5 or later

Vendor Advisory: https://github.com/Ericsson/codechecker/security/advisories/GHSA-f8c8-4pm7-w885

Restart Required: No

Instructions:

1. Update CodeChecker to version 6.24.5 or later. 2. No restart required as this is a web application fix. 3. Verify CSRF protections are enabled in configuration.

🔧 Temporary Workarounds

Implement CSRF tokens manually

all

Add CSRF protection tokens to all state-changing API endpoints if unable to patch immediately

🧯 If You Can't Patch

  • Restrict CodeChecker web interface to trusted networks only
  • Implement web application firewall rules to detect CSRF patterns

🔍 How to Verify

Check if Vulnerable:

Check CodeChecker version with 'CodeChecker version' command. Versions 6.24.4 and earlier are vulnerable.

Check Version:

CodeChecker version

Verify Fix Applied:

Verify installation of version 6.24.5 or later and test that API endpoints now require CSRF tokens.

📡 Detection & Monitoring

Log Indicators:

  • Unusual product modifications from unexpected IP addresses
  • API calls without proper referrer headers

Network Indicators:

  • HTTP POST requests to CodeChecker API endpoints without CSRF tokens
  • Requests with mismatched origin/referrer headers

SIEM Query:

web.logs | where url contains "/CodeChecker/api/" and method == "POST" and (csrftoken == null or referrer not contains "codechecker-domain")

🔗 References

📤 Share & Export