🔍 CVE-2025-7381

5.3
CVSS Score
MEDIUM
2025-07-09
2026-04-15 00:35
✅ 완료

🇰🇷 한글 설명

PHP 기본 이미지의 X-Powered-By 헤더를 통해 PHP 버전이 노출되는 정보 공개 취약점입니다. 공격자가 서버 버전을 파악하여 추가 공격을 시도할 수 있습니다.

💡 쉬운 설명

웹 서버가 자신이 PHP를 사용한다는 버전 정보를 누출하고 있습니다. 이를 통해 공격자가 PHP의 알려진 문제점을 찾아 공격할 수 있습니다.

🇺🇸 원문 (English)

ImpactThis is an information disclosure vulnerability originating from PHP's base image. This vulnerability exposes the PHP version through an X-Powered-By header, which attackers could exploit to fingerprint the server and identify potential weaknesses. WorkaroundsThe mitigation requires changing the expose_php variable from "On" to "Off" in the file located at /usr/local/etc/php/php.ini.

📍 영향받는 시스템

PHP 기본 이미지를 사용하는 모든 PHP 설치 (expose_php가 'On'일 경우)

⚔️ 공격 벡터

HTTP 응답 헤더의 X-Powered-By 값을 읽어 PHP 버전 정보 수집 및 fingerprinting

🛡️ 대응 방법

/usr/local/etc/php/php.ini에서 expose_php 값을 'On'에서 'Off'로 변경

🔧 검증 코드

expose_php = Off로 설정되어 있으면 안전하고, On이면 수정 필요

Shell / Script
grep -i 'expose_php' /usr/local/etc/php/php.ini | grep -v '^;'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP