🔍 CVE-2025-27025

8.8
CVSS Score
HIGH
2025-07-02
2026-06-17 09:02
✅ 완료

🇰🇷 한글 설명

대상 장치의 특정 TCP 포트에서 기본 인증(Basic Authentication)을 사용하는 엔드포인트가 노출되어 있습니다. 공격자는 PUT 메서드를 이용해 디렉토리 트래버설 공격을 수행하여 루트 권한으로 임의의 파일을 시스템에 쓸 수 있으며, GET 메서드를 통해 시스템 내 모든 파일을 읽을 수 있습니다.

💡 쉬운 설명

해커가 인증 과정을 거치더라도 시스템의 중요한 파일을 마음대로 읽거나 수정할 수 있는 보안 결함입니다. 이를 통해 장치의 제어권을 완전히 탈취하거나 중요한 정보를 빼낼 수 있습니다.

🇺🇸 원문 (English)

The target device exposes a service on a specific TCP port with a configured endpoint. The access to that endpoint is granted using a Basic Authentication method. The endpoint accepts also the PUT method and it is possible to write files on the target device file system. Files are written as root. Using Postman it is possible to perform a Directory Traversal attack and write files into any location of the device file system. Similarly to the PUT method, it is possible to leverage the same mechanism to read any file from the file system by using the GET method.

📍 영향받는 시스템

Basic Authentication을 사용하는 특정 TCP 포트 서비스가 활성화된 대상 장치

⚔️ 공격 벡터

디렉토리 트래버설을 이용한 HTTP PUT/GET 메서드 공격

🛡️ 대응 방법

해당 서비스의 인증 방식을 강화하고, 디렉토리 트래버설을 방지하도록 입력값 검증을 실시하며, 불필요한 HTTP 메서드(PUT, GET) 사용을 제한해야 합니다.

🔧 검증 코드

명령어 실행 시 200 OK 응답과 함께 시스템 파일 내용이 출력되면 취약한 상태입니다.

Shell / Script
curl -I -u 'user:pass' http://<target_ip>:<port>/<endpoint>/../../etc/passwd

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Postman