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.16898
    epss-percentile: 0.96739
    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,vuln

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: 490a00463044022011e45c89f8f944cb4445fa55b30b7f4fd9292847063037ab71f805a07995f6e202203e4989fd3dd3f76b55a96fe7fbf01d1f43d64f1f977a349b4fee292120a6c794:922c64590222798bb761d5b6d8e72950