Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
ataro
New Contributor II

Fortigate Vulnerability - Backup Files Disclosure

I have Fortigate firewall 80F in production with latest firmware. We executed vulnerability scan on this firewall and found the following vulnerability.

 

Backup Files Disclosure

Description
By appending various suffixes (ie: .old, .bak, ~, etc...) to the names of various files on the remote host, it seems possible to retrieve their contents, which may result in disclosure of sensitive information.
Solution
Ensure the files do not contain any sensitive information, such as credentials to connect to a database, and delete or protect those files that should not be accessible.

 

It is possible to read the following backup file :

- File : /.htaccess~
URL : https://x.x.x.y/.htaccess~

 

I am unable to get any page if I access the URL: https://x.x.x.y/.htaccess~

 

Please advise.

1 REPLY 1
Yurisk
SuperUser
SuperUser

Strange, the only file-based access I am aware of is sys_config which indeed allows to download the whole configuration, but via SCP.  I am getting error 404 on trying https to such URL. 

 

Yuri https://yurisk.info/  blog: All things Fortinet, no ads.
Yuri https://yurisk.info/ blog: All things Fortinet, no ads.
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors