FG-IR-23-328: Out-of-bounds Write in captive portal

Published Mar 12, 2024
·
Updated

An out-of-bounds write vulnerability [CWE-787] and a Stack-based Buffer Overflow [CWE-121] in FortiOS & FortiProxy captive portal may allow an inside attacker who has access to captive portal to execute arbitrary code or commands via specially crafted HTTP requests.

Workaround:

Set a non form-based authentication scheme:

config authentication schemeedit schemeset method methodnextend

Where <method> can be any of those :

ntlm NTLM authentication.basic Basic HTTP authentication.digest Digest HTTP authentication.negotiate Negotiate authentication.fsso Fortinet Single Sign-On (FSSO) authentication.rsso RADIUS Single Sign-On (RSSO) authentication.ssh-publickey Public key based SSH authentication.cert Client certificate authentication.saml SAML authentication

None of the enabled authentication schemes should be form-based.

Please note that only devices with captive portal enabled are affected.

Affected Software

12 affected componentsFixes available
Fortinet FortiOS
Fortinet FortiProxy
Fortinet FortiOS>=7.4.0<=7.4.1
Fortinet FortiOS>=7.2.0<=7.2.5
Fortinet FortiOS>=7.0.0<=7.0.12
Fortinet FortiOS>=6.4.0<=6.4.14
Fortinet FortiOS>=6.2.0<=6.2.15
Fortinet FortiProxy=.
Fortinet FortiProxy>=7.2.0<=7.2.6
Fortinet FortiProxy>=7.0.0<=7.0.12
Fortinet FortiProxy>=2.0.0<=2.0.13
Fortinet FortiSASE=3

Event History

Mar 12, 2024
Advisory Published
via FortiGuard·12:00 AM
Jan 24, 2025
Advisory Published
via FortiGuard·03:46 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of FG-IR-23-328?

FG-IR-23-328 has been classified as a critical vulnerability due to the potential for arbitrary code execution.

2

How do I fix FG-IR-23-328?

To fix FG-IR-23-328, update FortiOS or FortiProxy to the latest versions as specified in the advisory.

3

Who is affected by FG-IR-23-328?

FortiOS and FortiProxy users with versions vulnerable to FG-IR-23-328 are at risk.

4

What are the implications of FG-IR-23-328 if exploited?

If exploited, FG-IR-23-328 could allow an attacker to execute arbitrary commands on the affected devices.

5

Is there a workaround for FG-IR-23-328?

Currently, there is no specific workaround mentioned for FG-IR-23-328; updating to a patched version is advised.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203