CVE-2025-34311 IPFire < v2.29 Command Injection via Proxy Report Creation
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
IPFire versions prior to 2.29 (Core Update 198) contain a command injection vulnerability that allows an authenticated attacker to execute arbitrary commands as the user 'nobody' via multiple parameters when creating a Proxy report. When a user creates a Proxy report the application issues an HTTP POST to /cgi-bin/logs.cgi/calamaris.dat and reads the values of DAY_BEGIN, MONTH_BEGIN, YEAR_BEGIN, DAY_END, MONTH_END, YEAR_END, NUM_DOMAINS, PERF_INTERVAL, NUM_CONTENT, HIST_LEVEL, NUM_HOSTS, NUM_URLS, and BYTE_UNIT, which are interpolated directly into the shell invocation of the mkreport helper. Because these parameters are never sanitized for improper characters or constructs, a crafted POST can inject shell metacharacters into one or more fields, causing arbitrary commands to run with the privileges of the 'nobody' user.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ipfire | < 2.29; = 2.29-core_update183; = 2.29-core_update184; = 2.29-core_update185 +12 more | 2.29 | Fixed |
| IPFire.org IPFire | < 2.29 (Core Update 198) | 2.29 (Core Update 198) | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| IPFire.org IPFire | < 2.29 (Core Update 198) | 2.29 (Core Update 198) |
| ipfire | < 2.29 | 2.29 |
| ipfire | = 2.29-core_update183 | No fix listed |
| ipfire | = 2.29-core_update184 | No fix listed |
| ipfire | = 2.29-core_update185 | No fix listed |
| ipfire | = 2.29-core_update186 | No fix listed |
| ipfire | = 2.29-core_update187 | No fix listed |
| ipfire | = 2.29-core_update188 | No fix listed |
| ipfire | = 2.29-core_update189 | No fix listed |
| ipfire | = 2.29-core_update190 | No fix listed |
| ipfire | = 2.29-core_update191 | No fix listed |
| ipfire | = 2.29-core_update192 | No fix listed |
| ipfire | = 2.29-core_update193 | No fix listed |
| ipfire | = 2.29-core_update194 | No fix listed |
| ipfire | = 2.29-core_update195 | No fix listed |
| ipfire | = 2.29-core_update196 | No fix listed |
| ipfire | = 2.29-core_update197 | No fix listed |
References
- www.ipfire.org patch release-notes vendor-advisory
- bugzilla.ipfire.org issue-tracking third-party-advisory
- www.vulncheck.com third-party-advisory