{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-12031 exists.","fix":"No fix has been published for CVE-2018-12031 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-12031 is a critical path traversal vulnerability in n/a, published on 7 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-12031 and fix it if it is affected.\n\nWhat it is: CVE-2018-12031 is a critical path traversal vulnerability in n/a, published on 7 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-12031 exists.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-12031/ (Markdown: https://insights.sbomify.com/CVE-2018-12031/index.md)","id":"CVE-2018-12031","markdown":"https://insights.sbomify.com/CVE-2018-12031/index.md","name":"CVE-2018-12031","record":{"aliases":["GHSA-2v4v-8555-8jp6"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Eaton Intelligent Power Manager","requires_auth":"none","summary":"An attacker can read arbitrary local files via directory traversal in the firmware download action of Eaton Intelligent Power Manager.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"intelligent_power_manager","vendor":"eaton"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2018-06-06","github_poc":1,"max_poc_stars":4,"metasploit":0,"nuclei":1,"refs":[{"date":"2018-06-06T15:31:29Z","kind":"github_poc","ref":"https://github.com/EmreOvunc/Eaton-Intelligent-Power-Manager-Local-File-Inclusion","stars":4,"title":"CVE-2018-12031 | LFI in Eaton Intelligent Power Manager  v1.6 allows an attacker to include a file, it can lead to sensitive information disclosure, denial of service and code execution."},{"date":null,"kind":"nuclei","ref":"http/cves/2018/CVE-2018-12031.yaml","stars":null,"title":"Eaton Intelligent Power Manager 1.6 - Directory Traversal"}],"tier":"weaponised"},"has_fix":null,"headline":"Path traversal in n/a","id":"CVE-2018-12031","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2018"},"n_packages":0,"n_references":1,"next":{"headline":"Memory corruption in n/a","id":"CVE-2018-12034"},"packages":[],"prev":{"headline":"Chevereto Free before 1.0.13 has XSS.","id":"CVE-2018-12030"},"products":["n/a"],"published":"2018-06-07","related":[{"cvss_score":10,"headline":"Remote Code execution","id":"CVE-2021-23281","kev_date_added":null,"published":"2021-04-13"},{"cvss_score":8.8,"headline":"Command injection via specially crafted file name during config file upload","id":"CVE-2020-6651","kev_date_added":null,"published":"2020-05-07"},{"cvss_score":8.7,"headline":"Arbitrary File delete","id":"CVE-2021-23278","kev_date_added":null,"published":"2021-04-13"},{"cvss_score":8.3,"headline":"Improper Neutralization of Directives in Dynamically Evaluated Code","id":"CVE-2021-23277","kev_date_added":null,"published":"2021-04-13"},{"cvss_score":8,"headline":"Arbitrary File delete","id":"CVE-2021-23279","kev_date_added":null,"published":"2021-04-13"},{"cvss_score":8,"headline":"Arbitrary File upload","id":"CVE-2021-23280","kev_date_added":null,"published":"2021-04-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["n/a"]},"summary":"An attacker can read arbitrary local files via directory traversal in the firmware download action of Eaton Intelligent Power Manager.","url":"https://insights.sbomify.com/CVE-2018-12031/"}