SNMP credential storage

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
twinkiman
Posts: 10
Joined: Mon Mar 17, 2014 2:33 pm

SNMP credential storage

Post by twinkiman »

I was digging around in the cacti database and discovered that the SNMP v3 credentials and v2 community strings are stored in the database as plaintext. This raises a yellow flag to me because I consider that information as confidential as a local user account. In a perfect world, these credentials would restrict access with read-only permissions and limited views. However, I don't believe all my device administrators went to that effort all the time. Is there a way to encrypt this information at rest?
User avatar
Linegod
Developer
Posts: 1626
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

Re: SNMP credential storage

Post by Linegod »

These are communitystrings, not passwords. They are stored in plain text on the devices you communicate with.

Storing them encrypted would just mean decrypting them to send them out in their original format.
--
Live fast, die young
You're sucking up my bandwidth.

J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
twinkiman
Posts: 10
Joined: Mon Mar 17, 2014 2:33 pm

Re: SNMP credential storage

Post by twinkiman »

With v2 community strings I agree. However with v3 Auth/Priv, those arn't both sent in the clear to the best of my understanding. On our switches for instance, I know the v3 credentials are encrypted at rest.
User avatar
Linegod
Developer
Posts: 1626
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

Re: SNMP credential storage

Post by Linegod »

I misspoke when I said they where stored in plain text in v3 on the device.

However, they are sent to snmpwalk/snmpget in plain text, and hashed prior to transport. AFAIK, they cannot be sent as MD5 directly to snmpwalk, so they have to be stored in plain text.
--
Live fast, die young
You're sucking up my bandwidth.

J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests