🔍 CVE-2026-56738

0.0
CVSS Score
UNKNOWN
2026-09-24
2026-10-05 16:17
✅ 완료

🇰🇷 한글 설명

phpMyFAQ 4.1.6 미만 버전의 StopWords::add() 메서드에서 SQL 인젝션 취약점이 발견되었습니다. 사용자 입력값이 데이터베이스 이스케이프 함수를 거치지 않고 sprintf()를 통해 SQL 쿼리에 직접 삽입되어, 인증된 관리자가 임의의 SQL 명령을 실행할 수 있습니다.

💡 쉬운 설명

관리자 권한을 가진 사용자가 특수하게 조작된 단어를 입력하면 데이터베이스를 조작하거나 정보를 빼낼 수 있는 보안 결함입니다. 이로 인해 데이터베이스의 테이블이 삭제되거나 중요한 정보가 유출될 위험이 있습니다.

🇺🇸 원문 (English)

phpMyFAQ is an open source FAQ web application. The `StopWords::add()` method inversions prior to 4.1.6 builds a SQL `INSERT` statement using `sprintf()` and inserts the user-supplied stop word value directly into the query string without calling the application's database escaping function on it. A sibling method, `StopWords::update()`, which modifies an existing stop word, correctly escapes the same kind of input. The omission is isolated to the `add()` (insert) code path. An authenticated administrator who can reach the stop-word management feature can submit a crafted value as the "word" parameter that breaks out of the SQL string literal and injects arbitrary SQL, including statements to drop tables, exfiltrate data, or modify other rows in the database. Version 4.1.6 fixes the issue.

📍 영향받는 시스템

phpMyFAQ 4.1.6 미만 모든 버전

⚔️ 공격 벡터

인증된 관리자가 스톱워드 관리 기능의 'word' 파라미터에 SQL 구문을 삽입하여 공격

🛡️ 대응 방법

phpMyFAQ를 최신 보안 패치가 적용된 4.1.6 버전 이상으로 업데이트

🔧 검증 코드

설치된 phpMyFAQ의 버전을 확인하여 4.1.6 미만인지 확인합니다.

Shell / Script
php -r 'echo "phpMyFAQ version check";' | grep -i '4.1.6'

💻 영향받는 소프트웨어

PHP