FortiLogger Unauthenticated Arbitrary File Upload

By
Febna V M
Published on
16 Jun 2021

Fortilogger is a web-based logging and reporting application for Fortigate Firewalls that runs on Windows. FortiLogger is vulnerable to Arbitrary File Upload. This occurs when a “Content-Type: image/png’’ header is sent to Config/SaveUploadedHotspotLogoFile and then visiting Assets/temp/hotspot/img/logohotspot.asp. As validation of file extensions are not properly managed, an attacker can easily upload a malicious file under ‘Hotspot Settings’. The specially tailored request can be sent by the attacker for remote code execution.

Mitigation / Precaution

  • In order to patch this vulnerability, please install the official patch made by the vendor available for supported, vulnerable instances.
  • Provide proper validation for file extensions.
Automated human-like penetration testing for your web apps & APIs
Teams using Beagle Security are set up in minutes, embrace release-based CI/CD security testing and save up to 65% with timely remediation of vulnerabilities. Sign up for a free account to see what it can do for you.

Written by
Febna V M
Febna V M
Cyber Security Engineer
Find website security issues in a flash
Improve your website's security posture with proactive vulnerability detection.
Free website security assessment
Experience the power of automated penetration testing & contextual reporting.