cbcvebase.
CVE-2021-43062
published 2022-02-02

CVE-2021-43062: A improper neutralization of input during web page generation ('cross-site scripting') in Fortinet FortiMail version 7.0.1 and 7.0.0, version 6.4.5 and below…

PriorityP346medium6.1CVSS 3.1
AVNACLPRNUIRSCCLILAN
EXPLOIT
EPSS
12.94%
95.9th percentile
A improper neutralization of input during web page generation ('cross-site scripting') in Fortinet FortiMail version 7.0.1 and 7.0.0, version 6.4.5 and below, version 6.3.7 and below, version 6.0.11 and below allows attacker to execute unauthorized code or commands via crafted HTTP GET requests to the FortiGuard URI protection service.

Affected

7 ranges
VendorProductVersion rangeFixed in
fortinetfortiguard
fortinetfortimail
fortinetfortimail>= 6.2.0 < 6.2.86.2.8
fortinetfortimail>= 6.4.0 < 6.4.66.4.6
fortinetfortimail>= 7.0.0 < 7.0.27.0.2
fortinetfortinet
fortinetfortinet_fortimail

Detection & IOCsextracted from sources · hover to see the quote

urlhttps://mydomain.com/fmlurlsvc/?=&url=https%3A%2F%2Fgoogle.com%3CSvg%2Fonload%3Dalert(1)%3E
path/fmlurlsvc/?=&url=
otherhttps%3A%2F%google.com%3CSvg%2Fonload%3Dalert(1)%3E
  • Look for HTTP GET requests targeting the /fmlurlsvc/ endpoint with a crafted `url` parameter containing XSS payloads (e.g., SVG onload vectors).
  • Detect responses from /fmlurlsvc/ that reflect both a <script> tag and the string 'FortiMail Click Protection' in the HTML body with HTTP 200 status.
  • Use Google dork `inurl:/fmlurlsvc/` to identify exposed FortiMail instances vulnerable to this XSS.
  • Use FOFA queries `title="fortimail"` or `fortimail && port=443` to identify internet-exposed FortiMail instances.
  • ·The XSS is reflected and unauthenticated — no session or credentials are required to trigger the payload via the FortiGuard URI protection service endpoint.
  • ·Affected versions span multiple branches: FortiMail 7.0.1 and 7.0.0, 6.4.5 and below, 6.3.7 and below, and 6.0.11 and below — detection rules should not be scoped to a single version.

CVSS provenance

nvdv3.16.1MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.