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.15782
    epss-percentile: 0.96447
    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: 490a00463044022017f4265f368cca257f4fc1b711ab7dade71892e6ffcc5243f1459d5a6ada158e0220697436d43794173aa90814dc571dee1b635f11c84e6903f900dd324aab2658c4:922c64590222798bb761d5b6d8e72950