Skip to content

CVE-2025-57853 Web-terminal: privilege escalation via excessive /etc/passwd permissions

MediumCVSS 6.4 EPSS 0.16%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
Red Hat

Description

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.

Upgrade path

3 packages: 0 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
redhat web terminal All versions No fix listed No fix yet
redhat webterminal All versions No fix listed No fix yet
redhat/web-terminal/web-terminal-tooling-rhel9(Red Hat webterminal 1) All versions No fix listed No fix yet

Affected products

ProductAffected versionsFixed in
redhat webterminal All versions No fix listed
redhat/web-terminal/web-terminal-tooling-rhel9(Red Hat:webterminal:1) All versions No fix listed
redhat web terminal All versions No fix listed

References