🔍 CVE-2025-34316

5.4
CVSS Score
MEDIUM
2025-10-28
2026-09-26 00:10
✅ 완료

🇰🇷 한글 설명

IPFire 2.29(Core Update 198) 이전 버전에서 인증된 공격자가 메일 서버 설정 업데이트 시 txt_mailuser 및 txt_mailpass 파라미터를 통해 악성 자바스크립트를 삽입할 수 있는 저장형 XSS 취약점이 발견되었습니다. 삽입된 스크립트는 적절한 검증 없이 저장된 후, 해당 설정을 확인하는 다른 사용자의 웹 인터페이스에서 실행될 수 있습니다.

💡 쉬운 설명

로그인 권한이 있는 사용자가 메일 설정 칸에 악성 코드를 몰래 적어둘 수 있는 문제입니다. 이 코드는 나중에 관리자가 해당 설정을 열어볼 때 관리자의 브라우저에서 자동으로 실행되어 정보를 훔칠 수 있습니다.

🇺🇸 원문 (English)

IPFire versions prior to 2.29 (Core Update 198) contain a stored cross-site scripting (XSS) vulnerability that allows an authenticated attacker to inject arbitrary JavaScript code through the txt_mailuser and txt_mailpass parameters when updating the mail server settings. When a user updates the mail server, the application issues an HTTP POST request to /cgi-bin/mail.cgi and the username and password are provided in the txt_mailuser and txt_mailpass parameters. The values of these parameters are stored and later rendered in the web interface without proper sanitation or encoding, allowing injected scripts to execute in the context of other users who view the affected mail configuration.

📍 영향받는 시스템

IPFire versions prior to 2.29 (Core Update 198)

⚔️ 공격 벡터

인증된 사용자가 메일 서버 설정 변경 시 HTTP POST 요청의 파라미터에 악성 스크립트를 삽입하여 공격

🛡️ 대응 방법

IPFire를 2.29 (Core Update 198) 이상의 최신 버전으로 업데이트하십시오.

🔧 검증 코드

명령어 결과에 2.29 미만의 버전 번호가 나타나면 취약한 상태입니다.

Shell / Script
ipfire-version | grep -E '2\[\.(0-28)\]'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N