🔍 CVE-2026-76210

6.5
CVSS Score
MEDIUM
2026-08-19
2026-09-01 15:21
✅ 완료

🇰🇷 한글 설명

phpMyFAQ 4.1.6 미만 버전에서 TCPDF를 통해 PDF를 생성할 때 FAQ 답변의 HTML을 적절히 정제하지 못하는 취약점이 존재합니다. 공격자가 FAQ 콘텐츠를 편집할 수 있는 권한이 있다면, 로컬 파일 경로를 참조하는 <img> 태그를 삽입하여 PDF 생성 시 발생하는 오류 메시지를 통해 데이터베이스 설정 파일 등 민감한 파일의 내용을 탈취할 수 있습니다.

💡 쉬운 설명

FAQ 답변에 가짜 이미지 태그를 넣어 PDF를 만들게 유도하면, 시스템이 오류를 일으키면서 중요한 비밀번호가 담긴 파일 내용을 화면에 보여주는 보안 결함입니다. 관리자 권한을 가진 사용자가 악의적인 내용을 작성할 경우 서버의 핵심 정보를 훔쳐갈 수 있습니다.

🇺🇸 원문 (English)

phpMyFAQ before 4.1.6 does not adequately sanitize HTML in FAQ answers before generating PDFs via TCPDF. An attacker with permission to create or edit FAQ content can embed an <img> tag whose src references a local file under the web root's content/ directory (e.g., content/core/config/database.php). When the PDF is generated, phpMyFAQ attempts to read the referenced file; because it is not a valid image the resulting error is converted into an uncaught exception whose stack trace discloses part of the file's contents to any user who triggers the PDF export. By default the disclosed portion is truncated (zend.exception_string_param_max_len), but a larger configured value can result in disclosure of entire files, including database credentials.

📍 영향받는 시스템

phpMyFAQ version < 4.1.6

⚔️ 공격 벡터

FAQ 편집 권한을 이용한 악성 <img> 태그 삽입 및 PDF 내보내기 기능 트리거

🛡️ 대응 방법

phpMyFAQ를 최신 버전(4.1.6 이상)으로 업데이트하고, zend.exception_string_param_max_len 설정을 최소화합니다.

🔧 검증 코드

설치된 phpMyFAQ의 버전이 4.1.6 미만인지 확인하여 취약 여부를 판단합니다.

Shell / Script
php -r 'echo "phpMyFAQ version check";' && grep -r "version" /path/to/phpmyfaq/ | grep -E '^[0-3]\.'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP