Port 80,443/tcp - HTTP

It is a brief methodology to use in front of web applications.

Scanning

First of all we need to scan the ports and use some enumerating tools such as nmap, nikto or davtest.

Nmap

Search for vulns:

nmap -p 80,443 -sV -sC --script=http-vuln* 10.10.10.10

Search for info:

nmap -p 80,443 -sV -sC 10.10.10.10

Nikto

Nikto is a free software command-line vulnerability scanner that scans webservers for dangerous files/CGIs.

nikto -host 10.10.10.10:80

Davtest

DAVTest tests WebDAV enabled servers by uploading test executable files, and then (optionally) uploading files which allow for command execution or other actions directly on the target.

davtest --url http://10.10.10.10

Fuzzing

In the world of cybersecurity, fuzz testing (or fuzzing) is an automated software testing technique that attempts to find hackable software bugs by randomly feeding invalid and unexpected inputs and data into a computer program in order to find coding errors and security loopholes.

This technique is also used to discover new web content such as directories, files or parameters. There are many different tools that could help us to do fuzzing in web applications (wfuzz, ffuf, dirb, dirbuster...). But I'm going to use wfuzz and ffuf.

Directory Fuzzing

Wordlist:

Note: IIS server is non-case sensitive

Command:

Vhost Fuzzing

Wordlists:

Command for different hosts:

Command for the same host:

Parameter Fuzzing

Wordlist:

GET

POST

Default Installation Routes

These are some default installation routes of Linux and Windows webservers.

Linux

Windows

Common Vulnerabilities

Follow the next link to visit the section where show how to exploit multiple web vulnerabilities.

https://github.com/mvc1009/hackingarticles/blob/master/services/broken-reference/README.md

Last updated

Was this helpful?