🇰🇷 한글 설명
WordPress용 Host PHP Info 플러그인에서 capability check 누락으로 인해 인증되지 않은 공격자가 서버의 설정 및 환경 변수를 조회할 수 있는 취약점입니다. 플러그인이 활성화되지 않아도 악용 가능하며 버전 1.0.4 이하의 모든 버전이 영향을 받습니다.
💡 쉬운 설명
WordPress 플러그인이 누구나 서버의 민감한 정보를 볼 수 있게 방치한 보안 결함입니다. 플러그인을 설치하기만 해도 공격자가 PHP 설정, 데이터베이스 정보 등을 탈취할 수 있습니다.
🇺🇸 원문 (English)
The Host PHP Info plugin for WordPress is vulnerable to unauthorized access of data due to a missing capability check when including the 'phpinfo' function in all versions up to, and including, 1.0.4. This makes it possible for unauthenticated attackers to read configuration settings and predefined variables on the site's server. The plugin does not need to be activated for the vulnerability to be exploited.
📍 영향받는 시스템
Host PHP Info plugin for WordPress versions <= 1.0.4
⚔️ 공격 벡터
Unauthenticated attacker directly accesses plugin URL to view phpinfo() output without authentication
🛡️ 대응 방법
Update plugin to latest version above 1.0.4 or immediately deactivate and delete the plugin
🔧 검증 코드
Output shows version number <= 1.0.4 = vulnerable; 'Not installed' = safe (plugin removed); no output = check WordPress plugin path
grep 'Version:' /var/www/html/wp-content/plugins/host-php-info/host-php-info.php 2>/dev/null | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' || echo 'Not installed'