🇰🇷 한글 설명
phpBannerExchange 2.0 Update 6 이전 버전의 resetpw.php에서 해석 충돌 취약점이 발견되었습니다. 공격자가 유효한 이메일 주소 뒤에 널(%00) 문자를 삽입하여 전송하면 eregi 함수의 유효성 검사를 우회하여 임의의 SQL 명령을 실행할 수 있습니다.
💡 쉬운 설명
이메일 입력창에 특수한 문자(%00)를 넣어 보안 필터를 속이는 취약점입니다. 이를 통해 공격자가 데이터베이스의 정보를 훔치거나 조작할 수 있습니다.
🇺🇸 원문 (English)
Interpretation conflict in resetpw.php in phpBannerExchange before 2.0 Update 6 allows remote attackers to execute arbitrary SQL commands via an email parameter containing a null (%00) character after a valid e-mail address, which passes the validation check in the eregi PHP command. NOTE: it could be argued that this vulnerability is due to a bug in the eregi PHP command and the proper fix should be in PHP; if so, then this should not be treated as a vulnerability in phpBannerExchange.
📍 영향받는 시스템
phpBannerExchange versions before 2.0 Update 6
⚔️ 공격 벡터
resetpw.php의 이메일 파라미터에 널 문자를 포함한 악의적인 SQL 쿼리 주입
🛡️ 대응 방법
phpBannerExchange를 2.0 Update 6 이상의 최신 버전으로 업데이트하십시오.
🔧 검증 코드
명령어 실행 결과 eregi 함수 사용 내역이 출력되면 취약한 버전일 가능성이 높습니다.
grep -n "eregi" /var/www/html/phpBannerExchange/resetpw.php