Vulnerability · Published Apr 25, 2024 · Assigned by GitHub_M

CVE-2024-32651Server Side Template Injection in Jinja2 allows Remote Command Execution

Critical 10.0

In plain English

A critical-severity security flaw in changedetection.io from dgtlmoon. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 85.3% (higher than 99.7% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)10.0Critical
Exploit odds (30 days)85.3%top 0.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling2Nuclei, Public PoC

Official description

changedetection.io is an open source web page change detection, website watcher, restock monitor and notification service. There is a Server Side Template Injection (SSTI) in Jinja2 that allows Remote Command Execution on the server host. Attackers can run any system command without any restriction and they could use a reverse shell. The impact is critical as the attacker can completely takeover the server machine. This can be reduced if changedetection is behind a login page, but this isn't required by the application (not by default and not enforced).

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIchangedetection-io0.45.21GHSA-4r7v-whpg-8rx3
PyPIchangedetection-io0.45.21PYSEC-2026-310

Affected products (as reported)

VendorProductVersions
dgtlmoon changedetection.io <= 0.45.20

Weakness: CWE-1336 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

References