how to hack a siemens hi-path
Back in Febuary our Siemens Hi-Path got hacked. The attacker was dialing in, then abusing a function in the voicemail module and dialing back out again. After analysing the logs and a couple of hours of playing I managed to reproduce attack. Here's how it was done:
Two default settings enabled the attack:
- The default mailbox PIN is 1234. Unless this has been changed an attacker can get full access to the mailbox including changing configuration settings.
- The subsitution feature allows you, once you have been connected to a mailbox to press '0' and be connected to the operator. This number is easily re-defined by the mailbox owner to a number of their choosing.
The full attack:
- Dial the DDI of a voicemail-enabled line, wait to be connected the mailbox.
- Press '*' to login, using the default PIN above.
- Press '3' repeatedly until you get to the change subsitution setting.
- Set it to '9'(outside line)+the number you want to call.
- Hang up.
- Call the DDI again.
- Press '0'.
- You are now connected to the number you defined above.
Disabling the subsitution feature in the Hi-Path Manager and enforcing regular PIN changes nicely closes both vectors.