🇰🇷 한글 설명
phpMyFAQ 2.5.5 이전 버전의 index.php에서 발견된 다중 XSS 취약점으로, sitemap, search, artikel, news 등 17개의 매개변수가 사용자 입력을 충분히 검증하지 않습니다. 공격자는 이를 악용하여 악의적인 JavaScript 코드를 주입하고 사용자의 세션을 탈취하거나 개인정보를 도용할 수 있습니다.
💡 쉬운 설명
phpMyFAQ의 검색과 필터링 기능이 악의적인 코드를 제대로 걸러내지 못합니다. 공격자가 특수하게 만든 링크를 사용자가 클릭하면 공격자의 코드가 실행되어 정보가 탈취될 수 있습니다.
🇺🇸 원문 (English)
Multiple cross-site scripting (XSS) vulnerabilities in index.php in phpMyFAQ before 2.5.5 allow remote attackers to inject arbitrary web script or HTML via (1) the lang parameter in a sitemap action, (2) the search parameter in a search action, (3) the tagging_id parameter in a search action, (4) the highlight parameter in an artikel action, (5) the artlang parameter in an artikel action, (6) the letter parameter in a sitemap action, (7) the lang parameter in a show action, (8) the cat parameter in a show action, (9) the newslang parameter in a news action, (10) the artlang parameter in a send2friend action, (11) the cat parameter in a send2friend action, (12) the id parameter in a send2friend action, (13) the srclang parameter in a translate action, (14) the id parameter in a translate action, (15) the cat parameter in a translate action, (16) the cat parameter in an add action, or (17) the question parameter in an add action. NOTE: the provenance of this information is unknown; the details are obtained solely from third party information.
📍 영향받는 시스템
phpMyFAQ 2.5.4 및 이전 모든 버전
⚔️ 공격 벡터
index.php의 lang, search, tagging_id, highlight, artlang, letter, cat, newslang, srclang, question, id 등 매개변수에 URL 인코딩된 XSS payload 주입
🛡️ 대응 방법
phpMyFAQ를 버전 2.5.5 이상으로 즉시 업그레이드하고 모든 사용자 입력을 HTML 이스케이프 처리
🔧 검증 코드
설치된 phpMyFAQ의 버전이 2.5.5 이상인지 확인하거나, 시스템에 phpMyFAQ 설치 위치가 있는지 확인합니다.
dpkg -l 2>/dev/null | grep phpmyfaq || find /var/www -name 'index.php' -path '*phpmyfaq*' 2>/dev/null | head -1