🔍 CVE-2026-12986

0.0
CVSS Score
UNKNOWN
2026-06-24
2026-10-25 22:10
✅ 완료

🇰🇷 한글 설명

Payara Server의 Admin GUI에 존재하는 치명적 취약점으로, 공격자가 관리자의 gfresttoken을 공격자 제어 호스트로 유출시킬 수 있습니다. 이를 통해 인증 없이 Payara 관리 도메인을 완전히 장악할 수 있습니다. DownloadServlet의 SSRF 취약점과 CSRF 보호 부재가 결합되어 있습니다.

💡 쉬운 설명

Payara 서버의 관리 화면에 결함이 있어, 공격자가 관리자가 로그인된 상태에서 인증 토큰을 빼낼 수 있습니다. 이 토큰으로 로그인 없이 서버 전체를 장악할 수 있습니다.

🇺🇸 원문 (English)

A critical vulnerability in Admin GUI in Payara Server Full 4.x, 5.x, 6.x, 7.x, 7.2026.x, 6.2025.x, 6.2024.x on All platforms that allows the attacker to leak the admin gfresttoken to an attacker-controlled host that can result in a full unauthenticated takeover of Payara admin domain. A Server-Side Request Forgery (SSRF) vulnerability in the DownloadServlet of the Admin GUI in Payara Server allows a remote attacker to exfiltrate the administrator's REST session token (gfresttoken) to an attacker-controlled host via a crafted request URL. Combined with the absence of CSRF protection on DownloadServlet, an unauthenticated attacker can trick a logged-in administrator into triggering the token leak, then replay the stolen token to gain full administrative access to the Payara domain, leading to arbitrary code execution via WAR deployment. The vulnerability exists in the DownloadServlet and associated ContentSource implementations (LogViewerContentSource, LogFilesContentSource, LBConfigContentSource, ClientStubsContentSource) within the admingui:console-common module.

📍 영향받는 시스템

Payara Server Full 4.x, 5.x, 6.x, 7.x, 7.2026.x, 6.2025.x, 6.2024.x (모든 플랫폼)

⚔️ 공격 벡터

공격자가 조작된 URL로 DownloadServlet의 SSRF를 유발해 관리자 토큰(gfresttoken)을 탈취한 뒤, 이를 재사용해 WAR 배포를 통한 원격 코드 실행을 수행

🛡️ 대응 방법

Payara Server를 취약점이 수정된 최신 패치 버전으로 업데이트하고, 관리 콘솔 접근을 신뢰된 네트워크로 제한

🔧 검증 코드

admingui 모듈 파일이 존재하면 Payara 관리 GUI가 설치된 상태이므로 버전을 확인하고 벤더의 패치 버전과 비교해야 하며, 결과가 없으면 해당 구성요소가 없는 것입니다.

Shell / Script
ls /opt/payara*/glassfish/modules/ 2>/dev/null | grep -i admingui || find / -name 'admingui*.jar' 2>/dev/null | head -5

💻 영향받는 소프트웨어

Log Server