🇰🇷 한글 설명
PHP-Nuke 7.9 및 이후 버전의 includes/mainfile.php에서 해석 충돌 문제가 발생합니다. 공격자가 태그의 '>'를 '<'로 교체하여 데이터 정화 정규식을 우회함으로써 원격으로 교차 사이트 스크립팅(XSS) 공격을 수행할 수 있습니다.
💡 쉬운 설명
웹사이트의 보안 필터를 속여 악성 스크립트를 삽입하는 취약점입니다. 브라우저가 잘못된 기호를 자동으로 수정하는 점을 이용해 보안 검사를 통과하고 공격 코드를 실행합니다.
🇺🇸 원문 (English)
Interpretation conflict in includes/mainfile.php in PHP-Nuke 7.9 and later allows remote attackers to perform cross-site scripting (XSS) attacks by replacing the ">" in the tag with a "<", which bypasses the regular expressions that sanitize the data, but is automatically corrected by many web browsers. NOTE: it could be argued that this vulnerability is due to a design limitation of many web browsers; if so, then this should not be treated as a vulnerability in PHP-Nuke.
📍 영향받는 시스템
PHP-Nuke 7.9 및 이후 버전
⚔️ 공격 벡터
조작된 특수 문자를 포함한 HTTP 요청을 통한 XSS 공격
🛡️ 대응 방법
최신 버전으로 업데이트하거나 입력값 검증 로직을 수정하여 특수 문자 필터링을 강화해야 합니다.
🔧 검증 코드
취약점이 존재하는 PHP-Nuke의 mainfile.php 파일 경로가 검색되는지 확인합니다.
find /var/www/html -name mainfile.php 2>/dev/null | grep 'includes/mainfile.php'