IM
IronMonkey Threat Research

CVE-2024-5742 MEDIUM

Published: 2024-06-12 | Last Modified: 2024-11-21 | Status: Modified

Description

A vulnerability was found in GNU Nano that allows a possible privilege escalation through an insecure temporary file. If Nano is killed while editing, a file it saves to an emergency file with the permissions of the running user provides a window of opportunity for attackers to escalate privileges through a malicious symlink.

Additional Descriptions (1)

Se encontró una vulnerabilidad en GNU Nano que permite una posible escalada de privilegios a través de un archivo temporal inseguro. Si Nano muere mientras edita, un archivo que guarda en un archivo de emergencia con los permisos del usuario que lo ejecuta brinda una ventana de oportunidad para que los atacantes aumenten los privilegios a través de un enlace simbólico malicioso.

CVSS Metrics

Base Score: 6.7 (MEDIUM)

CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Attack VectorLOCAL
Attack ComplexityHIGH
Privileges RequiredLOW
User InteractionREQUIRED
ScopeUNCHANGED
Confidentiality ImpactHIGH
Integrity ImpactHIGH
Availability ImpactHIGH

Source: [email protected]

Type: Secondary

Exploitability Score: 0.8

Impact Score: 5.9

Weaknesses

Source Type Description
[email protected] Secondary
en CWE-59
[email protected] Secondary
en CWE-59

Affected Products

Vendor Product Version Update Type
gnu nano * <built-in method update of dict object at 0x7fd36b154bc0> Application
redhat enterprise_linux 6.0 <built-in method update of dict object at 0x7fd39c4a4700> Operating System
redhat enterprise_linux 7.0 <built-in method update of dict object at 0x7fd3844a02c0> Operating System
redhat enterprise_linux 8.0 <built-in method update of dict object at 0x7fd2dbcabf00> Operating System
redhat enterprise_linux 9.0 <built-in method update of dict object at 0x7fd36b157480> Operating System

Affected Configurations

Operator: OR

Vulnerable CPE
Yes cpe:2.3:a:gnu:nano:*:*:*:*:*:*:*:*

Operator: OR

Vulnerable CPE
Yes cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
Yes cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
Yes cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
Yes cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*