🇰🇷 한글 설명
phpMyFAQ 4.1.9 미만 버전의 PdoMysql::escape() 함수에서 SQL 인젝션 취약점이 발견되었습니다. 공격자가 api/autocomplete의 검색 파라미터에 유니코드 문자를 전송하여 인증 없이 데이터베이스의 자격 증명 탈취, 레코드 수정 또는 테이블 삭제를 수행할 수 있습니다.
💡 쉬운 설명
특수 문자를 이용해 데이터베이스를 조작할 수 있는 보안 구멍이 발견되었습니다. 해커가 이 구멍을 통해 중요한 정보를 훔치거나 데이터를 마음대로 삭제할 수 있습니다.
🇺🇸 원문 (English)
phpMyFAQ before 4.1.9 contains an SQL injection vulnerability in PdoMysql::escape(), which escapes single quotes with backslashes that are treated literally when MySQL or MariaDB runs in NO_BACKSLASH_ESCAPES mode. Unauthenticated attackers can send a Unicode right single quotation mark in the search parameter of api/autocomplete, which is normalized to an ASCII quote, to read credentials and configuration secrets, modify records, or drop tables.
📍 영향받는 시스템
phpMyFAQ version < 4.1.9
⚔️ 공격 벡터
api/autocomplete 경로의 검색 파라미터에 유니코드 특수 문자를 삽입하여 공격
🛡️ 대응 방법
phpMyFAQ를 최신 버전인 4.1.9 이상으로 업데이트하거나 MySQL의 NO_BACKSLASH_ESCAPES 모드 설정을 검토하십시오.
🔧 검증 코드
출력된 버전 번호가 4.1.9 미만인지 확인하십시오.
phpmyfaq_version=$(php -r 'include "/path/to/config.php"; echo VERSION;') && echo $phpmyfaq_version