# CVE-2025-50974: The Calamaris log exporter CGI (/cgi-bin/logs.cgi/calamaris.dat) in IPFire 2.29 does not properly sanitize user-supplied input before incor…

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-08-26T00:00:00.000Z
- Modified: 2026-06-17T09:35:28.243Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- ipfire ipfire: 2.29

## References

- <https://github.com/4rdr/proofs/blob/main/info/IPFire-2.29-Command-Injection.md> (exploit)

## Sources

- CVE List: [CVE-2025-50974](https://www.cve.org/CVERecord?id=CVE-2025-50974), CVE Terms of Use, modified 2025-08-27
- NVD: [CVE-2025-50974](https://nvd.nist.gov/vuln/detail/CVE-2025-50974), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-50974 · Whole record: https://cve.day/CVE-2025-50974.json · Rebuilt by cve.day 2026-11-25T22:59:03.703Z
