CVE-2026-53573:
Java 취약성 분석 및 완화
개요
CVE-2026-53573 is an Open Redirect vulnerability (CWE-601) in GeoNetwork, an open-source catalog application for managing spatially referenced resources. The flaw exists in the post-login redirect handling of GeonetworkOAuth2LoginAuthenticationFilter and KeycloakAuthenticationProcessingFilter, where insufficient validation of the redirectUrl parameter allows an attacker-controlled external redirect after a successful login. Affected versions span from 3.12.0 through 3.12.12, 4.0.0-alpha.1 through 4.0.6, 4.2.0 through 4.2.15, and 4.4.0 through 4.4.10. The vulnerability was published on July 31, 2026, with a CVSS v4.0 base score of 4.8 (Medium) (GitHub Advisory).
기술적 세부 사항
The root cause (CWE-601) lies in both GeonetworkOAuth2LoginAuthenticationFilter and KeycloakAuthenticationProcessingFilter using URI.isAbsolute() as the sole check to validate the client-supplied redirectUrl query parameter after login. This check fails to reject protocol-relative URLs (e.g., //evil.example.com) and other non-absolute URI forms that browsers still resolve as external hosts, allowing the validation to be bypassed. The fix introduced a centralized RedirectUtil helper class that enforces strict server-local relative path validation — requiring a single leading /, rejecting // and /\ prefixes, and verifying the URI carries no scheme, host, or authority component (GitHub Advisory, PR #9307). Exploitation requires active user interaction (the victim must click a crafted login link) and low privileges on the attacker's side (GitHub Advisory).
영향
Successful exploitation allows an attacker to redirect a victim to an arbitrary external site immediately after completing a legitimate GeoNetwork OAuth2/OIDC or Keycloak login flow. This can be leveraged for phishing attacks — for example, presenting a fake login page to harvest credentials — or to chain into other externally hosted attacks. The vulnerability does not bypass authentication, expose GeoNetwork data directly, or affect confidentiality or availability of the GeoNetwork instance itself (GitHub Advisory).
착취 단계
- Identify target: Locate a GeoNetwork instance (versions 3.12.0–3.12.12, 4.0.0-alpha.1–4.0.6, 4.2.0–4.2.15, or 4.4.0–4.4.10) configured with OAuth2/OIDC or Keycloak SSO login.
- Craft malicious login URL: Construct a login URL targeting the OAuth2/OIDC or Keycloak login endpoint with a
redirectUrlparameter set to a protocol-relative or otherwise bypass-capable URL, e.g.:https://geonetwork.example.org/geonetwork/signin?redirectUrl=//attacker.example.com/fake-login - Deliver to victim: Send the crafted URL to the target user via phishing email, social engineering, or embedded link, leveraging the legitimacy of the GeoNetwork domain to build trust.
- Victim completes login: The victim authenticates normally through the OAuth2/OIDC or Keycloak flow on the legitimate GeoNetwork server.
- Redirect executes: Upon successful authentication, the vulnerable filter reads the
redirectUrlparameter, passes theURI.isAbsolute()check (since//attacker.example.comis not considered absolute by Java's URI parser), and issues a redirect to the attacker-controlled site. - Attacker objective achieved: The victim's browser lands on the attacker's site, where a fake login page or other malicious content can be presented to harvest credentials or deliver further payloads (GitHub Advisory, PR #9307).
타협의 징후
- Network: HTTP requests to GeoNetwork OAuth2/OIDC or Keycloak login endpoints containing a
redirectUrlquery parameter with values starting with//,/\, or an external hostname (e.g.,redirectUrl=//attacker.example.comorredirectUrl=https://external-site.com). - Logs: GeoNetwork application security logs (look for the
Geonet.SECURITYlog category) showing entries such as"Refused unsafe login redirect to '...'"— note these entries only appear in patched versions; their absence on unpatched systems does not confirm safety. Web/proxy access logs showing302redirects from GeoNetwork login endpoints to external domains immediately following successful authentication. - Network: Outbound HTTP redirects (302 responses) from the GeoNetwork server to domains not matching the configured
SYSTEM_SERVER_HOSTvalue, triggered immediately after a login completion event.
완화 및 해결 방법
Upgrade to GeoNetwork 4.2.16 or 4.4.11, which introduce a centralized RedirectUtil helper that strictly validates post-login redirect targets to server-local relative paths only, rejecting protocol-relative URLs and any external hosts (GitHub Advisory, Release 4.2.16, Release 4.4.11). GeoNetwork 3.x and 4.0.x are archived and will not receive patches; operators running those versions must migrate to a supported release. No configuration-based workaround is available — upgrading is the only remediation.
추가 자료
근원: 이 보고서는 AI를 사용하여 생성되었습니다.
관련 Java 취약점:
무료 취약성 평가
클라우드 보안 태세를 벤치마킹합니다
9개의 보안 도메인에서 클라우드 보안 관행을 평가하여 위험 수준을 벤치마킹하고 방어의 허점을 식별합니다.
추가 Wiz 리소스
맞춤형 데모 받기
맞춤형 데모 신청하기
"내가 본 최고의 사용자 경험은 클라우드 워크로드에 대한 완전한 가시성을 제공합니다."
"Wiz는 클라우드 환경에서 무슨 일이 일어나고 있는지 볼 수 있는 단일 창을 제공합니다."
"우리는 Wiz가 무언가를 중요한 것으로 식별하면 실제로 중요하다는 것을 알고 있습니다."