|
EH-Net
|
|
May 25, 2013, 09:28:39 PM
|
Show Posts
|
|
Pages: 1 [2] 3 4 5
|
|
16
|
Ethical Hacking Discussions and Related Certifications / Web Applications / Some questions on php configuration leaks & future of web security/hacking
|
on: September 03, 2011, 05:50:31 AM
|
First let me post my question on php configuration leaks I am learner in web-application hacking , I have seen some sites leaking their php configurations,i had seen like this http://www.target1.com/phpinfo.php http://www.target1.com/php.ini http://www.target1.com//htacess.txt
I just find these sites via google dorks,also the web-server is a shared web-server,the configuration leaks via one web-site poses danger to all the sites(almost 170 web-sites in them) It made me think like this, 1.1)By leaking these sensitive php configurations what kind of dangers will be faced the web-server ? 1.2)do you rate this as a major bug or minor bug ? 1.3)Also by having these sensitive configurations it it possible for a attacker to gain a shell on the web-server? 1.4)I have read that most of the security configurations has been placed in this .htacess file,is it possible for the attacker to attack/modify the .htacess configuration? 1.5)what are the possible attacks can be done on a .htacess file? ____________________________________________________________________ 2) I have been started to thinking about the future of the web-application hacking,because after seeing some things it made me think like this, I am just a beginner in these web-Application security/hacking,i had started to read many many types of web-application attacks and all especially from the owasp site and some other sites, And i checked the sites like 1337day and exploit-db and some other exploit sites for those vulnerabilities, say http response splitting last exploit has been published before 1 year, say RFI/LFI bugs last exploit has been published before 3-4 months, seems RFI/LFI is dying fast,i think it would disappear soon, what types of exploits we are actively seeing is xss,sqli,file upload bugs,RCE,command injection,CSRF and few others. Also i started to hear that the same will happen to sqli and xss in a very few years, Nowadays it seems the standard of making web-application/web-development is becoming higher and they are making hackers job tougher, 2.1)what you guys feel about this? 2.2)do you think xss and sqli will die or will become an uncommon type(i.e like xst attack of today) of exploit in the few years ? 2.3)do you think any new breed of attacks will born in the coming future? 2.4)And as a beginner in web-app hacking/security this really started to worrying me,how can i prepare my-self so that i can over come these challenges in my future in order to have a good and successfull carrier web-Application security/hacking ?
|
|
|
|
|
17
|
Ethical Hacking Discussions and Related Certifications / Web Applications / Re: help needed in retrieving the uploaded shell
|
on: September 03, 2011, 05:24:04 AM
|
If the application is renaming what you upload to <random number>.jpg, the web server isn't going to execute that as a .jsp file.
Also, Metasploit has a module for working with those unsafe HTTP methods: http://www.metasploit.com/modules/auxiliary/scanner/http/writable
Thanks "dynamik" i got your point,so even if we upload the file like evil.jsp.%%.jpg,it wont get executed as jsp file,so there is no point of bypassing the filters it seems.
|
|
|
|
|
18
|
Ethical Hacking Discussions and Related Certifications / Network Pen Testing / Re: How does reverse ip domain check up tool works?
|
on: August 30, 2011, 09:32:23 PM
|
If that's a specific tool name, I haven't used it. I'm assuming, however, that it does reverse lookups against DNS name servers, to get all hosts resolving to the given IP, or IP's in the address range of the host.
i have been talking about this tool "hayabusa" http://www.yougetsignal.com/tools/web-sites-on-web-server/
I often run python and bash scripts to do the same, querying name servers for a given domain, then reverse-resolving the IP's for their assigned blocks, against the name servers. (So yes to #1, you could do it, for yourself, without a pre-canned tool / manually)
i would like to see such scripts/code,do you have any publicly available scripts,got any ? #2 - sure you can trust it. Worst case, they're webservers. Once you get their hostnames, visit them, to confirm.
#3 - again, reverse name resolution from the name servers
we have been speaking about reverse dns look-up and all for findind them,but they had mentioned like this Data is gathered from search engine results, which are not guaranteed to be complete.
That is why i had asked about the accuracy of the results  I think they are doing a simple thing in a very complex manner,may be there should be some reasons... It's one of the MANY things you MIGHT do, during OSCP study (as well as in live pentesting...)
Thanks for the hint  There will of course, in most cases even be a reverse DNS record (PTR, which means Pointer most likely), which uses the IP-address and points to a hostname.
Read up on what x.x.x.x.in-addr.arpa addresses are Wink (Pretty much not the direct answer you were looking for, but valuable information.)
yes maxe ,it is not the direct answer i am looking for, may be i should digg this a lot deeper...  between if you got any simple public scripts for this ,pass here 
|
|
|
|
|
19
|
Ethical Hacking Discussions and Related Certifications / Network Pen Testing / How does reverse ip domain check up tool works?
|
on: August 30, 2011, 11:51:24 AM
|
I am sure most of the pen-testers here has used this tool "reverse ip domain check-up" (i.e when we enter the ip address or one of the web-sites name,it displays the name of all the web-sites hosted in it the ip address) I have been trying to understand the working logic behind this, but unfortunately i couldn't find it. i just want to know the working logic of this tool.. As usual i have got some questions regarding this: 1)Is it possible for us to determine the number of web-sites running on a web-server manually?if yes how ? 2) To which level we can trust these information? 3)how does this thing work? hope i will know the working logic soon 
|
|
|
|
|
20
|
Ethical Hacking Discussions and Related Certifications / Web Applications / help needed in retrieving the uploaded shell
|
on: August 26, 2011, 02:10:07 AM
|
hi guys, I have been learning some basic web-application exploitation these days, today i have been trying the basic exploitation i.e exploiting arbitrary file uploads i have been practicing this on my friends jsp web-site running with Apache-Coyote/1.1..., i had successfully uploaded the shell with a file name like this commander.jsp.%%.jpeg
but while i tried to retrieve the shell after uploading i am getting error like this The image "http://target.com/state/userregistrationimages/previewtemp/photo-1314340617178.jpg" can not be displayed,because it contains errors
Also the web-server supports the following http methods "GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS" when i check with some tools ... I would like to retrieve my uploaded shell, is it possible to do that ? Any suggestions/advice please?
|
|
|
|
|
21
|
Ethical Hacking Discussions and Related Certifications / Web Applications / Re: HTTP Response Splitting - How common?
|
on: August 24, 2011, 06:01:16 AM
|
hi maxe, After seeing your post i started to research about this vulnerability, and i can say proudly to you "IT IS STILL ALIVE" As you have said you didn't seen this on a live web-site here we go http://www.exploit-db.com/exploits/11211/
it is a old one ,i am sure it has been patched now,but it is nice to see its presence. Also go here http://www.cvedetails.com/vulnerability-list/vendor_id-45/product_id-66/version_id-15944/Apache-Http-Server-2.0.52.html
look at the 20 th one and they have mention about "HTTP Request Smuggling",it looks like similar to the attack type you had said TBH as i am not a expert in this i would like to ask some questions on this ? Does HTTP request smuggling and HTTP response splitting are the same one? And reading your post and my recent interest about the http headers,methods and attacks related to that it made me curious to know in deep about the threats faced by a server when it enables methods like HEAD,OPTIONS etc... do you have any interesting documents to feed my toughts  ? if you have any please feed me,i'm hungry maxe  and it seems i touched a old dusty question , cough , cough 
|
|
|
|
|
22
|
Ethical Hacking Discussions and Related Certifications / Web Applications / Re: cross site tracing exploitation
|
on: August 23, 2011, 07:50:18 PM
|
It's just like non-persistent XSS, except it isn't a GET or POST request, instead it's the TRACE protocol, which returns any headers sent to the server by default if enabled, as this is how the TRACE protocol is meant to work. (It is recommended to have it disabled anyway.)
In other words: No, the script is just echoed back from the server and is NOT stored.
Thanks for the explanation maxe,i got it 
|
|
|
|
|
23
|
Ethical Hacking Discussions and Related Certifications / Web Applications / Re: How to find the various http methods supported by a web-server MANUALLY ?
|
on: August 23, 2011, 07:48:07 PM
|
You can also use these tools to play with: HTTP Options: http://attacks.intern0t.net/htopt/ TRACE: http://attacks.intern0t.net/xstrace/
In short, "htopt" simply sends the "OPTIONS" header for you, and keep in mind that not all servers includes this feature (request / function) for an unknown reason.
The "xstrace" program / tool, acts as a proxy between you and the target, so you can perform TRACE requests and see the result without an intercepting proxy or another tool.
i have been actively following you maxe,i have been already trying those tools from intern0t,very simple to use.... and atlast i had find it maxe but this is the only question for which i still couldn't find a firm answer for it 5)Also i would like to know,how a web-site is explicitly checking for GET or POST methods?
Also how can we identify this manually? or in other words when we are sending a request with a "Y" HTTP method to the server instead of "X" HTTP method expected by the server,how a web-server will explicitly check for this ? Also if the server allows a "Y" method instead of the "X" method(which is actually expected by the server) does it pose any serious threat to the web-server? Keep in mind, also, that the OPTION header can lie. I never trust its output and always verify things manually. I've been lied to too many times to count. Just wanted to add that tidbit.
Thanks for the information "Grendel",ill keep this in mind....
|
|
|
|
|
26
|
Ethical Hacking Discussions and Related Certifications / Web Applications / Re: cross site tracing exploitation
|
on: August 22, 2011, 10:56:01 AM
|
I had some doubts maxe  You have said when a web-site has http TRACE method enabled and the attackers sends any thing it will be echoed back Code: TRACE / HTTP/1.0 Host: target.tld Custom-header: <script>alert(0)</script>
but my doubt is the following script <script>alert(0)</script>
which we are sending will get executed on the web-server ? or just it is echoed back from the web-server with out being executed?
|
|
|
|
|
27
|
Ethical Hacking Discussions and Related Certifications / Web Applications / Re: How to find the various http methods supported by a web-server MANUALLY ?
|
on: August 22, 2011, 02:33:55 AM
|
#1 can be found in the black box testing and example section of the link you posted. The OPTIONS method will need to be enabled on the server for it to reply back with the methods that are enabled.
I tried net catting to the ports on some sites,but i didnt got the list of methods being supported by the web-servers , also it seems like you said it seems OPTIONS method are disabled on those servers,Also i had seen in some tools like accunteix are displaying what kind of methods are enabled/supported on a web-server ,how can we find this manually sir ? still looking for answers
|
|
|
|
|
28
|
Ethical Hacking Discussions and Related Certifications / Web Applications / How to find the various http methods supported by a web-server MANUALLY ?
|
on: August 21, 2011, 11:41:34 PM
|
I have been reading some Interesting articles regarding hacking the servers with HTTP methods.. I found it interesting, As far as to my knowledge i had heard there were only 8 http methods , but after reading this page (pardon me i am beginner to this web-sec  ) https://www.owasp.org/index.php/Testing_for_HTTP_Methods_and_XST_%28OWASP-CM-008%29
I found it really interesting,they had mentioned about the usage of arbitrary http methods ,so it made interested , here are my questions: 1) how can i MANUALLY find , what are the http methods are being supported by a web-server? I tried net catting to the ports on some sites,but i didnt got the list of methods being supported by the web-servers . how can i find this manually? because i do know that tools like accunteix and some other tools can do it,but i do want to do it manually so that i can get some knowledge about how it is being done ? 2)can you guys please explain me from your experience about Arbitrary HTTP Methods ,i tought there were only 8 methods in http.i never heard about these,so i tought it would be nice to ask you guys.. 3)is it possible to compromise a web-server with a UNKNOWN HTTP method or using a HTTP method other than the 8 traditional methods ? 4)first how a web-server supports the usage of a http methods other than the specified 8 methods in the rfc ?can any 1 explain me ? 5)Also i would like to know,how a web-site is explicitly checking for GET or POST methods? Also how can we identify this manually? Sorry guys,i think i had asked too much of questions,but as i don't have deep knowledge about these things,i tought it would be better to ask here, hope my doubts will be get cleared...
|
|
|
|
|
29
|
Ethical Hacking Discussions and Related Certifications / Other / [Student seeking advice]Got stucked,how should i begin my security carrier?
|
on: March 17, 2011, 08:45:40 PM
|
well i am just a final year b.tech student, I love this computer field for the past 2-2.5 years, my studies are going to over in the next 90 days,As people like you i too have a dream of getting a job in the security field,but i got strucked at choosing my path,so i toghut it would be best to ask some suggestions from the experienced members here. my ambition is to go in to the IT security(mostly i am interested in network security and i got a lot of interest in web-application security) field,and i had decided not to concern about my concern salary in the first 1-2 years,I just need to learn and get experienced in my field, when i asked for some suggestions to some of my real life friends they said, "go and get a CCNA certiifcation and then try to find a basic job like a "technical support" in a company,and after working a while get in to the network management team and work for some time(may be 1-2 years) and after you worked and earned some years of experience in the field,then you can try to get in to the IT security field ,because companies expect some kind of working experience beyond your certifications and skills." i am bit confused here,i don't know how to begin my security carrier? i am caught in a dliema,can i have some of your advice?  Like me many of todays security gurus were in the dilema during your college days,i believe advice from the experienced persons will surely help to choose my carrier 
|
|
|
|
|
Loading...
|