🔍 CVE-2025-49138

6.5
CVSS Score
MEDIUM
2025-06-09
2026-10-18 21:10
✅ 완료

🇰🇷 한글 설명

HAX CMS PHP의 saveOutline 엔드포인트에서 인증된 사용자가 로컬 파일 포함(LFI) 취약점을 악용하여 서버의 임의 파일을 읽을 수 있습니다. 공격자는 location 필드에 조작된 경로를 입력하여 site.json에 저장함으로써 /etc/passwd와 같은 민감한 시스템 파일을 탈취할 수 있습니다.

💡 쉬운 설명

로그인 권한이 있는 사용자가 시스템의 설정 파일을 몰래 훔쳐볼 수 있는 보안 약점이 발견되었습니다. 공격자가 파일 경로를 교묘하게 조작하면 서버 내부의 중요한 정보가 외부로 유출될 수 있습니다.

🇺🇸 원문 (English)

HAX CMS PHP allows users to manage their microsite universe with a PHP backend. Prior to version 11.0.0, an authenticated Local File Inclusion (LFI) vulnerability in the HAXCMS saveOutline endpoint allows a low-privileged user to read arbitrary files on the server by manipulating the location field written into site.json. This enables attackers to exfiltrate sensitive system files such as /etc/passwd, application secrets, or configuration files accessible to the web server (www-data). The vulnerability stems from the way the HAXCMS backend handles the location field in the site's outline. When a user sends a POST request to /system/api/saveOutline, the backend stores the provided location value directly into the site.json file associated with the site, without validating or sanitizing the input. Later the location parameter is interpreted by the CMS to resolve and load the content for a given node. If the location field contains a relative path like `../../../etc/passwd`, the application will attempt to read and render that file. Version 11.0.0 fixes the issue.

📍 영향받는 시스템

HAX CMS PHP 11.0.0 미만 버전

⚔️ 공격 벡터

인증된 사용자가 /system/api/saveOutline 엔드포인트로 조작된 location 값을 포함한 POST 요청을 전송

🛡️ 대응 방법

HAX CMS PHP를 최신 버전인 11.0.0 이상으로 업데이트

🔧 검증 코드

설치된 HAX CMS의 버전이 11.0.0 미만인지 확인하여 취약 여부를 판단합니다.

Shell / Script
php -r 'echo "HAX CMS Version Check";' # 실제 버전 확인은 설치된 소스 코드의 composer.json 또는 버전 관리 파일을 참조해야 함

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

IBM WebSphere Application Server