🇰🇷 한글 설명
Mercator 오픈소스 웹 애플리케이션의 설정 패널에서 서버 측 요청 위조(SSRF) 취약점이 발견되었습니다. 인증된 사용자가 입력값 검증 미비점을 악용하여 서버가 임의의 외부 네트워크 요청을 보내도록 조작할 수 있으며, 이를 통해 내부망 스캔이나 원격 코드 실행이 가능할 수 있습니다.
💡 쉬운 설명
해커가 권한을 가진 상태에서 서버를 조종해 내부 네트워크의 다른 컴퓨터에 몰래 접속하거나 명령을 내릴 수 있는 보안 약점입니다. 마치 서버에게 가짜 주소를 알려주어 서버가 내부의 비밀 정보를 가져오게 만드는 것과 같습니다.
🇺🇸 원문 (English)
Mercator is an open source web application that enables mapping of the information system. Prior to version 2025.05.19, a Server-Side Request Forgery (SSRF) vulnerability exists in Mercator's CVE configuration panel (`/admin/config/parameters`). The `testProvider()` method in `ConfigurationController` passes user-supplied input directly to `curl_init()` without validating the scheme, hostname, or destination IP address. An authenticated user with the `configure` permission can force the Mercator server to issue arbitrary outbound network requests. The suffix `/api/dbInfo` appended to the URL can be bypassed by injecting a `#` fragment character (e.g. `http://TARGET/PATH#`), allowing full control over the target URL. No scheme whitelist, host whitelist, or private/loopback IP block is applied. The `telnet://` scheme can be used for internal port scanning; the `gopher://` scheme enables interaction with unauthenticated internal services (Redis, Memcached), potentially leading to Remote Code Execution under specific deployment conditions. Version 2025.05.19 patches the issue.
📍 영향받는 시스템
Mercator version 2025.05.19 미만 버전
⚔️ 공격 벡터
인증된 사용자가 `/admin/config/parameters` 패널의 `testProvider()` 메서드에 조작된 URL(예: telnet://, gopher:// 포함)을 입력하여 공격
🛡️ 대응 방법
Mercator를 최신 패치 버전인 2025.05.19 이상으로 업데이트하십시오.
🔧 검증 코드
명령어 실행 결과로 '2025.05.19' 이상의 버전 정보가 출력되면 취약점이 해결된 상태입니다.
curl -s http://<TARGET_IP>/version | grep -E '2025\.05\.19'