Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Perimeter

3/20/2013
03:04 PM
Larry Seltzer
Larry Seltzer
Commentary
Connect Directly
Twitter
Facebook
Google+
LinkedIn
RSS
E-Mail
50%
50%

Cisco Reports Some IOS Passwords Weakly Hashed

Type 4 plain-text user passwords on Cisco IOS and Cisco IOS XE devices are hashed not according to spec, but with no salt and just one SHA-256 iteration. Working around the problem can be clumsy

Type 4 passwords on some Cisco IOS and IOS XE devices are not hashed as advertised, leaving them weak and vulnerable, according to a security advisory released by Cisco.

The design of Type 4 passwords called for use of the Password-Based Key Derivation Function version 2 (PBKDF2), as described in RFC 2898 section 5.2 (the Cisco advisory erroneously says section 5.1). The implementation takes a user-supplied plain-text password. It should use SHA-256, an 80-bit salt (generated by a cryptographically secure random number generator), and 1,000 iterations of the hash algorithm. The actual implementation uses SHA-256, no salt, and one iteration.

As Cisco says, this makes such passwords more easily vulnerable to brute force attacks.

Only devices with these three features enabled are vulnerable: support for Type 4 passwords, the "enable secret ," and the "username secret " command. The advisory includes instructions for determining whether your router is so configured and whether you have any passwords using the flawed implementation.

The suggested workaround is to replace the passwords with Type 5 passwords. A device with the Type 4 password bug is unable to generate Type 5 passwords from plain-text input. The advisory suggests either using a different device or OpenSSL, describing the process for doing so as well as the process for copying the generated password to the device.

Cisco plans to deprecate Type 4 passwords by removing the ability to generate them in future versions of IOS and IOS XE. The need to maintain compatibility with the existing flawed implementation precludes simply fixing it. They will abandon an earlier plan to deprecate Type 5 passwords and create a new password type to implement (correctly) the original design for Type 4.

Cisco credits Philipp Schmidt and Jens Steube from the Hashcat Project with discovery of the issue.

Larry Seltzer is the editorial director for BYTE, Dark Reading, and Network Computing.

Have a comment on this story? Please click "Discuss" below. If you'd like to contact Dark Reading's editors directly, send us a message.

Follow Larry Seltzer and BYTE on Twitter, Facebook, LinkedIn, and Google+: - @lseltzer @BYTE - Larry Seltzer BYTE - Larry Seltzer on LinkedIn BYTE - Larry Seltzer on Google+ View Full Bio

 

Recommended Reading:

Comment  | 
Print  | 
More Insights
Comments
Oldest First  |  Newest First  |  Threaded View
Larry Seltzer - UBM Tech
50%
50%
Larry Seltzer - UBM Tech,
User Rank: Apprentice
3/21/2013 | 2:27:09 PM
re: Cisco Reports Some IOS Passwords Weakly Hashed
Does anyone else find it odd that, as Cisco tells it in the advisory, Type 5 passwords preceded Type 4 passwords? I asked Cisco and they haven't got back to me.
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
Special Report: Computing's New Normal, a Dark Reading Perspective
This special report examines how IT security organizations have adapted to the "new normal" of computing and what the long-term effects will be. Read it and get a unique set of perspectives on issues ranging from new threats & vulnerabilities as a result of remote working to how enterprise security strategy will be affected long term.
Flash Poll
The Threat from the Internetand What Your Organization Can Do About It
The Threat from the Internetand What Your Organization Can Do About It
This report describes some of the latest attacks and threats emanating from the Internet, as well as advice and tips on how your organization can mitigate those threats before they affect your business. Download it today!
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-5615
PUBLISHED: 2020-08-04
Cross-site request forgery (CSRF) vulnerability in [Calendar01] free edition ver1.0.0 and [Calendar02] free edition ver1.0.0 allows remote attackers to hijack the authentication of administrators via unspecified vectors.
CVE-2020-5616
PUBLISHED: 2020-08-04
[Calendar01], [Calendar02], [PKOBO-News01], [PKOBO-vote01], [Telop01], [Gallery01], [CalendarForm01], and [Link01] [Calendar01] free edition ver1.0.0, [Calendar02] free edition ver1.0.0, [PKOBO-News01] free edition ver1.0.3 and earlier, [PKOBO-vote01] free edition ver1.0.1 and earlier, [Telop01] fre...
CVE-2020-5617
PUBLISHED: 2020-08-04
Privilege escalation vulnerability in SKYSEA Client View Ver.12.200.12n to 15.210.05f allows an attacker to obtain unauthorized privileges and modify/obtain sensitive information or perform unintended operations via unspecified vectors.
CVE-2020-11583
PUBLISHED: 2020-08-03
A GET-based XSS reflected vulnerability in Plesk Obsidian 18.0.17 allows remote unauthenticated users to inject arbitrary JavaScript, HTML, or CSS via a GET parameter.
CVE-2020-11584
PUBLISHED: 2020-08-03
A GET-based XSS reflected vulnerability in Plesk Onyx 17.8.11 allows remote unauthenticated users to inject arbitrary JavaScript, HTML, or CSS via a GET parameter.