Vulnerabilities > CVE-2020-8655 - Improper Privilege Management vulnerability in Eyesofnetwork 5.30
Attack vector
NETWORK Attack complexity
MEDIUM Privileges required
NONE Confidentiality impact
COMPLETE Integrity impact
COMPLETE Availability impact
COMPLETE Summary
An issue was discovered in EyesOfNetwork 5.3. The sudoers configuration is prone to a privilege escalation vulnerability, allowing the apache user to run arbitrary commands as root via a crafted NSE script for nmap 7.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 1 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Restful Privilege Elevation Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server.
Exploit-Db
id EDB-ID:48025 last seen 2020-02-07 modified 2020-02-07 published 2020-02-07 reporter Exploit-DB source https://www.exploit-db.com/download/48025 title EyesOfNetwork 5.3 - Remote Code Execution id EDB-ID:48169 last seen 2020-03-05 modified 2020-03-05 published 2020-03-05 reporter Exploit-DB source https://www.exploit-db.com/download/48169 title EyesOfNetwork - AutoDiscovery Target Command Execution (Metasploit)
Metasploit
description | This module exploits multiple vulnerabilities in EyesOfNetwork version 5.1, 5.2 and 5.3 in order to execute arbitrary commands as root. This module takes advantage of a command injection vulnerability in the `target` parameter of the AutoDiscovery functionality within the EON web interface in order to write an Nmap NSE script containing the payload to disk. It then starts an Nmap scan to activate the payload. This results in privilege escalation because the`apache` user can execute Nmap as root. Valid credentials for a user with administrative privileges are required. However, this module can bypass authentication via various methods, depending on the EON version. EON 5.3 is vulnerable to a hardcoded API key and two SQL injection exploits. EON 5.1 and 5.2 can only be exploited via SQL injection. This module has been successfully tested on EyesOfNetwork 5.1, 5.2 and 5.3. |
id | MSF:EXPLOIT/LINUX/HTTP/EYESOFNETWORK_AUTODISCOVERY_RCE |
last seen | 2020-06-14 |
modified | 2020-05-21 |
published | 2020-02-19 |
references |
|
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/linux/http/eyesofnetwork_autodiscovery_rce.rb |
title | EyesOfNetwork 5.1-5.3 AutoDiscovery Target Command Execution |
Packetstorm
data source https://packetstormsecurity.com/files/download/156266/eyesofnetwork53-exec.txt id PACKETSTORM:156266 last seen 2020-02-11 published 2020-02-08 reporter Clement Billac source https://packetstormsecurity.com/files/156266/EyesOfNetwork-5.3-Remote-Code-Execution.html title EyesOfNetwork 5.3 Remote Code Execution data source https://packetstormsecurity.com/files/download/156605/eyesofnetwork_autodiscovery_rce.rb.txt id PACKETSTORM:156605 last seen 2020-03-05 published 2020-03-03 reporter Brendan Coles source https://packetstormsecurity.com/files/156605/EyesOfNetwork-AutoDiscovery-Target-Command-Execution.html title EyesOfNetwork AutoDiscovery Target Command Execution