🇰🇷 한글 설명
WeBid 1.0.2의 converter.php 스크립트에서 POST 요청의 to 파라미터가 검증 없이 includes/currencies.php 파일에 직접 작성되는 취약점입니다. 인증되지 않은 공격자가 임의의 PHP 코드를 주입하여 지속적인 원격 코드 실행을 수행할 수 있습니다.
💡 쉬운 설명
WeBid 웹사이트의 설정 파일에 검증 없이 데이터를 저장하는 보안 결함입니다. 공격자는 이를 악용하여 악성 코드를 설치하고 서버를 완전히 장악할 수 있습니다.
🇺🇸 원문 (English)
WeBid 1.0.2 contains a remote code injection vulnerability in the converter.php script, where unsanitized input in the to parameter of a POST request is written directly into includes/currencies.php. This allows unauthenticated attackers to inject arbitrary PHP code, resulting in persistent remote code execution when the modified script is accessed or included by the application.
⚔️ 공격 벡터
POST 요청의 to 파라미터를 통한 PHP 코드 직접 주입 (파일 쓰기 취약점)
🛡️ 대응 방법
WeBid를 최신 버전으로 업그레이드하거나 converter.php에서 입력값 검증 및 화이트리스트 적용, includes/currencies.php 파일 접근 권한 제한
🔧 검증 코드
converter.php 파일이 발견되면 시스템에 WeBid가 설치되어 있으며, 해당 파일의 to 파라미터 검증 로직 부재 여부를 코드 리뷰로 확인 필요
find / -name 'converter.php' 2>/dev/null | grep -i webid