Summery
Gibbon v25.0.0 is vulnerable to a Local File Inclusion (LFI) vulnerability where it’s possible to include the content of several files present in the installation folder in the server’s response.
Affected versions
Gibbon v25.0.0
Exploit
http://frizzdc.frizz.htb/Gibbon-LMS/?q=./vendor/composer/installed.json - Used to check if I can read some file
I added also a second repo which hosts a program that will enumerate the whole database structure and put it into an .sql file.
References
Git repository - Basic exploit
Git repository - Database enumeration