I've taken a pen-testing course and for the final certificate, I have to analyze a server and make a report regarding the vulnerabilities. The server does multiple functionalities, It acts as a web application server ( as I can connect through ports 80 and 8080 to access two different web applications ), as well as a database server (through the web apps I can run queries and get data that are stored on the same server). Data are fed to it through a cat5 cable and server apps are managed remotely .
After running a full Nmap I was anticipating to see some ports regarding mysql database but all I found was :
The detected ports from a full Nmap scan :
PORT STATE SERVICE
80/tcp open http
8009/tcp open ajp13
8080/tcp open http-proxy
8140/tcp open puppet
9100/tcp open jetdirect
what I undrestood so far :
- port
80
,8080
are for web apps one uses Html and the other Apache Tomcat server. - port
8140
for managing the apps remotely (puppet) - port
8009
optimized version of the HTTP protocol to allow a standalone web server such as Apache to talk to Tomcat - port
9100
for printing device connected to the server
The server acts as a database server , because through the apps I can run queries and get data
shouldn't be any open port such as mysql 3306
? Is it possible that ther is a port but Nmap
was not able to detect it?
If i missundrestood something I would be thankful if anyone sheds some light on it.
socat
is a tool that can help with that.socat
can be used in that regards ?