Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-26717 — Technical write-up of CVE-2026-26717, an HMAC timing attack in OpenFUN Richie LMS webhook authentication, including vulnerable code, impact, and fix using hmac.compare_digest. | Kitploit
Tools/GitHubGitHub/rickidevs/cve-2026-26717
Vulnerability AnalysisCode AnalysisExploitationWeb SecurityAuthentication
GitHubrickidevs/cve-2026-26717

CVE-2026-26717

Technical write-up of CVE-2026-26717, an HMAC timing attack in OpenFUN Richie LMS webhook authentication, including vulnerable code, impact, and fix using hmac.compare_digest.

View Repository
318 months agoNot yet reviewed
Share

CVE-2026-26717: HMAC Timing Attack in OpenFUN Richie LMS

Author: Elvin Latifli
CVE ID: CVE-2026-26717
Severity: Medium (CVSS 3.1: 4.8 — AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N)
Affected Product: OpenFUN Richie (all versions prior to commit a1b5bbd)
Affected Component: src/richie/apps/courses/api.py — sync_course_runs_from_request
Fix Commit: a1b5bbda


About the Project

Richie is an open-source CMS developed by France Université Numérique (OpenFUN), built on top of DjangoCMS. It is designed to help organizations build full-featured online education portals with course catalogs synchronized from Learning Management Systems (LMS) such as OpenEdX. Richie handles course data synchronization via authenticated webhooks — one of which contained the vulnerability described in this report.


Vulnerability

The sync_course_runs_from_request webhook endpoint used the standard == operator to compare the incoming Authorization header against the expected HMAC signature:

# VULNERABLE
signature_is_valid = any(
    authorization_header == get_signature(message, secret)
    for secret in getattr(settings, "RICHIE_COURSE_RUN_SYNC_SECRETS", [])
)

The == operator performs a non-constant-time comparison — it short-circuits as soon as the first mismatching character is found. By sending many crafted requests and measuring response time differences, a remote attacker can deduce the correct signature one character at a time, ultimately forging a valid authentication token and bypassing the webhook's authentication entirely.


Impact

A successful attack allows an unauthenticated remote attacker to:

  • Inject arbitrary course run data into the platform
  • Manipulate public course pages
  • Corrupt the search index and cache

Fix

The fix replaces == with Python's hmac.compare_digest(), which is designed for constant-time string comparison and eliminates the timing side-channel:

# FIXED
signature_is_valid = any(
    hmac.compare_digest(authorization_header, get_signature(message, secret))
    for secret in getattr(settings, "RICHIE_COURSE_RUN_SYNC_SECRETS", [])
)

References

  • CVE Record: https://www.cve.org/CVERecord?id=CVE-2026-26717
  • Fix Commit: https://github.com/openfun/richie/commit/a1b5bbda3403d7debb466c303a32852925fcba5f

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    530
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    479
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    369
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    319
  • 5

    estorides

    grisuno/estorides

    Aggregates 99+ free OSINT sources in parallel, resolves entities into a knowledge graph, and exports STIX 2.1, MISP, or GraphML with LLM-assisted analysis.

    294
  • 6

    opencti

    opencti-platform/opencti

    Open Cyber Threat Intelligence Platform

    266

Explore all tools

Browse our collection of tools

View all tools →