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.1532
    epss-percentile: 0.94722
    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: 490a0046304402203f3b6e37ca970a60f731656eb0e85eea7c11f40738a637f351044a89704abee10220074ab8a7f88a1c11c66f4c929183b63e47705888b4a0b8871628e2cfa99594ab:922c64590222798bb761d5b6d8e72950