As of 2020/09/01, all versions of Bagisto appear to leak database and email server credentials in the document root.
74b9f3889f450e046f3f29aa9d6575b5877a84afc22c532d82f65985d7a9c34c
Vendor:
Bagisto (https://bagisto.com/)
Affected version:
All
Introduction:
Bagisto is an open source shop system based on PHP and Laravel framework
Vulnerability description:
Bagisto can be installed in sub-directories below the document root exposing the Laravel .env file which includes database and e-mail server credentials.
Proof:
There have been observed installations in the wild exposing the .env file like https://klingbakeshop.com/public/ (https://klingbakeshop.com/public/)
Solution:
The "public" directory must be configured as document root of the web server
Sent with PrivateMail