🔍 CVE-2026-4020

7.5
CVSS Score
HIGH
2026-03-31
2026-04-24 18:11
✅ 완료

🇰🇷 한글 설명

Gravity SMTP 플러그인의 REST API 엔드포인트가 인증 없이 접근 가능하여 약 365KB의 시스템 정보가 노출됩니다. 공격자는 PHP 버전, 설치된 플러그인, API 키, 데이터베이스 정보 등 상세한 시스템 설정을 탈취할 수 있습니다.

💡 쉬운 설명

WordPress의 Gravity SMTP 플러그인에 보안 결함이 있어 로그인 없이 누구나 서버의 민감한 정보를 볼 수 있습니다. 이를 통해 공격자가 API 키, 설치된 프로그램, 데이터베이스 정보 등을 빼낼 수 있습니다.

🇺🇸 원문 (English)

The Gravity SMTP plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 2.1.4. This is due to a REST API endpoint registered at /wp-json/gravitysmtp/v1/tests/mock-data with a permission_callback that unconditionally returns true, allowing any unauthenticated visitor to access it. When the ?page=gravitysmtp-settings query parameter is appended, the plugin's register_connector_data() method populates internal connector data, causing the endpoint to return approximately 365 KB of JSON containing the full System Report. This makes it possible for unauthenticated attackers to retrieve detailed system configuration data including PHP version, loaded extensions, web server version, document root path, database server type and version, WordPress version, all active plugins with versions, active theme, WordPress configuration details, database table names, and any API keys/tokens configured in the plugin.

📍 영향받는 시스템

Gravity SMTP for WordPress 버전 2.1.4 이하

⚔️ 공격 벡터

인증 없이 /wp-json/gravitysmtp/v1/tests/mock-data?page=gravitysmtp-settings 엔드포인트에 GET 요청으로 전체 시스템 보고서 접근

🛡️ 대응 방법

Gravity SMTP 플러그인을 버전 2.1.5 이상으로 업데이트하거나 REST API 엔드포인트에 대한 접근 제한 설정

🔧 검증 코드

명령어가 PHP 버전, 플러그인 목록, API 키 등의 시스템 정보를 반환하면 취약점이 확인된 것이므로 즉시 플러그인을 업데이트해야 합니다.

Shell / Script
curl -s 'http://target-site/wp-json/gravitysmtp/v1/tests/mock-data?page=gravitysmtp-settings' | jq -r '.system_report' | head -20

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

💻 영향받는 소프트웨어

PHP