Description
This module exploits Remote Code Execution (RCE) vulnerability (CVE-2024-32651) in changedetection.io which is a service for detecting and monitoring changes in web pages. Versions prior to 0.45.21 are vulnerable.
The vulnerability occurs when the application renders user-controlled notification fields (title and body) using a non-sandboxed Jinja2 environment. The default configuration does not require login credentials, so an unauthenticated attacker is able to create a watch and send a test notification containing a command-injected template. This allows the attacker to execute a payload as the user running the service.
Module options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/linux/http/changedetection/rce_cve_2024_32651msf undefined(rce_cve_2024_32651) > show actions ...actions...msf undefined(rce_cve_2024_32651) > set ACTION < action-name >msf undefined(rce_cve_2024_32651) > show options ...show and set options...msf undefined(rce_cve_2024_32651) > runPrioritize with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub