CVE-2025-34311 IPFire < v2.29 Command Injection via Proxy Report Creation
IPFire < v2.29 명령 주입 프록시 보고서 작성을 통해
설명
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.
2.29 이전 IPFire 버전(Core Update 198)에는 프록시 보고서를 생성할 때 여러 매개 변수를 통해 인증 된 공격자가 임의의 명령을 사용자 'nobody'로 실행할 수 있는 명령 주입 취약점이 포함되어 있습니다. 사용자가 프록시 보고서를 생성하면 애플리케이션이 HTTP POST를 /cgi-bin/logs.cgi/calamaris.dat에 발행하고 DAY_BEGIN, MONTH_BEGIN, YEAR_BEGIN, DAY_END, MONTH_END, YEAR_END, NUM_DOMAINS, PERF_INTERVAL, NUM_CONTENT, BIST_HENVEL_의 값을 직접 읽습니다_HENVENT_HENVEL로 읽습니다. 이러한 파라미터는 부적절한 문자나 구조체에 대해 살균되지 않기 때문에, 만들어진 POST는 하나 이상의 필드에 쉘 메타문자를 삽입할 수 있으며, 임의의 명령이 'nobody' 사용자의 권한으로 실행되도록 한다.
영향 받는 제품 제품 1개
-
해결 버전 있음
IPFire.org
IPFire
영향 받는 버전
- 2.29 미만
해결 버전
- 2.29 이상