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
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

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest 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.
News
FluBot Malware's Rapid Spread May Soon Hit US Phones
Kelly Sheridan, Staff Editor, Dark Reading,  4/28/2021
Slideshows
7 Modern-Day Cybersecurity Realities
Steve Zurier, Contributing Writer,  4/30/2021
Commentary
How to Secure Employees' Home Wi-Fi Networks
Bert Kashyap, CEO and Co-Founder at SecureW2,  4/28/2021
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
2021 Top Enterprise IT Trends
We've identified the key trends that are poised to impact the IT landscape in 2021. Find out why they're important and how they will affect you today!
Flash Poll
How Enterprises are Developing Secure Applications
How Enterprises are Developing Secure Applications
Recent breaches of third-party apps are driving many organizations to think harder about the security of their off-the-shelf software as they continue to move left in secure software development practices.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2021-22677
PUBLISHED: 2021-05-07
An integer overflow exists in the APIs of the host MCU while trying to connect to a WIFI network may lead to issues such as a denial-of-service condition or code execution on the SimpleLink Wi-Fi (MSP432E4 SDK: v4.20.00.12 and prior, CC32XX SDK v4.30.00.06 and prior, CC13X0 SDK versions prior to v4....
CVE-2021-29495
PUBLISHED: 2021-05-07
Nim is a statically typed compiled systems programming language. In Nim standard library before 1.4.2, httpClient SSL/TLS certificate verification was disabled by default. Users can upgrade to version 1.4.2 to receive a patch or, as a workaround, set "verifyMode = CVerifyPeer" as documente...
CVE-2020-4901
PUBLISHED: 2021-05-07
IBM Robotic Process Automation with Automation Anywhere 11.0 could allow an attacker on the network to obtain sensitive information or cause a denial of service through username enumeration. IBM X-Force ID: 190992.
CVE-2021-21419
PUBLISHED: 2021-05-07
Eventlet is a concurrent networking library for Python. A websocket peer may exhaust memory on Eventlet side by sending very large websocket frames. Malicious peer may exhaust memory on Eventlet side by sending highly compressed data frame. A patch in version 0.31.0 restricts websocket frame to reas...
CVE-2021-27437
PUBLISHED: 2021-05-07
The affected product allows attackers to obtain sensitive information from the WISE-PaaS dashboard. The system contains a hard-coded administrator username and password that can be used to query Grafana APIs. Authentication is not required for exploitation on the WISE-PaaS/RMM (versions prior to 9.0...