id: CVE-2018-7653 info: name: YzmCMS v3.6 - Cross-Site Scripting author: ritikchaddha severity: medium description: In YzmCMS 3.6, index.php has XSS via the a, c, or m parameter. impact: | Attackers can execute arbitrary JavaScript in victims' browsers, potentially stealing session cookies, credentials, or performing actions on behalf of authenticated users. remediation: | To mitigate this vulnerability, it is recommended to implement proper input validation and sanitization techniques to prevent the execution of malicious scripts. reference: - https://packetstormsecurity.com/files/147065/YzmCMS-3.6-Cross-Site-Scripting.html - https://nvd.nist.gov/vuln/detail/CVE-2018-7653 - https://github.com/ponyma233/YzmCMS/blob/master/YzmCMS_3.6_bug.md - https://github.com/anquanquantao/iwantacve - https://github.com/5ecurity/CVE-List 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-2018-7653 cwe-id: CWE-79 epss-score: 0.01096 epss-percentile: 0.78346 cpe: cpe:2.3:a:yzmcms:yzmcms:3.6:*:*:*:*:*:*:* metadata: max-request: 1 vendor: yzmcms product: yzmcms shodan-query: - title:"YzmCMS" - http.title:"yzmcms" fofa-query: - title="YzmCMS" - title="yzmcms" google-query: intitle:"yzmcms" tags: cve,cve2018,packetstorm,yzmcms,cms,xss,vuln http: - method: GET path: - '{{BaseURL}}/index.php?m=search&c=index&a=initxqb4ncu9rs&modelid=1&q=tes' matchers-condition: and matchers: - type: word part: body words: - '' - 'YzmCMS' condition: and case-insensitive: true - type: word part: header words: - text/html - type: status status: - 200 # digest: 4b0a00483046022100f99055126342a1443c673d920221059decc93f1a3f92a97f5a5720c8dca7f1ba022100a6ecdff79c3b57c4e70d79f00f48ed03762730a26ae760ef2d8c1589b1055ec1:922c64590222798bb761d5b6d8e72950