🇰🇷 한글 설명
Arc 시계열 데이터베이스의 특정 버전에서 Go의 `net/http/pprof` 핸들러가 인증 없이 노출되는 취약점이 발견되었습니다. 인증 미들웨어가 특정 경로 매칭 시 토큰 검사를 건너뛰기 때문에, 공격자가 인증 없이 `/debug/pprof/*` 경로에 접근할 수 있습니다.
💡 쉬운 설명
데이터베이스의 내부 상태를 보여주는 관리용 페이지가 비밀번호 없이 누구나 접속할 수 있게 열려 있는 상태입니다. 이를 통해 시스템의 민감한 정보가 유출될 위험이 있습니다.
🇺🇸 원문 (English)
Arc is an open, SQL-native time-series database for telemetry. Versions prior to 26.06.1 register Go's `net/http/pprof` handlers at `/debug/pprof/*` via `app.Use(pprof.New())` in `internal/api/server.go`, and `/debug/pprof` is added to `PublicPrefixes` in `cmd/arc/main.go`. The auth middleware short-circuits before the token check on prefix match, so the endpoints are reachable without any authentication. Version 26.06.1 contains a patch. Some workarounds are available. Block `/debug/pprof*` at a reverse proxy / load balancer in front of Arc, restrict Arc's API port to known-trusted networks via firewall rules, and/or patch the running build: comment out `app.Use(pprof.New())` in `internal/api/server.go` and rebuild.
📍 영향받는 시스템
Arc database versions prior to 26.06.1
⚔️ 공격 벡터
인증 없이 `/debug/pprof/*` 경로로 HTTP 요청을 보내 시스템 프로파일링 데이터에 접근
🛡️ 대응 방법
Arc를 26.06.1 버전 이상으로 업데이트하거나, 리버스 프록시에서 `/debug/pprof*` 경로를 차단하십시오.
🔧 검증 코드
HTTP 응답 코드가 200 OK라면 취약한 상태이며, 401 Unauthorized 또는 403 Forbidden이면 안전합니다.
curl -Is http://<arc-host>:<port>/debug/pprof/ | grep HTTP