Identifying Potential Vulnerabilities in Hosted Web Servers | Exam SY0-601: CompTIA Security+

The Best Way to Identify Potential Vulnerabilities in Hosted Web Servers

Prev Question Next Question

Question

An organization is concerned that its hosted web servers are not running the most updated version of the software.

Which of the following would work BEST to help identify potential vulnerabilities?

A.

hping3 "S comptia.org "p 80 B.

nc "l "v comptia.org "p 80 C.

nmap comptia.org "p 80 "sV D.

nslookup "port=80 comptia.org.

C.

Explanations

An organization is concerned that its hosted web servers are not running the most updated version of the software.

Which of the following would work BEST to help identify potential vulnerabilities?

A.

hping3 "S comptia.org "p 80

B.

nc "l "v comptia.org "p 80

C.

nmap comptia.org "p 80 "sV

D.

nslookup "port=80 comptia.org.

C.

The best option for identifying potential vulnerabilities on a hosted web server that is not running the most updated software is option C: nmap comptia.org "p 80 "sV.

Explanation: A. hping3 "S comptia.org "p 80 - This command uses hping3 to send a SYN packet to port 80 on the specified host (comptia.org). While this may help identify if the port is open or not, it will not provide information about potential vulnerabilities.

B. nc "l "v comptia.org "p 80 - This command uses netcat to listen (-l) on port 80 on the specified host (comptia.org). Again, while this may help identify if the port is open or not, it will not provide information about potential vulnerabilities.

C. nmap comptia.org "p 80 "sV - This command uses nmap to scan port 80 on the specified host (comptia.org) and enables version detection (-sV) to determine what software is running on the server. This can help identify if the software is outdated and potentially vulnerable.

D. nslookup "port=80 comptia.org - This command uses nslookup to query the DNS for the specified host (comptia.org) and port 80. While this may provide some information about the host and port, it will not provide information about potential vulnerabilities.

In summary, option C is the best choice as it uses nmap with version detection to help identify potential vulnerabilities on the hosted web server.