- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Portmapper port 111 vulnerability
Operating System - HP-UX
1825088
Members
4676
Online
109679
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2008 12:37 PM
тАО02-28-2008 12:37 PM
Portmapper port 111 vulnerability
Hi,
I try to close the port 111 on /etc/services files, because an analisys of vulnerability report as vulnerable, how ever, I put the # character at begining of the line in /etc/services, but the vulnerability analisys continues reporting as open port or service.
How can I close this service or port?
I try to close the port 111 on /etc/services files, because an analisys of vulnerability report as vulnerable, how ever, I put the # character at begining of the line in /etc/services, but the vulnerability analisys continues reporting as open port or service.
How can I close this service or port?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2008 12:45 PM
тАО02-28-2008 12:45 PM
Re: Portmapper port 111 vulnerability
use netstat -an |grep 111 to check if the port is in use.
use lsof -i |grep 111 to identify the PID of the process that's using the port, review / stop /kill the PID and comment the entry in /etc/services for denying it to be used in the future.
Cheers
use lsof -i |grep 111 to identify the PID of the process that's using the port, review / stop /kill the PID and comment the entry in /etc/services for denying it to be used in the future.
Cheers
There is always something new to learn everyday !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2008 06:34 PM
тАО02-28-2008 06:34 PM
Re: Portmapper port 111 vulnerability
Commenting out a port name in /etc/services does not disable any ports. The /etc/services file is a look-up table (just like /etc/hosts) that converts port numbers to service names.
The service that listens in port 111 is the rpcbind service. You can see it with "rpcinfo -p".
Now this service is needed by NFS and NIS and if you turn it off it will affect those services. If you don't use NFS or NIS then you can turn off rpcbind by turning off those services.
If you need NFS/NIS then you must have rpcbind running. You can limit what servers can connect to your rpc service by putting "allow" entries in the /var/adm/inetd.sec file for those servers/IPaddresses that are allowed to connect to your server.
You don't always have to turn off everything that a vulnerability report shows as long as you justify the need and narrow down the connectivity field.
The service that listens in port 111 is the rpcbind service. You can see it with "rpcinfo -p".
Now this service is needed by NFS and NIS and if you turn it off it will affect those services. If you don't use NFS or NIS then you can turn off rpcbind by turning off those services.
If you need NFS/NIS then you must have rpcbind running. You can limit what servers can connect to your rpc service by putting "allow" entries in the /var/adm/inetd.sec file for those servers/IPaddresses that are allowed to connect to your server.
You don't always have to turn off everything that a vulnerability report shows as long as you justify the need and narrow down the connectivity field.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP