CVE-2025-50974: IPFire · OS Command Injection
Source CVE Database V5
Not known to be exploited · CVSS 6.5 Medium.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 33% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 26 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
Immediate mitigation should focus on restricting access to the vulnerable CGI endpoint. Network administrators should ensure that the /cgi-bin/logs.cgi/calamaris.dat interface is not exposed to untrusted networks, ideally limiting access to trusted internal IP ranges or via VPN. Implement strict firewall rules to block external access to the IPFire management interface. Until an official patch is released, consider disabling the Calamaris log exporter CGI if it is not essential for operations. Additionally, implement web application firewall (WAF) rules to detect and block suspicious input containing shell metacharacters targeting the vulnerable parameters. Regularly monitor logs for unusual command execution patterns or unexpected parameter values. Organizations should also prepare to apply patches promptly once available and conduct thorough security assessments of IPFire deployments to identify any signs of compromise. Employ network segmentation to isolate IPFire devices from critical assets and limit lateral movement in case of exploitation. Finally, educate network administrators about this vulnerability and the importance of input validation in web-facing services.
Description
The Calamaris log exporter CGI (/cgi-bin/logs.cgi/calamaris.dat) in IPFire 2.29 does not properly sanitize user-supplied input before incorporating parameter values into a shell command. An unauthenticated remote attacker can inject arbitrary OS commands by embedding shell metacharacters in any of the following parameters BYTE_UNIT, DAY_BEGIN, DAY_END, HIST_LEVEL, MONTH_BEGIN, MONTH_END, NUM_CONTENT, NUM_DOMAINS, NUM_HOSTS, NUM_URLS, PERF_INTERVAL, YEAR_BEGIN, YEAR_END.