|
EH-Net
|
|
May 22, 2013, 07:44:24 AM
|
|
617
|
Ethical Hacking Discussions and Related Certifications / Web Applications / HTTP header: PUT, DELETE, etc
|
on: August 19, 2010, 07:37:02 AM
|
Hi, When I use Nikto or Nessus to scan a web server, I often get messages like this: + OSVDB-0: Allowed HTTP Methods: OPTIONS, TRACE, GET, HEAD, DELETE, PUT, POST, COPY, MOVE, MKCOL, PROPFIND, PROPPATCH, LOCK, UNLOCK, SEARCH + OSVDB-5646: HTTP method ('Allow' Header): 'DELETE' may allow clients to remove files on the web server. + OSVDB-397: HTTP method ('Allow' Header): 'PUT' method could allow clients to save files on the web server. + OSVDB-5647: HTTP method ('Allow' Header): 'MOVE' may allow clients to change file locations on the web server. + OSVDB-0: HTTP method ('Allow' Header): 'PROPFIND' may indicate DAV/WebDAV is installed. This may be used to get directory listings if indexing is allow but a default page exists. + OSVDB-0: HTTP method ('Allow' Header): 'PROPPATCH' indicates WebDAV is installed. + OSVDB-425: HTTP method ('Allow' Header): 'SEARCH' indicates DAV/WebDAV is installed, and may be used to get directory listings if Index Server is running. + OSVDB-0: Public HTTP Methods: OPTIONS, TRACE, GET, HEAD, DELETE, PUT, POST, COPY, MOVE, MKCOL, PROPFIND, PROPPATCH, LOCK, UNLOCK, SEARCH + OSVDB-5646: HTTP method ('Public' Header): 'DELETE' may allow clients to remove files on the web server. + OSVDB-397: HTTP method ('Public' Header): 'PUT' method could allow clients to save files on the web server. + OSVDB-5647: HTTP method ('Public' Header): 'MOVE' may allow clients to change file locations on the web server. + OSVDB-0: HTTP method ('Public' Header): 'PROPFIND' may indicate DAV/WebDAV is installed. This may be used to get directory listings if indexing is allow but a default page exists. + OSVDB-0: HTTP method ('Public' Header): 'PROPPATCH' indicates WebDAV is installed. + OSVDB-425: HTTP method ('Public' Header): 'SEARCH' indicates DAV/WebDAV is installed, and may be used to get directory listings if Index Server is running.
How can I compromise a server using one of these headers? Can I use the PUT header method to upload a file on the server? Couldn't find anything interesting on Google...
|
|
|
|
|
618
|
Resources / News from the Outside World / Re: Probation? Are you kidding?
|
on: August 17, 2010, 07:54:45 PM
|
But the way he was stealing was very interesting. Imagine if he would have used proxies to connect to BestBuy, etc... The 22-year-old ran the racket at Abercrombie & Fitch, American Eagle, Apple, Best Buy, Fred Meyer Macy's and Spencer Gifts. All these stores and only $6000? I doubt about it...
|
|
|
|
|
622
|
Ethical Hacking Discussions and Related Certifications / Network Pen Testing / Re: Banner grabbing with netcat
|
on: August 17, 2010, 05:32:01 AM
|
|
Thanks for the hints. I heard about AMAP but I never used it. Last release is January 2006, so is it too old to detect recent services?!?
My goal wasn't so much about ruling out false positive. I was more looking at an easy way to look at one or to ports on a machine. My question really was "what to do" when you see a strange port open. The answer seems to be:
1) Start a network sniffer 2) Connect to the service with telnet/netcat and see what happen 3) Launch some tools like nmap scripts or AMAP
There is not much else we can do.
|
|
|
|
|
625
|
Ethical Hacking Discussions and Related Certifications / Network Pen Testing / Banner grabbing with netcat
|
on: August 16, 2010, 08:55:20 AM
|
Hey, I am currently using netcat (but it could be telnet, sbd, etc) to do some banner grabbing. So far, I only find example for HTTP and FTP servers... But what about other services? I poked around and found some more ways of getting information with netcat: HTTPnc -v 192.168.1.10 80 HEAD / HTTP/1.0 [ENTER] [ENTER]
- or -
GET HTTP
FTPnc -v 192.168.1.59 21 SSHnc -v 192.168.1.59 22 MS-SQLServernc -v 192.168.1.59 1433 MySQLnc -v 192.168.1.59 3306 And etc! So my questions really is: Yes, you can use netcat to connect to every single port and get the banner of well known services. But what about other TCP ports with no obvious response without the proper prompt (like a web server)? We need to provide the service with some precise query parameters. So do you guys know about other data that could be send to a TCP port that doesn't an obvious reply? I hope you guys understand my question... 
|
|
|
|
|
Loading...
|