Sinisterly
[LFI] Challenge [MEDIUM] - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Hacking (https://sinister.ly/Forum-Hacking)
+--- Forum: Website & Server Hacking (https://sinister.ly/Forum-Website-Server-Hacking)
+--- Thread: [LFI] Challenge [MEDIUM] (/Thread-LFI-Challenge-MEDIUM)

Pages: 1 2


[LFI] Challenge [MEDIUM] - Charon - 03-05-2013

Hey, I came along this site vulnerable to an LFI injection, and thought it'd be fun to put it up as a challenge.

Website: http://www.tudodebomdf.com.br/

You have to find the vulnerability yourself and try to spawn a shell or try to get the MySQL database info somehow!

Good luck. :blackhat:


Solvers:

1. Prestige
2. Dyme
3. האקר
4. Workaholics
5. Cyber Caliph


RE: [LFI] Challenge [EASY/MEDIUM] - BreShiE - 03-05-2013

Here's my proof:

[Image: XcXdqMk.jpg]


RE: [LFI] Challenge [EASY/MEDIUM] - Charon - 03-05-2013

(03-05-2013, 11:12 PM)BreShiE Wrote: Here's my proof:

[Image: XcXdqMk.jpg]

The goal was to spawn a shell or get the MySQL database info. I'll wait until you get it. :blackhat:


RE: [LFI] Challenge [EASY/MEDIUM] - JackDaniels - 03-06-2013

Here is how far I got. Got the error log.
That's not even 1/10 but can't post everything. Now a night snack and I will attempt some more.

Code:
17:45:43 2013] [error] [client 187.86.27.130] SecurityException in Application.cpp:188: Do not have root privileges. Executable not set-uid root? [Sat Feb 23 17:45:43 2013] [error] [client 187.86.27.130] Premature end of script headers: index.php [Sat Feb 23 17:45:43 2013] [error] [client 187.86.27.130] File does not exist: /home/rgaidc/public_html/CENTRAL/500.shtml [Sat Feb 23 17:45:46 2013] [error] [client 187.86.27.130] SecurityException in Application.cpp:188: Do not have root privileges. Executable not set-uid root? [Sat Feb 23 17:45:46 2013] [error] [client 187.86.27.130] Premature end of script headers: index.php [Sat Feb 23 17:45:46 2013] [error] [client 187.86.27.130] File does not exist: /home/rgaidc/public_html/CENTRAL/500.shtml [Sat Feb 23 17:45:54 2013] [error] [client 187.40.93.200] SecurityException in Application.cpp:188: Do not have root privileges. Executable not set-uid root?, referer: http://autosurf10.com/surfbar.php?PHPSESSID=ecfeb09616fea81912afcee530a14fac&vc_val=c4e3cafd656f79a4627a44db31eff52d [Sat Feb 23 17:45:54 2013] [error] [client 187.40.93.200] Premature end of script headers: index.php, referer: http://autosurf10.com/surfbar.php?PHPSESSID=ecfeb09616fea81912afcee530a14fac&vc_val=c4e3cafd656f79a4627a44db31eff52d [Sat Feb 23 17:45:54 2013] [error] [client 187.40.93.200] File does not exist: /home/sexprime/public_html/granafacil.net/500.shtml, referer: http://autosurf10.com/surfbar.php?PHPSESSID=ecfeb09616fea81912afcee530a14fac&vc_val=c4e3cafd656f79a4627a44db31eff52d [Sat Feb 23 17:46:31 2013] [error] [client 65.36.241.77] SecurityException in Application.cpp:188: Do not have root privileges. Executable not set-uid root? [Sat Feb 23 17:46:31 2013] [error] [client 65.36.241.77] Premature end of script headers: index.php [Sat Feb 23 17:46:31 2013] [error] [client 65.36.241.77] File does not exist: /home/redemogi/public_html/500.shtml [Sat Feb 23 17:46:35 2013] [error] [client 187.79.72.184] client denied by server configuration: /home/pwunixco/public_html/.htaccess, referer: http://inprivit.blogspot.com.br/ [Sat Feb 23 17:46:35 2013] [error] [client 187.79.72.184] File does not exist: /home/pwunixco/public_html/favicon.ico [Sat Feb 23 17:46:35 2013] [error] [client 187.79.72.184] File does not exist: /home/pwunixco/public_html/404.shtml [Sat Feb 23 17:46:40 2013] [error] [client 187.86.27.130] SecurityException in Application.cpp:188: Do not have root privileges. Executable not set-uid root? [Sat Feb 23 17:46:40 2013] [error] [client 187.86.27.130] Premature end of script headers: index.php [Sat Feb 23 17:46:40 2013] [error] [client 187.86.27.130] File does not exist: /home/rgaidc/public_html/CENTRAL/500.shtml [Sat Feb 23 17:46:42 2013] [error] [client 212.95.58.204] SecurityException in Application.cpp:188: Do not have root privileges. Executable not set-uid root?, referer: http://xatopos.0fees.net/?br/info/www.tdbhost.com.br [Sat Feb 23 17:46:42 2013] [error] [client 212.95.58.204] Premature end of script headers: index.php, referer: http://xatopos.0fees.net/?br/info/www.tdbhost.com.br [Sat Feb 23 17:46:42 2013] [error] [client 212.95.58.204] File does not exist: /home/tdbhostc/public_html/500.shtml, referer: http://xatopos.0fees.net/?br/info/www.tdbhost.com.br [Sat Feb 23 17:46:42 2013] [error] [client 66.249.73.18] SecurityException in Application.cpp:188: Do not have root privileges. Executable not set-uid root? [Sat Feb 23 17:46:42 2013] [error] [client 66.249.73.18] Premature end of script headers: index.php [Sat Feb 23 17:46:42 2013] [error] [client 66.249.73.18] File does not exist: /home/tdbhostc/public_html/500.shtml [Sat Feb 23 17:46:52 2013] [error] [client 177.83.97.136] SecurityException in Application.cpp:188: Do not have root privileges. Executable not set-uid root? [Sat Feb 23 17:46:52 2013] [error] [client 177.83.97.136] Premature end of script headers: index.php [Sat Feb 23 17:46:52 2013] [error] [client 177.83.97.136] File does not exist: /home/rgaidc/public_html/500.shtml [Sat Feb 23 17:46:53 2013] [error] [client 177.83.97.136] File does not exist: /home/rgaidc/public_html/favicon.ico [Sat Feb 23 17:46:53 2013] [error] [client 177.83.97.136] File does not exist: /home/rgaidc/public_html/404.shtml [Sat Feb 23 17:46:54 2013] [error] [client 177.83.97.136] SecurityException in Application.cpp:188: Do not have root privileges. Executable not set-uid root? [Sat Feb 23 17:46:54 2013] [error] [client 177.83.97.136] Premature end of script headers: index.php [Sat Feb 23 17:46:54 2013] [error] [client 177.83.97.136] File does not exist: /home/rgaidc/public_html/500.shtml [Sat Feb 23 17:46:55 2013] [error] [client 177.83.97.136] File does not exist: /home/rgaidc/public_html/favicon.ico [Sat Feb 23 17:46:55 2013] [error] [client 177.83.97.136] File does not exist: /home/rgaidc/public_html/404.shtml [Sat Feb 23 17:46:55 2013] [error] [client 177.83.97.136] SecurityException in Application.cpp:188: Do not have root privileges. Executable not set-uid root? [Sat Feb 23 17:46:55 2013] [error] [client 177.83.97.136] Premature end of script headers: index.php [Sat Feb 23 17:46:55 2013] [error] [client 177.83.97.136] File does not exist: /home/rgaidc/public_html/500.shtml [Sat Feb 23 17:46:55 2013] [error] [client 177.83.97.136] File does not exist: /home/rgaidc/public_html/favicon.ico [Sat Feb 23 17:46:55 2013] [error] [client 177.83.97.136] File does not exist: /home/rgaidc/public_html/404.shtml [Sat Feb 23 17:46:55 2013] [error] [client 177.83.97.136] SecurityException in Application.cpp:188: Do not have root privileges. Executable not set-uid root? [Sat Feb 23 17:46:55 2013] [error] [client 177.83.97.136] Premature end of script headers: index.php [Sat Feb 23 17:46:55 2013] [error] [client 177.83.97.136] File does not exist: /home/rgaidc/public_html/500.shtml [Sat Feb 23 17:46:56 2013] [error] [client 177.83.97.136] File does not exist: /home/rgaidc/public_html/favicon.ico [Sat Feb 23 17:46:56 2013] [error] [client 177.83.97.136] File does not exist: /home/rgaidc/public_html/404.shtml [Sat Feb 23 17:46:56 2013] [error] [client 177.83.97.136]



RE: [LFI] Challenge [EASY/MEDIUM] - Charon - 03-06-2013

No one have succeeded yet, come on guys! Think out of the box. Smile


RE: [LFI] Challenge [MEDIUM] - Prestige - 03-06-2013

I solved it finally:
Spoiler:
[Image: 2dcA3]



RE: [LFI] Challenge [MEDIUM] - Charon - 03-06-2013

(03-06-2013, 09:55 PM)Prestige Wrote: I solved it finally:
Spoiler:
[Image: 2dcA3]

Congratulations, you're the first one that has solved this challange!


RE: [LFI] Challenge [MEDIUM] - Prestige - 03-07-2013

come on guys try it's not that hard


RE: [LFI] Challenge [MEDIUM] - Dyme - 03-08-2013

Loling at skads who can't get this. A monkey with a tutorial could figure this out.

Spoiler:
[Image: Km9NuZd.png]



RE: [LFI] Challenge [MEDIUM] - BreShiE - 03-09-2013

Pretty easy shit.

[Image: CXiVHFJ.png]

I deleted the code at the bottom, just to make it look better in the notepad.