BREACHSPIDER
CVE databaseVendorsIntelResearchFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2024-5742 in Gnu Nano and 1 more product

Medium 6.7 Industrial / OT

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.

Affects 2 products from 3 vendors. Description from NVD and MITRE.

CVSS 3.16.7
EPSS0.3%
EPSS percentile30th

Requires local access, high complexity, low privileges required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Gnu Nano ≥ 2.2.0, < 8.0
Redhat Enterprise Linux 6.0 7.0 8.0 9.0
Siemens — —
Phoenixcontact Axc F 1152 Firmware < 2025.0.2
Phoenixcontact Axc F 2152 Firmware < 2025.0.2
Phoenixcontact Axc F 3152 Firmware < 2025.0.2
Phoenixcontact Bpc 9102S Firmware < 2025.0.2
Phoenixcontact Rfc 4072S Firmware < 2025.0.2
Siemens S7-1500 Cpu Firmware ≥ 3.1.0, < 3.1.5
Siemens Simatic Cpu 1518F-4 Firmware ≥ 3.1.0, < 3.1.5
Siemens Simatic S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware ≥ 3.1.0, < 3.1.5
Siemens Simatic S7-1500 Cpu 1518-4 Pn Firmware ≥ 3.1.0, < 3.1.5
Siemens Simatic S7-1500 Cpu 1518F-4 Firmware ≥ 3.1.0, < 3.1.5
Siemens Simatic S7-1500 Cpu 1518F-4 Pn/Dp Mfp Firmware ≥ 3.1.0, < 3.1.5
Siemens Siplus S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware ≥ 3.1.0, < 3.1.5

Fix and vendor advisory

  • SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 more: Update to V3.1.5 or later version

Source: ICSA-23-348-10

  • Update to the latest 2025.0.2 Firmware Release. PHOENIX CONTACT recommends to always use an up-to-date version of the PLCnext Engineer.

Source: VDE-2025-053

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Record details

CVE IDCVE-2024-5742
BreachSpider IDBS-2024-GLOBAL-224185-M
CVSS vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Published2024-06-12
Last modified2026-11-25
Weakness (CWE)
SourceNVD

Check devices from your own code or AI agent: free 14-day trial

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-25.