🇰🇷 한글 설명
자선 단체용 웹 관리 도구인 WeGIA 3.8.6 미만 버전에서 발생하는 SQL 인젝션 취약점입니다. 인증되지 않은 공격자가 특정 PHP 파일에 조작된 POST 요청을 보내 데이터베이스의 사용자 자격 증명 해시나 결제 기록을 읽거나 수정할 수 있습니다.
💡 쉬운 설명
로그인하지 않은 외부인이 웹사이트의 데이터베이스에 몰래 명령어를 입력하여 정보를 훔치거나 내용을 바꿀 수 있는 심각한 보안 결함입니다. 이로 인해 사용자 비밀번호나 결제 정보가 유출될 위험이 있습니다.
🇺🇸 원문 (English)
WeGIA is a web manager for charitable institutions. Prior to 3.8.6, unauthenticated POST requests to web/html/socio/sistema/cadastro_cobranca.php can place a quoted SQL expression in the codigo parameter, which extract($_REQUEST) passes into the WHERE codigo= clause of an UPDATE statement without validation or parameter binding. Quoting the value bypasses MariaDB type conversion for the VARCHAR column and permits arbitrary SQL execution without a session. An attacker can read or modify database content, including user credential hashes and billing records in the cobrancas table. This issue is fixed in version 3.8.6.
📍 영향받는 시스템
WeGIA 3.8.6 미만 모든 버전
⚔️ 공격 벡터
인증되지 않은 상태에서 특정 PHP 경로로 조작된 SQL 구문이 포함된 POST 요청 전송
🛡️ 대응 방법
WeGIA를 최신 보안 패치가 적용된 3.8.6 버전 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 정보가 3.8.6 미만인 경우 해당 취약점에 노출된 상태입니다.
curl -s http://<target_ip>/version.php | grep -E 'version' || echo 'Version check failed'