🇰🇷 한글 설명
WordPress Age Gate 플러그인의 'lang' 매개변수를 통한 Local PHP File Inclusion 취약점으로, 인증되지 않은 공격자가 서버의 임의의 PHP 파일을 포함하고 실행할 수 있습니다. 업로드된 파일을 통해 접근 제어 우회, 민감한 데이터 탈취, 또는 원격 코드 실행이 가능합니다.
💡 쉬운 설명
WordPress Age Gate 플러그인에 파일을 잘못 읽는 보안 문제가 있어서, 누구나 로그인 없이 서버의 파일을 실행할 수 있습니다. 해커는 이를 이용해 데이터를 빼내거나 서버를 완전히 장악할 수 있습니다.
🇺🇸 원문 (English)
The Age Gate plugin for WordPress is vulnerable to Local PHP File Inclusion in all versions up to, and including, 3.5.3 via the 'lang' parameter. This makes it possible for unauthenticated attackers to include and execute arbitrary PHP files on the server, allowing the execution of code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included.
📍 영향받는 시스템
Age Gate 플러그인 버전 3.5.3 이하 (WordPress)
⚔️ 공격 벡터
lang 매개변수에 경로 순회(path traversal)를 이용한 PHP 파일 경로 지정으로 서버 파일 실행
🛡️ 대응 방법
Age Gate 플러그인을 최신 버전으로 긴급 업데이트하거나 플러그인 제거
🔧 검증 코드
반환된 버전 번호가 3.5.4 이상이면 패치됨, 3.5.3 이하면 취약 상태
grep -r "Version:" wp-content/plugins/age-gate/age-gate.php 2>/dev/null | grep -oE '[0-9]+\.[0-9]+\.[0-9]+'