Skip to main content

Red Hat Web Terminal EUVDEUVD-2025-209302

| CVE-2025-57853 MEDIUM
Incorrect Default Permissions (CWE-276)
2026-04-08 redhat
6.4
CVSS 3.1 · Vendor: redhat
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V13 - Configuration Default permission hardening
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

The CVSS 6.4 score reflects the narrow attack preconditions: local access (AV:L), high complexity (AC:H), and high privileges required (PR:H). However, these constraints are somewhat misleading in a container context. The PR:H indicates the attacker must already be a high-privilege user (root group member), but in shared or multi-tenant container environments, non-root container processes are commonplace and may indeed possess root group membership through POSIX group assignments. The AC:H (high complexity) suggests exploitation requires unusual conditions, but modification of /etc/passwd via group membership is straightforward once those preconditions exist. The EPSS score is not provided in the input, limiting probability assessment. CISA KEV status is not confirmed, and no public proof-of-concept is reported, indicating this is not yet confirmed as actively exploited or widely weaponized. The real-world risk depends heavily on deployment context: container environments with multi-user access, CI/CD pipelines, or shared container images face higher risk. In single-user or well-isolated container scenarios, risk is lower. The vulnerability is primarily relevant to container security postures rather than traditional host-based security.

Exploit ScenarioDerived

A non-root application process running within a Red Hat Web Terminal container that is a member of the root group (GID 0) could execute a simple command sequence to append a new root-privileged user entry to /etc/passwd. For example, using 'echo hacker:x:0:0::/root:/bin/sh >> /etc/passwd' followed by 'su hacker' would grant the attacker root shell access within the container, enabling complete compromise of the containerized application and access to any secrets or data mounted therein. No public exploit code is currently known, but the attack is trivial to execute once the group membership prerequisite is met.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 08, 2026

Container privilege escalation in Red Hat Web Terminal allows local attackers with group membership to modify the /etc/passwd file and create arbitrary user accounts including root. The vulnerability stems from overly permissive group-writable permissions on /etc/passwd during image build, enabling privilege escalation from non-root container users to full root access within the container. Red Hat Web Terminal across multiple versions is affected; no public exploit code or active exploitation has been reported at the time of analysis.

RemediationAI

The primary remediation is to apply a patched version of Red Hat Web Terminal that corrects the /etc/passwd file permissions during the build process. Exact patched version numbers are not specified in the available advisory data; consult the Red Hat Security Advisory at https://access.redhat.com/security/cve/CVE-2025-57853 for the specific patch release. As an interim mitigation, system administrators should ensure that /etc/passwd within Web Terminal container images is created with restrictive permissions (typically 0644 or 0444) and verify that no non-root user accounts or group memberships unnecessarily grant write access to critical system files. Container image builds should include explicit permission corrections in Dockerfile RUN directives (e.g., 'chmod 0644 /etc/passwd') to override any inherited or default permissions. Review container user and group configuration to limit group memberships to necessary accounts only.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability is rooted in CWE-276 (Incorrect Default Permissions), a widespread class of flaws involving insufficiently restrictive file permissions during software creation or deployment. The Web Terminal container image is built with /etc/passwd configured as group-writable, typically having permissions like 0664 or broader. Container users who are members of the root group (GID 0) can therefore write directly to this critical system file without elevated privileges. By appending lines to /etc/passwd in the format 'username:x:UID:GID:gecos:home:shell', an attacker can register new user identities with the system, including UID 0 (root). The Linux user namespace and container runtime treat /etc/passwd as the source of truth for user identity mapping; writing a UID 0 entry allows the attacker to become root within the container namespace. This attack does not escape the container boundary but grants complete control within it. The affected CPE is cpe:2.3:a:red_hat:red_hat_web_terminal:*:*:*:*:*:*:*:*, indicating all versions of Red Hat Web Terminal are potentially affected.

Know when Red Hat Web Terminal gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 6.4 MEDIUM
AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Red Hat 6.4 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Local
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

A container privilege escalation flaw was found in certain Web Terminal images. This issue stems from the /etc/passwd file being created with group-writable permissions during build time. In certain conditions, an attacker who can execute commands within an affected container, even as a non-root user, can leverage their membership in the root group to modify the /etc/passwd file. This could allow the attacker to add a new user with any arbitrary UID, including UID 0, leading to full root privileges within the container.

Threat Intelligence Overview

EPSS Score
0.0%
Top 100% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

Affected Products (CPE)CVE.org

cpe:2.3:a:red_hat:red_hat_web_terminal:*:*:*:*:*:*:*:*

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy